hi_pic_buf_attr

Function

Defines the image buffer information.

Definition

typedef struct {
    hi_u32 width;
    hi_u32 height;
    hi_u32 align;
    hi_data_bit_width bit_width;
    hi_pixel_format pixel_format;
    hi_compress_mode compress_mode;
} hi_pic_buf_attr;

For details about basic data type hi_u32, see Basic Data Types.

Members

Member

Description

width

Image width.

height

Image height.

align

Alignment parameter. Reserved.

bit_width

Image bit width. For details, see hi_data_bit_width.

pixel_format

Image format. For details, see hi_pixel_format.

This member indicates the output image format for JPEGD, while it has not been supported for VDEC. For the supported output image formats, see JPEGD Functions and Restrictions.

compress_mode

Compression mode. For details, see hi_compress_mode.