acldvppVpcPyrDownAsync

Applicable Products

Product

Supported

Ascend 950PR / Ascend 950DT

x

Atlas A3 training products / Atlas A3 inference products

x

Atlas A2 training products / Atlas A2 inference products

x

Atlas 200I/500 A2 inference products

x

Atlas inference products

√

Atlas training products

x

Function

Performs pyramid resizing to resize the output image to half the original size. This API is asynchronous.

Prototype

1
2
3
4
5
aclError acldvppVpcPyrDownAsync(acldvppChannelDesc *channelDesc,
acldvppPicDesc *inputDesc,
acldvppPicDesc *outputDesc,
void *reserve,
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:

reserve

Input

Pointer to the pyramid configuration parameter. This parameter is reserved.

stream

Input

Stream. For details, see aclrtStream.

Returns

0 on successful task delivery; else, failure. For details, see aclError.

Restrictions