|
SemiDrive SSDK Appication Program Interface PTG3.0
|
#include <g2dlite.h>
Data Fields | |
| u8 | layer |
| u8 | layer_en |
| u32 | fmt |
| u32 | zorder |
| struct rect_t | src |
| u64 | addr [4] |
| u32 | src_stride [4] |
| struct rect_t | dst |
| u32 | blend |
| u8 | alpha |
| struct ckey_t | ckey |
| struct rle_t | rle |
| struct clut_t | clut |
| PD_LAYER_TYPE | pd_type |
| u64 addr[4] |
input image memory address, correspinding to YUVA four-component address respectively
| u8 alpha |
layer global alpha value, range:0~0xff
| u32 blend |
image component mode selection
| struct ckey_t ckey |
color kay related configuration parameters
| struct clut_t clut |
Color LookUp Table related configuration parameters
| struct rect_t dst |
the dst point coordinates of the processed image in the canvas
| u32 fmt |
input image format
| u8 layer |
layer identifier used to select the hardware layer(0: layer, 1: layer1)
| u8 layer_en |
the layer enables identifiction, and the input layer information is processed only if this value is true
| PD_LAYER_TYPE pd_type |
Porter-duff layer type
| struct rle_t rle |
RLE related configuration parameters
| struct rect_t src |
the starting point coordinates of the processed image in the original image
| u32 src_stride[4] |
image component pitch value
| u32 zorder |
layer stacking order(layer with higher values above)