acldvppVpcConvertColorAsync
The
The
Description
Converts the image format. The width and height of the output image must be the same as those of the input image. This API is asynchronous.
Restrictions
- The input and output image resolution must be in the range of [10 × 6, 4096 × 4096].
- For the supported input and output image formats, see Restrictions on Image Formats, Width and Height Alignment, and Buffers.
Prototype
aclError acldvppVpcConvertColorAsync(acldvppChannelDesc *channelDesc,
acldvppPicDesc *inputDesc,
acldvppPicDesc *outputDesc,
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 description.
|
outputDesc |
Input/Output |
Pointer to the output image description. When outputDesc is used an input, the user needs to:
|
stream |
Input |
Stream. |
Returns
0 on successful task delivery; else, failure.