InitVenc

Function Usage

DVPP video encoding initialization function, which must be used together with DeInitVenc() to allocate resources.

Prototype

APP_ERROR InitVenc(VencConfig vencConfig);

Parameter Description

Parameter

Input/Output

Description

vencConfig

Input

Video encoding configuration parameter.

The value of vencConfig.keyFrameInterval cannot be 0.

Return Parameter Description

Data Structure

Description

APP_ERROR

Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file.