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. Not supported by the Atlas 200I/500 A2 inference products.

alpha_max_is_255

Whether the maximum alpha value is 128 or 255. Not supported by the Atlas 200I/500 A2 inference products.

support_alpha_ex_1555

Whether the ARGB1555 bitmap supports alpha extension. Not supported by the Atlas 200I/500 A2 inference products.

alpha0

alpha0 for the ARGB1555 format. Not supported by the Atlas 200I/500 A2 inference products.

alpha1

alpha1 for the ARGB1555 format. Not supported by the Atlas 200I/500 A2 inference products.

cbcr_phys_addr

Address of the CbCr component. Not supported by the Atlas 200I/500 A2 inference products.

cbcr_phys_len

Address length of the CbCr component. Not supported by the Atlas 200I/500 A2 inference products.

cbcr_stride

Step of the CbCr component. Not supported by the Atlas 200I/500 A2 inference products.

clut_phys_addr

CLUT address. Not supported by the Atlas 200I/500 A2 inference products.

clut_phys_len

CLUT address length. Not supported by the Atlas 200I/500 A2 inference products.