Function: dvpp_vpc_convert_color_async
C Prototype |
aclError acldvppVpcConvertColorAsync(acldvppChannelDesc *channelDesc, acldvppPicDesc *inputDesc, acldvppPicDesc *outputDesc, aclrtStream stream) |
|---|---|
Python Function |
ret = acl.media.dvpp_vpc_convert_color_async(dvpp_channel_desc, input_dvpp_pic_desc, output_dvpp_pic_desc, stream) |
Function Usage |
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. The Atlas 200/300/500 Inference Product does not support this API in the current version. The Atlas Training Series Product does not support this API in the current version. |
Input Description |
dvpp_channel_desc: int, pointer address of the channel description. It must be the same as the dvpp_channel_desc argument passed to the acl.media.dvpp_create_channel call. input_dvpp_pic_desc: int, pointer address of the input image information.
output_dvpp_pic_desc: int, pointer address of the output image information. When this argument is used as an input, the user needs to:
stream: int, stream object. |
Return Value |
ret: int, error code.
|
Restrictions |
|