hi_pic_info

Function

Defines the image information.

Definition

typedef struct {
    hi_void* picture_address;
    hi_u32   picture_buffer_size;
    hi_u32   picture_width;
    hi_u32   picture_height;
    hi_u32   picture_width_stride;
    hi_u32   picture_height_stride;
    hi_pixel_format picture_format;
} hi_pic_info;

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

Members

Member

Description

picture_address

Start virtual address of an image in the device memory.

picture_buffer_size

Image buffer size, in bytes.

picture_width

Image width.

picture_height

Image height.

picture_width_stride

Image width stride.

picture_height_stride

Image height stride.

picture_format

Image format. For details, see hi_pixel_format.