Function: dvpp_set_resize_config_interpolation
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Sets the image resizing algorithm.
Prototype
- C Prototype
1aclError acldvppSetResizeConfigInterpolation(acldvppResizeConfig *resizeConfig, uint32_t interpolation)
- Python Function
1ret = acl.media.dvpp_set_resize_config_interpolation(dvpp_resize_config, interpolation)
Parameter Description
Parameter |
Description |
|---|---|
dvpp_resize_config |
Int, pointer address of the resizing configuration data to be set. Call acl.media.dvpp_create_resize_config to create data of the acldvppResizeConfig type in advance. |
interpolation |
Int, resizing algorithm. You are advised to use the same resizing algorithm as that in model training. For the
For the
For the
For the
For the
|
Return Value Description
Return Value |
Description |
|---|---|
ret |
Int, error code: 0 on success; else, failure. |