Rate This Document
Findability
Accuracy
Completeness
Readability

InitEncoder

Function Usage

Initializes the encoder.

Restrictions

The Config API must have been invoked to input valid configurations.

Prototype

EncoderRetCode InitEncoder()

Parameter Description

N/A

Return Value Description

Data type: EncoderRetCode

The value can be any of the following:

  • VIDEO_ENCODER_SUCCESS: The encoder is successfully initialized.
  • VIDEO_ENCODER_INIT_FAIL: The encoder fails to be initialized.