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.
Parent topic: Decoding APIs (C and C++)