Init
Function Usage
DVPP initialization function, which must be used together with DeInit.
It is applicable to functions other than video decoding and encoding. For video decoding initialization, use InitVdec; for video encoding initialization, use InitVenc. After initialization, call the deinitialization function of the corresponding function to destroy resources.
Prototype
1 | APP_ERROR DvppWrapper::Init(void); // Applicable to the Atlas 200/300/500 inference product and Atlas 200I/500 A2 inference product. |
1 | APP_ERROR DvppWrapper::Init(MxbaseDvppChannelMode dvppChannelMode); // Applicable to the Atlas 200/300/500 inference product, Atlas 200I/500 A2 inference product, and Atlas inference product. |
Parameters
Parameter |
Input/Output |
Description |
||||||
|---|---|---|---|---|---|---|---|---|
dvppChannelMode |
Input |
Channel mode.
|
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: DvppWrapper