Rate This Document
Findability
Accuracy
Completeness
Readability

GetDecodeParams

Function Usage

Obtains the decoding parameters of the decoder.

Prototype

DecoderRetCode GetDecodeParams(DecodeParamsIndex index, void *decParams)

Parameter Description

Parameter

Input/Output

Type

Description

index

Input

DecodeParamsIndex

Type of a parameter to be got.

decParams

Input

void *

Memory address of the parameter.

For details about the parameters, see SetDecodeParams.

Return Value Description

Data type: DecoderRetCode

The value can be any of the following:

  • VIDEO_DECODER_SUCCESS: The decoding parameters are successfully obtained.
  • VIDEO_DECODER_GET_DECODE_PARAMS_FAIL: Failed to obtain the decoding parameters.