hi_tde_surface
说明
位图信息结构体。
定义
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;
成员
成员名称 |
描述 |
|---|---|
phys_addr |
位图或Y分量的起始地址。 |
phys_len |
物理地址长度。 |
color_format |
颜色格式。 |
height |
位图高度。 |
width |
位图宽度。 |
stride |
位图或Y分量的步长。 |
is_ycbcr_clut |
CLUT是否在YCbCr空间中。 |
alpha_max_is_255 |
alpha最大值是128还是255。 |
support_alpha_ex_1555 |
ARGB1555位图中是否支持alpha扩展。 |
alpha0 |
alpha0,用于ARGB1555 format。 |
alpha1 |
alpha1,用于ARGB1555 format。 |
cbcr_phys_addr |
CbCr分量的地址。 |
cbcr_phys_len |
CbCr分量的地址长度。 |
cbcr_stride |
CbCr分量的步长。 |
clut_phys_addr |
Clut表的地址。 |
clut_phys_len |
Clut表的地址长度。 |
父主题: TDE图形绘制