InitVenc

Function Usage

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.

  • For the Atlas 200/300/500 inference product and Atlas 200I/500 A2 inference product, the thread is named mx_venc_acl.
  • For the Atlas inference product, the thread is named mx_venc_himpi.

Prototype

1
APP_ERROR DvppWrapper::InitVenc(VencConfig vencConfig);

Parameters

Parameter

Input/Output

Description

vencConfig

Input

Video encoding configuration parameter.

The value of vencConfig.keyFrameInterval cannot be 0.

Response Parameters

Data Structure

Description

APP_ERROR

For details about the returned error codes, see APP_ERROR Description.