acldvppVpcResizeAsync
Applicable Products
|
Product |
Supported |
|---|---|
|
|
x |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Function
Resizes the input image to the output image size. This API is asynchronous.
Prototype
1 2 3 4 5 |
aclError acldvppVpcResizeAsync(acldvppChannelDesc *channelDesc, acldvppPicDesc *inputDesc, acldvppPicDesc *outputDesc, acldvppResizeConfig *resizeConfig, aclrtStream stream) |
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
channelDesc |
Input |
Pointer to the channel description. Must be the same as the channelDesc argument passed to the acldvppCreateChannel call. |
|
inputDesc |
Input |
Pointer to the input image information.
|
|
outputDesc |
Input/Output |
Pointer to the output image information. When outputDesc is used as an input, the user needs to:
|
|
resizeConfig |
Input |
Pointer to the image resizing configuration. Call acldvppCreateResizeConfig to create an image resizing configuration. |
|
stream |
Input |
Returns
0 on successful task delivery; else, failure. For details, see aclError.
Restrictions
|
Model |
Restriction |
|---|---|
|
|
|
|
|
|
|
|
|