acldvppVpcCropAsync
Applicability
|
Product |
Supported |
|---|---|
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Description
Crops a selected ROI from the input image and loads the cropped image to the output buffer. This API is asynchronous.
Prototype
aclError acldvppVpcCropAsync(acldvppChannelDesc *channelDesc, acldvppPicDesc *inputDesc, acldvppPicDesc *outputDesc, acldvppRoiConfig *cropArea, 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 description. When outputDesc is used as an input, the user needs to:
|
|
cropArea |
Input |
Pointer to the crop ROI. Call acldvppCreateRoiConfig to create an ROI configuration. |
|
stream |
Input |
Stream. |
Returns
0 on successful task delivery; else, failure. For details, see aclError.
Restrictions
|
Model |
Restriction |
|---|---|
|
|
|
|
|
|
|
|
|