hi_img_base_info

Description

Defines basic image information.

Prototype

typedef struct {
    hi_u32 width;
    hi_u32 height;
    hi_pixel_format pixel_format;
    hi_u64 reserved[2];
} hi_img_base_info;

Members

Member

Description

width

Image width.

height

Image height.

pixel_format

Image format.

reserved

Reserved. To ensure compatibility in later versions, use the memset struct for resetting and initialization. Do not explicitly access the reserved field in the code.