hi_remap_lut

Description

Defines the information about the pixel position remapping LUT.

Prototype

hi_remap_lut = {"src_pic_width": src_pic_width,
                "src_pic_height": src_pic_height,
                "dest_pic_width": dest_pic_width,
                "dest_pic_height": dest_pic_height,
                "lut": lut,
                "lut_size": lut_size,
                "reserved": reserved}

Members

Member

Description

src_pic_width

Int, width of the input image.

src_pic_height

Int, height of the input image.

dest_pic_width

Int, width of the output image.

dest_pic_height

Int, height of the output image.

lut_size

Int, memory size of the pixel position remapping LUT, in bytes.

You can obtain the memory size by calling acl.himpi.vpc_get_lut_mem_size.

lut

Int, memory address of the pixel position remapping LUT.

reserved

Int, reserved. To ensure compatibility in later versions, use the memset configuration for resetting and initialization. Do not explicitly access the reserved field in the code.