VpcResize

Function Usage

Image resizing function. Before calling this API, call Init to initialize this function.

Prototype

1
APP_ERROR DvppWrapper::VpcResize(DvppDataInfo& inputDataInfo, DvppDataInfo& outputDataInfo, ResizeConfig& resizeConfig, AscendStream& stream);
1
APP_ERROR DvppWrapper::VpcResize(DvppDataInfo& inputDataInfo, DvppDataInfo& outputDataInfo, ResizeConfig& resizeConfig);

Parameters

Parameter

Input/Output

Description

inputDataInfo

Input

Source image information.

outputDataInfo

Output

Resized data.

resizeConfig

Input

Resizing configuration.

stream

Input

AscendStream type. When AscendStream& stream is not specified or the value is AscendStream::DefaultStream(), the API performs a synchronous operation. In other cases, the API performs asynchronous operations.

Response Parameters

Data Structure

Description

APP_ERROR

For details about the returned error codes, see APP_ERROR Description.