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, destination image format for JPEGD; meaningless for VDEC. For the supported destination image formats, see JPEGD Functions and Restrictions.

compress_mode

Int, compression mode.