#ifndef __OMX_COMMON_DEC_COMP_EXT_H__
#define __OMX_COMMON_DEC_COMP_EXT_H__

#include "common_dec_comp_core_struct.h"
#include "omx_common_dec_comp_intf.h"

typedef struct OMX_MTK_COMMON_DEC_FLOW_CTRL_STRUCT
{
    OMX_U32 nSize;              /**< size of the structure in bytes */
    OMX_VERSIONTYPE nVersion;   /**< OMX specification version information */
    COMMON_DEC_FLOW_CTRL_TYPE eDecFlowCtrlType;
    union
    {
        COMMON_DEC_INIT_INFO_PARAM eDecInitInfo;
        OMX_BOOL eForceNfyDecInfoChg;
    }uParam;
}OMX_MTK_COMMON_DEC_FLOW_CTRL_STRUCT;

typedef struct OMX_MTK_COMMON_DEC_PARAM_STRUCT
{
    OMX_U32 nSize;              /**< size of the structure in bytes */
    OMX_VERSIONTYPE nVersion;   /**< OMX specification version information */
    COMMON_DEC_PARAM_TYPE eDecParamType;
    union {
        COMMON_DEC_ACTIONINTF_ERROR_REASON_PARAM eDecActionErrReason;
        COMMON_DEC_FRAME_BYTE_SIZE_PARAM eDecFrameByteSize;
        COMMON_DEC_SPEED_CAPABILITY_PARAM eDecSpeedCapability;
        COMMON_DEC_BIT_RATE_PARAM eDecBitrate;
        COMMON_DEC_SAMPLE_RATE_PARAM eDecSampleRate;
        COMMON_DEC_DECODED_FRAMES_NUM_PARAM eDecDecodedFramesNum;
        COMMON_DEC_DECODED_SAMPLES_NUM_PARAM eDecDecodedSamplesNum;
        COMMON_DEC_ERROR_FRAME_STATISTICS_PARAM eDecErrFrameStatistics;
        COMMON_DEC_SPK_CONFIG_PARAM eDecSpkCfg;
        COMMON_DEC_RAW_OUTPUT_CAPABILITY_PARAM eDecRawOutputCapability;
        COMMON_DEC_RAW_OUTPUT_PARAM eDecRawOutputSet;
        COMMON_DEC_CHANNEL_LAYOUT_PARAM eDecChLayout;
        COMMON_DEC_PCM_OUTPUT_INFO_PARAM eDecPcmOutputInfo;
        COMMON_DEC_UPDATE_INFO_PARAM rDecUpdateInfo;
        COMMON_DEC_INPUT_BUF_SIZE_PARAM eDecOmxInputBufByteSize;
        COMMON_DEC_OUTPUT_BUF_SIZE_PARAM eDecOmxOutputBufByteSize;
        COMMON_DEC_DUMP_DECODER_INPUT_PARAM eDecDumpDecoderInputParam;
        COMMON_DEC_DUMP_DECODER_OUTPUT_PARAM eDecDumpDecoderOutputParam;
        COMMON_DEC_DOWNSAMPLE_PARAM tDecDownSampleParam;
        COMMON_DEC_DROPSAMPLE_PARAM tDecDropSampleParam;
        COMMON_DEC_UPSAMPLE_PARAM tDecUpSampleParam;
        COMMON_DEC_SIDEINFO_PARAM tDecSideinfoParam;
        COMMON_DEC_PARAM_STR_T *ptParamStr;
    }uParam;
}OMX_MTK_COMMON_DEC_PARAM_STRUCT;

#endif

