我要评分
获取效率
正确性
完整性
易理解

InitDecoder

Function Usage

Initializes the decoder.

Restrictions

A decoder must have been created through the CreateDecoder API before you invoke InitDecoder.

Prototype

DecoderRetCode InitDecoder()

Parameter Description

N/A

Return Value Description

Data type: DecoderRetCode

The value can be any of the following:

  • VIDEO_DECODER_SUCCESS: The decoder is successfully initialized.
  • VIDEO_DECODER_INIT_FAIL: Failed to initialize the decoder.