Obtains the image resizing algorithm. This API is synchronous.
uint32 acldvppGetResizeConfigInterpolation(const acldvppResizeConfig * resizeConfig)
Parameter |
Input/Output |
Description |
|---|---|---|
resizeConfig |
Input |
Pointer to resizing configuration to be obtained. You need to call acldvppCreateResizeConfig to create data of the acldvppResizeConfig in advance and call acldvppSetResizeConfigInterpolation to set the resizing algorithm. |
On the Ascend 310 AI Processor, 0 indicates the high-order filtering algorithm developed by Huawei.
On the Ascend 310 AI Processor, 0 indicates the high-order filtering algorithm developed by Huawei.
On the Ascend 610 AI Processor, the system forces 1 (even if 0 is set).
On the Ascend 310P AI Processor, when this algorithm is set and the input and output images are in RGB format, the maximum difference between the pixel value of the algorithm and that of OpenCV is ±1 within the scaling range of [1/32, 512].
The Ascend 310P AI Processor does not support this algorithm.
The Ascend 310P AI Processor does not support this algorithm.