InitVdec
Function Usage
DVPP video decoding initialization function, which must be used together with DeInitVdec to allocate resources.
This API is used to register threads related to video decoding.
- For the
Atlas 200/300/500 inference product andAtlas 200I/500 A2 inference product , the thread is named mx_vdec_acl. - For the Atlas inference product, the thread is named mx_vdec_himpi.
Prototype
1 | APP_ERROR DvppWrapper::InitVdec(VdecConfig& vdecConfig); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
vdecConfig |
Input |
Video decoding configuration parameter. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: DvppWrapper