MT2523 API Reference  LinkIt SDK v4
hal_display_lcd_layer_input_t Struct Reference

This event structure presents the input layer parameters. More...

#include <hal_display_lcd.h>

Data Fields

uint8_t layer_enable
 The number of the layer to be updated. More...
 
uint8_t alpha
 Configure alpha blending. More...
 
bool alpha_flag
 Enable or disable the alpha blending. More...
 
hal_display_lcd_layer_rotate_t rotate
 Layer rotation degree. More...
 
bool source_key_flag
 Enable or disable the source key. More...
 
bool rgb_swap_flag
 Enable or disable the RGB swap. More...
 
bool byte_swap_flag
 Enable or disable the byte swap. More...
 
bool dither_flag
 Enable or disable the dithering function. More...
 
hal_display_lcd_layer_source_color_format_t color_format
 Set the color format in this layer. More...
 
bool destination_key_flag
 Enable or disable the destination key. More...
 
uint32_t color_key
 Set the color key in this layer. More...
 
uint16_t window_x_offset
 The starting x coordinate of the layer buffer to update. More...
 
uint16_t window_y_offset
 The starting y coordinate of the layer buffer to update. More...
 
uint32_t buffer_address
 The start address of the layer to update. More...
 
uint16_t row_size
 The row size of output layer to update. More...
 
uint16_t column_size
 The column size of output layer to update. More...
 
uint16_t pitch
 The pitch of output layer to update. More...
 

Detailed Description

This event structure presents the input layer parameters.

The coordinate relationship between different layers is shown below:

hal_display_lcd_layer_coordinate.png

The pixel data format with RGB color swap and byte swap is shown below:

hal_display_lcd_RGB_BYTE_swap.png

Field Documentation

uint8_t alpha

Configure alpha blending.

bool alpha_flag

Enable or disable the alpha blending.

uint32_t buffer_address

The start address of the layer to update.

bool byte_swap_flag

Enable or disable the byte swap.

Set the color format in this layer.

uint32_t color_key

Set the color key in this layer.

uint16_t column_size

The column size of output layer to update.

bool destination_key_flag

Enable or disable the destination key.

bool dither_flag

Enable or disable the dithering function.

uint8_t layer_enable

The number of the layer to be updated.

uint16_t pitch

The pitch of output layer to update.

bool rgb_swap_flag

Enable or disable the RGB swap.

Layer rotation degree.

uint16_t row_size

The row size of output layer to update.

bool source_key_flag

Enable or disable the source key.

uint16_t window_x_offset

The starting x coordinate of the layer buffer to update.

uint16_t window_y_offset

The starting y coordinate of the layer buffer to update.


The documentation for this struct was generated from the following file: