定义用户原始map表信息的结构体。
typedef struct { hi_void *map1; hi_void *map2; hi_u32 map_size; hi_u32 src_pic_width; hi_u32 src_pic_height; hi_u32 dest_pic_width; hi_u32 dest_pic_height; hi_u64 reserved; } hi_map_param;
成员名称 |
描述 |
---|---|
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表对应的输出图像的高度。 |
reseverd |
保留字段,为保证后续版本的兼容,使用时必须要设置为0。 |