Skip to main content

hi_tde_none_src

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_clutCLUT是否在YCbCr空间中。Atlas 200/500 A2推理产品不支持。
alpha_max_is_255alpha最大值是128还是255。Atlas 200/500 A2推理产品不支持。
support_alpha_ex_1555ARGB1555位图中是否支持alpha扩展。Atlas 200/500 A2推理产品不支持。
alpha0alpha0,用于ARGB1555 format。Atlas 200/500 A2推理产品不支持。
alpha1alpha1,用于ARGB1555 format。Atlas 200/500 A2推理产品不支持。
cbcr_phys_addrCbCr分量的地址。Atlas 200/500 A2推理产品不支持。
cbcr_phys_lenCbCr分量的地址长度。Atlas 200/500 A2推理产品不支持。
cbcr_strideCbCr分量的步长。Atlas 200/500 A2推理产品不支持。
clut_phys_addrClut表的地址。Atlas 200/500 A2推理产品不支持。
clut_phys_lenClut表的地址长度。Atlas 200/500 A2推理产品不支持。

父主题: TDE图形绘制

hi_tde_rect

说明

矩形信息结构体。

定义

typedef struct {
hi_s32 pos_x;
hi_s32 pos_y;
hi_u32 width;
hi_u32 height;
} hi_tde_rect;

成员

成员名称描述
pos_x水平坐标。
pos_y垂直坐标。
width宽度。
height高度。

父主题: TDE图形绘制

hi_tde_none_src

说明

无源位图操作区域位图信息结构体,当前在快速填充功能中作为入参使用。

定义

typedef struct {
hi_tde_surface *dst_surface;
hi_tde_rect *dst_rect;
} hi_tde_none_src;

成员

成员名称描述
dst_surface目标位图。
dst_rect目标位图操作区域。

父主题: TDE图形绘制

hi_tde_single_src

说明

单源位图区域信息和目标位图区域信息结构体,当前在快速拷贝功能中作为入参使用。

定义

typedef struct {
hi_tde_surface *src_surface;
hi_tde_surface *dst_surface;
hi_tde_rect *src_rect;
hi_tde_rect *dst_rect;
} hi_tde_single_src;

成员

成员名称描述
src_surface源位图。
dst_surface目标位图。
src_rect源位图操作区域。
dst_rect目标位图操作区域。

父主题: TDE图形绘制

hi_tde_double_src

说明

双源位图区域信息和目标位图区域信息结构体,当前在模式填充中使用。

定义

typedef struct {
hi_tde_surface *bg_surface;
hi_tde_surface *fg_surface;
hi_tde_surface *dst_surface;
hi_tde_rect *bg_rect;
hi_tde_rect *fg_rect;
hi_tde_rect *dst_rect;
} hi_tde_double_src;

成员

成员名称描述
bg_surface背景位图。
fg_surface前景位图。
dst_surface目标位图。
bg_rect背景位图操作区域。
fg_rect前景位图操作区域。
dst_rect目标位图操作区域。

父主题: TDE图形绘制

hi_tde_fill_color

说明

填充颜色信息结构体。

定义

typedef struct {
hi_tde_color_format color_format;
hi_u32 color_value;
} hi_tde_fill_color;

成员

成员名称描述
color_format颜色格式。
color_value颜色数据。

父主题: TDE图形绘制

在线提单