hi_remap_lut

Description

Defines the information about the pixel position remapping LUT.

Prototype

 typedef struct {
    hi_u32 src_pic_width;
    hi_u32 src_pic_height;
    hi_u32 dest_pic_width;
    hi_u32 dest_pic_height;
    hi_void *lut;
    hi_u32 lut_size;
    hi_u64 reserved;
} hi_remap_lut;

Members

Member

Description

src_pic_width

Input image width.

src_pic_height

Input image height.

dest_pic_width

Output image width.

dest_pic_height

Output image height.

lut_size

Memory size of the pixel position remapping LUT, in bytes.

You can obtain the memory size by calling hi_mpi_vpc_get_lut_mem_size.

lut

Pointer to the memory address of the pixel position remapping LUT.

reserved

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