Image resizing function. Before calling this API, call Init to initialize this function.
1 | APP_ERROR DvppWrapper::VpcResize(DvppDataInfo& inputDataInfo, DvppDataInfo& outputDataInfo, ResizeConfig& resizeConfig, AscendStream& stream); |
1 | APP_ERROR DvppWrapper::VpcResize(DvppDataInfo& inputDataInfo, DvppDataInfo& outputDataInfo, ResizeConfig& resizeConfig); |
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. |
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |