acldvppSetResizeConfigInterpolation
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
☓ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
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
The following resizing algorithms are supported for
The following resizing algorithms are supported for
|
Returns
0 on success; otherwise, failure. For details, see aclError.