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字段进行访问。