文档
注册

hi_img_info

说明

定义图片信息的字典。

定义

hi_img_info = {"width": width,
               "height": height,
               "width_stride": width_stride,
               "height_stride": height_stride,
               "img_buf_size": img_buf_size,
               "pixel_format": hi_jpeg_raw_format/hi_png_color_format,
               "reserved": [4]}

成员

成员名称

描述

width

整型,图片宽。

height

整型,图片高。

width_stride

整型,图片宽stride。

height_stride

整型,图片高stride。

img_buf_size

整型,存放图片的内存大小,单位是byte。

pixel_format

整型,图片格式。

reserved

预留参数,为保证后续版本兼容性,请务必使用memset结构体方式进行清零初始化,在代码中必须避免显示对reserved字段进行访问。

搜索结果
找到“0”个结果

当前产品无相关内容

未找到相关内容,请尝试其他搜索词