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

The resolution of the input and output images ranges from 10 x 6 to 4096 x 8192.

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.

You must call hi_mpi_dvpp_malloc in advance to allocate the memory.

reserved

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