acl.himpi.vpc_get_lut_mem_size

C Prototype

hi_s32 hi_mpi_vpc_get_lut_mem_size(hi_u32 width, hi_u32 height, hi_u32 *lut_size)

Python Function

lut_size, ret = acl.himpi.vpc_get_lut_mem_size(width, height)

Function Usage

Obtain the memory size required by the pixel position remapping LUT based on the width and height of the output image.

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Input Description

width: int, width of the output image.

height: int, height of the output image.

Return Value

lut_size: int, buffer size of the pixel position remapping LUT, in bytes.

ret: int, error code.