hi_mpi_vpc_get_lut_mem_size
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
☓ |
|
☓ |
Description
Obtains the memory size required by the pixel position remapping LUT based on the width and height of the output image. This API is synchronous.
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
- 0: success
- Other values: failure (VPC Return Codes)
Restrictions
When this API is called, the value range of width x height is [10 × 6, 4096 × 8192].
Parent topic: Vision Preprocessing Core (VPC)