acldvppVpcPyrDownAsync
The
The
Description
Performs pyramid resizing to resize the output image to half the original size. This API is asynchronous.
Restrictions
- Input image
- Input image resolution: [20 × 12, 2048 × 2048]
- Input image format: PIXEL_FORMAT_YUV_400
- Output image
- Output image resolution: input image resolution/2
- Format: PIXEL_FORMAT_YUV_400
- For details about the image alignment requirements for PIXEL_FORMAT_YUV_400 images, see Restrictions on Image Formats, Width and Height Alignment, and Buffers.
Prototype
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 description.
|
outputDesc |
Input/Output |
Pointer to the output image description. When outputDesc is an input, the user needs to:
|
reserve |
Input |
Pointer to the pyramid configuration parameter. This parameter is reserved. |
stream |
Input |
Stream. |
Returns
0 on successful task delivery; else, failure.