hi_map_param

Description

Original map information of a user.

Prototype

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}

Members

Member

Description

map1

Int, 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

Int, 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

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

src_pic_width

Int, width of the input image corresponding to the map.

src_pic_height

Int, height of the input image corresponding to the map.

dest_pic_width

Int, width of the output image corresponding to the map.

dest_pic_height

Int, height of the output image corresponding to the map.

reserved

Int, reserved. Do not explicitly access the reserved field in the code.