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

CreateVideoDecoder

Function Usage

Creates a decoder instance.

Restrictions

N/A

Prototype

DecoderRetCode CreateVideoDecoder(VideoDecoder **decoder)

Parameter Description

Parameter

Input/Output

Type

Description

decoder

Output

VideoDecoder **

Two-dimensional pointer to the decoder instance. It is used to store the decoder instance created in the API.

Return Value Description

Data type: DecoderRetCode

The value can be any of the following:

  • VIDEO_DECODER_SUCCESS: The decoder instance is successfully created.
  • VIDEO_DECODER_CREATE_FAIL: Failed to create a decoder instance.