Rate This Document
Findability
Accuracy
Completeness
Readability

InitDecoder

Function Usage

Initializes the decoder.

Restrictions

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

Prototype

DecoderRetCode InitDecoder()

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.