hi_pic_buf_attr

Description

Defines the image buffer information.

Prototype

hi_pic_buf_attr = {"width": width,
                   "height": height,
                   "align": align,
                   "bit_width": hi_data_bit_width,
                   "pixel_format": hi_pixel_format,
                   "compress_mode": hi_compress_mode}

Members

Member

Description

width

Int, image width.

height

Int, image height.

align

Int, alignment parameter. Reserved.

bit_width

Int, image bit width.

pixel_format

Int, 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

Int, compression mode.