DVPP video encoding initialization function, which must be used together with DeInitVenc to allocate resources.
This API is used to register threads related to video encoding.
1 | APP_ERROR DvppWrapper::InitVenc(VencConfig vencConfig); |
Parameter |
Input/Output |
Description |
|---|---|---|
vencConfig |
Input |
Video encoding configuration parameter. The value of vencConfig.keyFrameInterval cannot be 0. |
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |