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

Destination image format for JPEGD; meaningless for VDEC. For the supported destination image formats, see JPEGD Functions and Restrictions.

compress_mode

Compression mode.