hi_pic_buf_attr
说明
定义图片缓冲区信息的字典。
定义
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}
成员
成员名称 |
描述 |
---|---|
width |
整型,图片宽。 |
height |
整型,图片高。 |
align |
整型,对齐参数,预留参数,暂不支持。 |
bit_width |
整型,图片位宽。 |
pixel_format |
整型,图片格式。VDEC视频解码时,暂不使用该参数;JPEGD图像解码时,表示解码输出图像格式,当前支持的输出图像格式请参见JPEGD功能及约束说明。 |
compress_mode |
整型,压缩模式。 |
父主题: 公共