VpcResize
Function Usage
Implements image resizing. Before calling this API, call Init() or Init(MxbaseDvppChannelMode dvppChannelMode) to initialize this function.
Prototype
APP_ERROR VpcResize (
DvppDataInfo& inputDataInfo ,
DvppDataInfo& outputDataInfo ,
ResizeConfig& resizeConfig
);
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
inputDataInfo |
Input |
Data to be scaled
|
outputDataInfo |
Output |
Scaled data |
resizeConfig |
Input |
Scaling configuration
|
Return Parameter Description
Data Structure |
Description |
|---|---|
APP_ERROR |
Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file. |
Parent topic: DvppWrapper