hi_mpi_vpc_get_lut_mem_size

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function Description

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

Prototype

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

Parameters

Parameter

Input/Output

Description

width

Input

Output image width

height

Input

Output image height

lut_size

Output

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

Returns

Restrictions

When this API is called, the value range of width x height is [10 × 6 to 4096 × 8192].