hi_tde_surface
Description
Defines the bitmap information.
Prototype
typedef struct {
hi_u64 phys_addr;
hi_u32 phys_len;
hi_tde_color_format color_format;
hi_u32 height;
hi_u32 width;
hi_u32 stride;
hi_bool is_ycbcr_clut;
hi_bool alpha_max_is_255;
hi_u8 alpha0;
hi_u8 alpha1;
hi_u64 cbcr_phys_addr;
hi_u32 cbcr_phys_len;
hi_u32 cbcr_stride;
hi_u64 clut_phys_addr;
hi_u32 clut_phys_len;
} hi_tde_surface;
Members
Member |
Description |
|---|---|
phys_addr |
Start address of the bitmap or Y component. |
phys_len |
Length of the physical address. |
color_format |
Color format. |
height |
Bitmap height. |
width |
Bitmap width. |
stride |
Step of the bitmap or Y component. |
is_ycbcr_clut |
Whether the CLUT is in the YCbCr space. |
alpha_max_is_255 |
Whether the maximum alpha value is 128 or 255. |
support_alpha_ex_1555 |
Whether the ARGB1555 bitmap supports alpha extension. |
alpha0 |
alpha0 for the ARGB1555 format. |
alpha1 |
alpha1 for the ARGB1555 format. |
cbcr_phys_addr |
Address of the CbCr component. |
cbcr_phys_len |
Address length of the CbCr component. |
cbcr_stride |
Step of the CbCr component. |
clut_phys_addr |
CLUT address. |
clut_phys_len |
CLUT address length. |
Parent topic: TDE Graphics Drawing