hi_pic_buf_attr

Description

Defines the image buffer information.

Prototype

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;

Members

Member

Description

width

Image width.

height

Image height.

align

Alignment parameter. Reserved.

bit_width

Image bit width.

pixel_format

Image 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.