acldvppSetResizeConfigInterpolation
Applicable Products
Product |
Supported |
|---|---|
x |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Sets the image resizing algorithm.
Prototype
1 | 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
For the
|
Returns
0 on success; else, failure. For details, see aclError.