hi_img_base_info

Function

Defines the basic image information.

Definition

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

For details about basic data types hi_u32 and hi_u64, see Basic Data Types.

Members

Member

Description

width

Image width.

height

Image height.

pixel_format

Image format. For details, see hi_pixel_format.

reserved

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