hi_map_param

Description

Defines the original map information of a user.

Prototype

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;

Members

Member

Description

map1

map1 used for remapping, indicating the x-coordinate. The type is hi_float, and the size is dest_pic_width x dest_pic_height x sizeof(hi_float).

map2

map2 used for remapping, indicating the y-coordinate. The type is hi_float, and the size is dest_pic_width x dest_pic_height x sizeof(hi_float).

map_size

Memory size of map1 or map2, in bytes. The memory size of map1 is the same as that of map2.

src_pic_width

Width of the input image corresponding to the map.

src_pic_height

Height of the input image corresponding to the map.

dest_pic_width

Width of the output image corresponding to the map.

dest_pic_height

Height of the output image corresponding to the map.

reseverd

This parameter is reserved and must be set to 0 to ensure compatibility in later versions.