acldvppSetResizeConfigInterpolation
Description
Sets the image resizing algorithm.
Prototype
aclError acldvppSetResizeConfigInterpolation(acldvppResizeConfig *resizeConfig, uint32_t interpolation)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
resizeConfig |
Output |
Pointer to resizing configuration to be set. Call acldvppCreateResizeConfig to create data of the acldvppResizeConfig type in advance. |
interpolation |
Input |
Resizing algorithm. You are advised to use the same resizing algorithm as in model training. For the
For the
|
Returns
The value 0 indicates success, and other values indicate failure. For details, see aclError.
Parent topic: acldvppResizeConfig