Init
Function Usage
DVPP initialization function, which must be used together with DeInit.
It does not support video decoding and video encoding. For the video decoding initialization, use InitVdec; for the video encoding initialization, use InitVenc. After initialization, call the deinitialization function of the corresponding function to destroy resources.
Prototype
APP_ERROR DvppWrapper::Init(void); // Applicable to the Atlas 200/300/500 inference product.
APP_ERROR DvppWrapper::Init(MxbaseDvppChannelMode dvppChannelMode); // Applicable to the Atlas 200/300/500 inference product and Atlas inference products.
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
dvppChannelMode |
Input |
Channel mode.
|
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