Function: dvpp_vpc_pyr_down_async
C Prototype |
aclError acldvppVpcPyrDownAsync(acldvppChannelDesc *channelDesc, acldvppPicDesc *inputDesc, acldvppPicDesc *outputDesc, void *reserve, aclrtStream stream) |
|---|---|
Python Function |
ret = acl.media.dvpp_vpc_pyr_down_async(dvpp_channel_desc, input_dvpp_pic_desc, output_dvpp_pic_desc, reserve, stream) |
Function Usage |
Performs pyramid resizing to resize the input image to half the original size. This API is asynchronous. The Atlas 200/300/500 Inference Product does not support this API. The Atlas Training Series Product does not support this API. |
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:
reserve: int, pointer address of the pyramid configuration parameter. This parameter is reserved. stream: int, stream. |
Return Value |
ret: int, error code.
|
Restrictions |
|