hi_map_param
hi_map_param
说明
用户原始map表信息。
定义
hi_map_param = {"map1": map1,
"map2": map2,
"map_size": map_size,
"src_pic_width": src_pic_width,
"src_pic_height": src_pic_height,
"dest_pic_width": dest_pic_width,
"dest_pic_height": dest_pic_height,
"reserved": reserved}
成员
| 成员名称 | 描述 |
|---|---|
| map1 | 整型,Remap变换使用的map1表, 表示(x,y)坐标的x,类型为hi_float, 大小为: dest_pic_width * dest_pic_height *sizeof(hi_float) |
| map2 | 整型,Remap变换使用的map2表, 表示(x,y)坐标的y,类型为hi_float, 大小为: dest_pic_width * dest_pic_height *sizeof(hi_float) |
| map_size | 整型,map1或map2的内存大小,map1表和map2表的内存大小一样,单位Byte。 |
| src_pic_width | 整型,map表对应的输入图片的宽度。 |
| src_pic_height | 整型,map表对应的输入图片的高度。 |
| dest_pic_width | 整型,map表对应的输出图像的宽度。 |
| dest_pic_height | 整型,map表对应的输出图像的高度。 |
| reserved | 整型,预留参数,在代码中必须避免显式对reserved字段进行访问。 |
父主题: 图像处理
hi_pngd_chn_attr
说明
定义PNGD解码通道属性字典。
定义
hi_pngd_chn_attr = {"stream_que_cnt": stream_que_cnt, "reserved": reserved[4]}
成员
| 成员名称 | 描述 |
|---|---|
| stream_que_cnt | 整型,PNGD图片缓存队列大小。预留参数。 |
| reserved | 列表,预留参数,在代码中必须避免显示对reserved字段进行访问。 |
父主题: PNGD图像解码
hi_img_stream
说明
定义图片码流信息。
定义
hi_img_stream = {"type":hi_payload_type, "addr": addr, "len": len, "pts": pts, "reserved": reserved[2]}
成员
| 成员名称 | 描述 |
|---|---|
| type | 整型,图片类型。 |
| addr | 整型,图片在内存中的起始虚拟地址。 |
| len | 整型,存放图片的内存大小,单位Byte。 |
| pts | 整型,图片时戳,预留参数。 |
| reserved | 预留参数,在代码中必须避免显示对reserved字段进行访问。 |
父主题: PNGD图像解码
hi_pic_info
说明
定义图片信息。
定义
hi_pic_info = {"picture_address": picture_address,
"picture_buffer_size": picture_buffer_size,
"picture_width": picture_width,
"picture_height": picture_height,
"picture_width_stride": picture_width_stride,
"picture_height_stride": picture_height_stride,
"picture_format": hi_pixel_format}
成员
| 成员名称 | 描述 |
|---|---|
| picture_address | 整型,图片在Device内存中的起始虚拟地址。 |
| picture_buffer_size | 整型,存放图片的内存大小,单位Byte。 |
| picture_width | 整型,图片宽。 |
| picture_height | 整型,图片高。 |
| picture_width_stride | 整型,图片宽stride。 |
| picture_height_stride | 整型,图片高stride。 |
| picture_format | 整型,图片格式。 |
父主题: PNGD图像解码
在线提单