Lines Matching refs:_Attr
371 #define VDEC_INFO(x) if (_Attr.eDbgMsgLevel >= E_VDEC_DBG_LEVEL_INFO) { (x); }
468 static VDEC_Attr _Attr; variable
597 if (!_Attr.bInit) in MApi_VDEC_DbgCmd()
602 switch (_Attr.eDecoder) in MApi_VDEC_DbgCmd()
660 if (!_Attr.bInit) in MApi_VDEC_DbgSetData()
665 switch (_Attr.eDecoder) in MApi_VDEC_DbgSetData()
702 if (!_Attr.bInit) in MApi_VDEC_DbgGetData()
707 switch (_Attr.eDecoder) in MApi_VDEC_DbgGetData()
881 _Attr.bInit = FALSE; in _VDEC_InitLocalVar()
882 _Attr.eDbgMsgLevel = VDEC_DEFAULT_DBG_MSG_LEVEL; in _VDEC_InitLocalVar()
883 _Attr.eCodecType = E_VDEC_CODEC_TYPE_NONE; in _VDEC_InitLocalVar()
884 _Attr.eDecoder = E_VDEC_DECODER_NONE; in _VDEC_InitLocalVar()
885 _Attr.eErrCode = E_VDEC_ERR_CODE_BASE; in _VDEC_InitLocalVar()
899 _Attr.VdecEventInfo[u32Tmp].u32EventBitMap = 0; in _VDEC_InitLocalVar()
900 _Attr.VdecEventInfo[u32Tmp].pVdecEventCb = NULL; in _VDEC_InitLocalVar()
901 _Attr.VdecEventInfo[u32Tmp].pParam = NULL; in _VDEC_InitLocalVar()
1409 if (!_Attr.bInit) in _VDEC_IsIdle()
1414 switch (_Attr.eDecoder) in _VDEC_IsIdle()
1468 MS_U32 u32Event = u32VdecEventFlag &_Attr.VdecEventInfo[cb_idx].u32EventBitMap; in _VDEC_MonitorISR_Proc()
1471 (_Attr.VdecEventInfo[cb_idx].pVdecEventCb)) in _VDEC_MonitorISR_Proc()
1473 _Attr.VdecEventInfo[cb_idx].pVdecEventCb(u32Event, in _VDEC_MonitorISR_Proc()
1474 _Attr.VdecEventInfo[cb_idx].pParam); in _VDEC_MonitorISR_Proc()
1503 switch (_Attr.eDecoder) in _VDEC_IsrProc()
1566 MS_U32 u32Event = eEventFlag &_Attr.VdecEventInfo[i].u32EventBitMap; in _VDEC_IsrProc()
1569 (_Attr.VdecEventInfo[i].pVdecEventCb)) in _VDEC_IsrProc()
1572 _Attr.VdecEventInfo[i].pVdecEventCb(u32Event, in _VDEC_IsrProc()
1573 _Attr.VdecEventInfo[i].pParam); in _VDEC_IsrProc()
1641 MS_U32 u32Event = eEventFlag & _Attr.VdecEventInfo[i].u32EventBitMap; in _VDEC_IsrProc()
1644 (_Attr.VdecEventInfo[i].pVdecEventCb)) in _VDEC_IsrProc()
1647 … _Attr.VdecEventInfo[i].pVdecEventCb(u32Event, _Attr.VdecEventInfo[i].pParam); in _VDEC_IsrProc()
1719 switch (_Attr.eDecoder) in _VDEC_RepeatLastField()
1753 switch (_Attr.eDecoder) in _VDEC_SetAVSyncRepeatThreshold()
1787 switch (_Attr.eDecoder) in _VDEC_DispOneField()
1823 switch (_Attr.eDecoder) in _VDEC_SetFdMaskDelayCnt()
1860 switch (_Attr.eDecoder) in _VDEC_FrameRateConvert()
1896 switch (_Attr.eDecoder) in _VDEC_SetIgnoreErrRef()
1927 switch (_Attr.eDecoder) in _VDEC_ForceFollowDTVSpec()
1959 switch (_Attr.eDecoder) in _VDEC_SetFastDisplay()
1990 switch (_Attr.eDecoder) in _VDEC_SetFRCDropType()
2026 switch (_Attr.eDecoder) in _VDEC_SetDisableSeqChange()
2057 switch (_Attr.eDecoder) in _VDEC_SetMinFrameGap()
2083 switch (_Attr.eDecoder) in _VDEC_SetDisableAntiVdead()
2109 switch (_Attr.eDecoder) in _VDEC_ResetMvdParser()
2134 switch (_Attr.eDecoder) in _VDEC_DoFlushFrmBuffer()
2166 switch (_Attr.eDecoder) in _VDEC_SetDTVUserDataMode()
2201 switch (_Attr.eDecoder) in _VDEC_ForceInterlaceMode()
2236 switch (_Attr.eDecoder) in _VDEC_ShowDecodeOrder()
2271 switch (_Attr.eDecoder) in _VDEC_ForceAutoMute()
2301 switch (_Attr.eDecoder) in _VDEC_SetVSizeAlign()
2332 switch (_Attr.eDecoder) in _VDEC_Disp_Ignore_Crop()
2362 switch (_Attr.eDecoder) in _VDEC_SetDispFinishMode()
2392 switch (_Attr.eDecoder) in _VDEC_SetAVSyncMode()
2422 switch (_Attr.eDecoder) in _VDEC_SetCcInfoEnhanceMode()
2451 switch (_Attr.eDecoder) in _VDEC_SetIdctMode()
2602 switch (_Attr.eDecoder) in _VDEC_DropErrFrame()
2639 switch (_Attr.eDecoder) in _VDEC_PushDispQWithRefNum()
2678 switch (_Attr.eDecoder) in _VDEC_ShowFirstFrameDirect()
2710 switch (_Attr.eDecoder) in _VDEC_SetAutoExhaustESMode()
2717 if(_Attr.eCodecType != E_VDEC_CODEC_TYPE_H264) in _VDEC_SetAutoExhaustESMode()
2738 switch (_Attr.eDecoder) in _VDEC_AVCSupportRefNumOverMaxDBPSize()
2745 if(_Attr.eCodecType != E_VDEC_CODEC_TYPE_H264) in _VDEC_AVCSupportRefNumOverMaxDBPSize()
2774 switch (_Attr.eDecoder) in _VDEC_SetMinTspDataSize()
2781 if(_Attr.eCodecType != E_VDEC_CODEC_TYPE_H264) in _VDEC_SetMinTspDataSize()
2803 switch (_Attr.eDecoder) in _MApi_VDEC_GetFlushPatternEntryNum()
2949 pStatus->bInit = _Attr.bInit; in MApi_VDEC_V2_GetStatus()
2951 if (!_Attr.bInit) in MApi_VDEC_V2_GetStatus()
3170 if (!_Attr.bInit) in _MApi_VDEC_IsChroma420()
3175 switch (_Attr.eDecoder) in _MApi_VDEC_IsChroma420()
3209 if (!_Attr.bInit) in _MApi_VDEC_GetRealFrameRate()
3219 switch (_Attr.eDecoder) in _MApi_VDEC_GetRealFrameRate()
3244 if (!_Attr.bInit) in _MApi_VDEC_GetColorMatrixCoef()
3249 switch (_Attr.eDecoder) in _MApi_VDEC_GetColorMatrixCoef()
3280 if (!_Attr.bInit) in _MApi_VDEC_GetIsDynScalingEnabled()
3292 switch (_Attr.eDecoder) in _MApi_VDEC_GetIsDynScalingEnabled()
3317 if (!_Attr.bInit) in _MApi_VDEC_GetIsOriInterlaceMode()
3322 switch (_Attr.eDecoder) in _MApi_VDEC_GetIsOriInterlaceMode()
3423 if (!_Attr.bInit) in _MApi_VDEC_GetFrmPackingArrSEI()
3437 switch (_Attr.eDecoder) in _MApi_VDEC_GetFrmPackingArrSEI()
3476 if (!_Attr.bInit) in _MApi_VDEC_GetFBUsageMem()
3486 switch (_Attr.eDecoder) in _MApi_VDEC_GetFBUsageMem()
3556 if (_Attr.bInit== TRUE) in MApi_VDEC_V2_Init()
3570 _Attr.eCodecType = pInitParam->eCodecType; in MApi_VDEC_V2_Init()
3571 _Attr.eDecoder = _VDEC_GetDecoderByCodecType(pInitParam->eCodecType); in MApi_VDEC_V2_Init()
3572 _Attr.eSrcMode = pInitParam->VideoInfo.eSrcMode; in MApi_VDEC_V2_Init()
3573 _Attr.eDbgMsgLevel = pInitParam->SysConfig.eDbgMsgLevel; in MApi_VDEC_V2_Init()
3589 MApi_VDEC_SetDbgLevel(_Attr.eDbgMsgLevel); in MApi_VDEC_V2_Init()
3600 switch (_Attr.eDecoder) in MApi_VDEC_V2_Init()
3619 eMvdCodecType = _VDEC_Map2MVDCodecType(_Attr.eCodecType); in MApi_VDEC_V2_Init()
3627 eMvdSrcMode = _VDEC_Map2MVDSrcMode(_Attr.eSrcMode); in MApi_VDEC_V2_Init()
3755 _VDEC_MVDCfgDivX(_Attr.eCodecType); in MApi_VDEC_V2_Init()
3865 if (E_VDEC_CODEC_TYPE_H264 == _Attr.eCodecType) in MApi_VDEC_V2_Init()
3869 else if (E_VDEC_CODEC_TYPE_AVS == _Attr.eCodecType) in MApi_VDEC_V2_Init()
3873 else if ((E_VDEC_CODEC_TYPE_RV8 == _Attr.eCodecType) in MApi_VDEC_V2_Init()
3874 || (E_VDEC_CODEC_TYPE_RV9 == _Attr.eCodecType)) in MApi_VDEC_V2_Init()
3880 if (E_VDEC_SRC_MODE_DTV == _Attr.eSrcMode) in MApi_VDEC_V2_Init()
3886 else if (E_VDEC_SRC_MODE_TS_FILE == _Attr.eSrcMode) in MApi_VDEC_V2_Init()
3892 else if (E_VDEC_SRC_MODE_FILE == _Attr.eSrcMode) in MApi_VDEC_V2_Init()
3935 if (E_VDEC_SRC_MODE_FILE == _Attr.eSrcMode) in MApi_VDEC_V2_Init()
3986 if (E_VDEC_SRC_MODE_DTV == _Attr.eSrcMode) in MApi_VDEC_V2_Init()
4105 if(_Attr.eDbgMsgLevel >= E_VDEC_DBG_LEVEL_ERR) in MApi_VDEC_V2_Init()
4126 _Attr.bInit = TRUE; in MApi_VDEC_V2_Init()
4168 if (_Attr.bInit) in MApi_VDEC_V2_Init_EX()
4186 _Attr.eCodecType = pInitParam->eCodecType; in MApi_VDEC_V2_Init_EX()
4187 _Attr.eDecoder = _VDEC_GetDecoderByCodecType(pInitParam->eCodecType); in MApi_VDEC_V2_Init_EX()
4188 _Attr.eSrcMode = pInitParam->VideoInfo.eSrcMode; in MApi_VDEC_V2_Init_EX()
4189 _Attr.eDbgMsgLevel = pInitParam->SysConfig.eDbgMsgLevel; in MApi_VDEC_V2_Init_EX()
4192 MApi_VDEC_SetDbgLevel(_Attr.eDbgMsgLevel); in MApi_VDEC_V2_Init_EX()
4203 switch (_Attr.eDecoder) in MApi_VDEC_V2_Init_EX()
4217 eMvdCodecType = _VDEC_Map2MVDCodecType(_Attr.eCodecType); in MApi_VDEC_V2_Init_EX()
4225 eMvdSrcMode = _VDEC_Map2MVDSrcMode(_Attr.eSrcMode); in MApi_VDEC_V2_Init_EX()
4358 _VDEC_MVDCfgDivX(_Attr.eCodecType); in MApi_VDEC_V2_Init_EX()
4458 if (E_VDEC_CODEC_TYPE_H264 == _Attr.eCodecType) in MApi_VDEC_V2_Init_EX()
4462 else if (E_VDEC_CODEC_TYPE_AVS == _Attr.eCodecType) in MApi_VDEC_V2_Init_EX()
4466 else if ((E_VDEC_CODEC_TYPE_RV8 == _Attr.eCodecType) in MApi_VDEC_V2_Init_EX()
4467 || (E_VDEC_CODEC_TYPE_RV9 == _Attr.eCodecType)) in MApi_VDEC_V2_Init_EX()
4473 if (E_VDEC_SRC_MODE_DTV == _Attr.eSrcMode) in MApi_VDEC_V2_Init_EX()
4479 else if (E_VDEC_SRC_MODE_TS_FILE == _Attr.eSrcMode) in MApi_VDEC_V2_Init_EX()
4485 else if (E_VDEC_SRC_MODE_FILE == _Attr.eSrcMode) in MApi_VDEC_V2_Init_EX()
4528 if (E_VDEC_SRC_MODE_FILE == _Attr.eSrcMode) in MApi_VDEC_V2_Init_EX()
4586 if (E_VDEC_SRC_MODE_DTV == _Attr.eSrcMode) in MApi_VDEC_V2_Init_EX()
4699 if(_Attr.eDbgMsgLevel >= E_VDEC_DBG_LEVEL_ERR) in MApi_VDEC_V2_Init_EX()
4720 _Attr.bInit = TRUE; in MApi_VDEC_V2_Init_EX()
4771 if (!_Attr.bInit) in MApi_VDEC_V2_Rst()
4776 switch (_Attr.eDecoder) in MApi_VDEC_V2_Rst()
4855 if (!_Attr.bInit) in MApi_VDEC_V2_Exit()
4868 switch (_Attr.eDecoder) in MApi_VDEC_V2_Exit()
4904 _Attr.bInit = FALSE; in MApi_VDEC_V2_Exit()
4925 if(_Attr.bInit == TRUE) in MApi_VDEC_V2_SetPowerState()
4937 if(_Attr.bInit == TRUE) in MApi_VDEC_V2_SetPowerState()
4995 if (!_Attr.bInit) in MApi_VDEC_V2_CheckDispInfoRdy()
5000 switch (_Attr.eDecoder) in MApi_VDEC_V2_CheckDispInfoRdy()
5095 if (!_Attr.bInit) in MApi_VDEC_V2_SetFrcMode()
5100 switch (_Attr.eDecoder) in MApi_VDEC_V2_SetFrcMode()
5239 if (!_Attr.bInit) in MApi_VDEC_V2_SetDynScalingParams()
5244 switch (_Attr.eDecoder) in MApi_VDEC_V2_SetDynScalingParams()
5304 if (!_Attr.bInit) in MApi_VDEC_V2_Play()
5309 switch (_Attr.eDecoder) in MApi_VDEC_V2_Play()
5376 if (!_Attr.bInit) in MApi_VDEC_V2_Pause()
5381 switch (_Attr.eDecoder) in MApi_VDEC_V2_Pause()
5447 if (!_Attr.bInit) in MApi_VDEC_V2_Resume()
5452 switch (_Attr.eDecoder) in MApi_VDEC_V2_Resume()
5517 if (!_Attr.bInit) in MApi_VDEC_V2_StepDisp()
5522 switch (_Attr.eDecoder) in MApi_VDEC_V2_StepDisp()
5603 if (!_Attr.bInit) in MApi_VDEC_V2_IsStepDispDone()
5608 switch (_Attr.eDecoder) in MApi_VDEC_V2_IsStepDispDone()
5681 if (!_Attr.bInit) in MApi_VDEC_V2_SeekToPTS()
5686 switch (_Attr.eDecoder) in MApi_VDEC_V2_SeekToPTS()
5766 if (!_Attr.bInit) in MApi_VDEC_V2_SkipToPTS()
5771 switch (_Attr.eDecoder) in MApi_VDEC_V2_SkipToPTS()
5845 if (!_Attr.bInit) in MApi_VDEC_V2_StepDecode()
5850 switch (_Attr.eDecoder) in MApi_VDEC_V2_StepDecode()
5933 if (!_Attr.bInit) in MApi_VDEC_V2_IsStepDecodeDone()
5938 switch (_Attr.eDecoder) in MApi_VDEC_V2_IsStepDecodeDone()
6011 if (!_Attr.bInit) in MApi_VDEC_V2_SetTrickMode()
6016 switch (_Attr.eDecoder) in MApi_VDEC_V2_SetTrickMode()
6132 if (!_Attr.bInit) in MApi_VDEC_V2_PushDecQ()
6150 switch (_Attr.eDecoder) in MApi_VDEC_V2_PushDecQ()
6259 if (!_Attr.bInit) in MApi_VDEC_V2_FireDecCmd()
6264 switch (_Attr.eDecoder) in MApi_VDEC_V2_FireDecCmd()
6330 if (!_Attr.bInit) in MApi_VDEC_V2_GetDecQVacancy()
6335 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetDecQVacancy()
6393 if (!_Attr.bInit) in MApi_VDEC_V2_IsCCAvailable()
6398 switch (_Attr.eDecoder) in MApi_VDEC_V2_IsCCAvailable()
6457 if (!_Attr.bInit) in MApi_VDEC_V2_GetCCInfo()
6468 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetCCInfo()
6554 if (!_Attr.bInit) in MApi_VDEC_V2_Flush()
6559 switch (_Attr.eDecoder) in MApi_VDEC_V2_Flush()
6635 if (!_Attr.bInit) in MApi_VDEC_V2_GetESWritePtr()
6640 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetESWritePtr()
6707 if (!_Attr.bInit) in MApi_VDEC_V2_GetESReadPtr()
6712 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetESReadPtr()
6781 if (!_Attr.bInit) in MApi_VDEC_V2_EnableLastFrameShow()
6786 switch (_Attr.eDecoder) in MApi_VDEC_V2_EnableLastFrameShow()
6865 if (!_Attr.bInit) in MApi_VDEC_V2_IsDispFinish()
6870 switch (_Attr.eDecoder) in MApi_VDEC_V2_IsDispFinish()
6943 if (!_Attr.bInit) in MApi_VDEC_V2_SetSpeed()
6948 switch (_Attr.eDecoder) in MApi_VDEC_V2_SetSpeed()
7214 if (!_Attr.bInit) in MApi_VDEC_V2_IsFrameRdy()
7219 switch (_Attr.eDecoder) in MApi_VDEC_V2_IsFrameRdy()
7286 if (!_Attr.bInit) in MApi_VDEC_V2_SetFreezeDisp()
7291 switch (_Attr.eDecoder) in MApi_VDEC_V2_SetFreezeDisp()
7363 if (!_Attr.bInit) in MApi_VDEC_V2_SetBlueScreen()
7368 switch (_Attr.eDecoder) in MApi_VDEC_V2_SetBlueScreen()
7438 if (!_Attr.bInit) in MApi_VDEC_V2_ResetPTS()
7443 switch (_Attr.eDecoder) in MApi_VDEC_V2_ResetPTS()
7519 if (!_Attr.bInit) in MApi_VDEC_V2_AVSyncOn()
7524 switch (_Attr.eDecoder) in MApi_VDEC_V2_AVSyncOn()
7617 if (!_Attr.bInit) in MApi_VDEC_V2_SetAVSyncFreerunThreshold()
7622 switch (_Attr.eDecoder) in MApi_VDEC_V2_SetAVSyncFreerunThreshold()
7697 if (!_Attr.bInit) in MApi_VDEC_V2_IsAVSyncOn()
7702 switch (_Attr.eDecoder) in MApi_VDEC_V2_IsAVSyncOn()
7771 if (!_Attr.bInit) in MApi_VDEC_V2_GetPTS()
7776 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetPTS()
7846 if (!_Attr.bInit) in MApi_VDEC_V2_GetNextPTS()
7851 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetNextPTS()
7925 if (!_Attr.bInit) in MApi_VDEC_V2_IsStartSync()
7930 switch (_Attr.eDecoder) in MApi_VDEC_V2_IsStartSync()
8011 if (!_Attr.bInit) in MApi_VDEC_V2_IsReachSync()
8016 switch (_Attr.eDecoder) in MApi_VDEC_V2_IsReachSync()
8089 if (!_Attr.bInit) in MApi_VDEC_V2_IsFreerun()
8094 switch (_Attr.eDecoder) in MApi_VDEC_V2_IsFreerun()
8166 if (!_Attr.bInit) in MApi_VDEC_V2_MHEG_DecodeIFrame()
8171 switch (_Attr.eDecoder) in MApi_VDEC_V2_MHEG_DecodeIFrame()
8292 if (!_Attr.bInit) in MApi_VDEC_V2_MHEG_IsIFrameDecoding()
8297 switch (_Attr.eDecoder) in MApi_VDEC_V2_MHEG_IsIFrameDecoding()
8352 if (!_Attr.bInit) in MApi_VDEC_V2_MHEG_RstIFrameDec()
8357 switch (_Attr.eDecoder) in MApi_VDEC_V2_MHEG_RstIFrameDec()
8413 if (!_Attr.bInit) in MApi_VDEC_V2_GetErrCode()
8418 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetErrCode()
8427 _Attr.eErrCode = (VDEC_ErrCode) (errCode + (MS_U32) E_VDEC_MVD_ERR_CODE_BASE); in MApi_VDEC_V2_GetErrCode()
8436 _Attr.eErrCode = E_VDEC_ERR_CODE_FRMRATE_NOT_SUPPORT; in MApi_VDEC_V2_GetErrCode()
8442 _Attr.eErrCode = E_VDEC_ERR_CODE_DIVX_PLUS_UNSUPPORTED; in MApi_VDEC_V2_GetErrCode()
8453 _Attr.eErrCode = (VDEC_ErrCode) ( HVDerrCode + (MS_U32) E_VDEC_HVD_ERR_CODE_BASE); in MApi_VDEC_V2_GetErrCode()
8462 _Attr.eErrCode = E_VDEC_ERR_CODE_FRMRATE_NOT_SUPPORT; in MApi_VDEC_V2_GetErrCode()
8470 … _Attr.eErrCode = (VDEC_ErrCode) (MApi_MJPEG_GetErrCode() + (MS_U32) E_VDEC_MJPEG_ERR_CODE_BASE); in MApi_VDEC_V2_GetErrCode()
8475 … _Attr.eErrCode = (VDEC_ErrCode) (MDrv_RVD_GetErrCode() + (MS_U32) E_VDEC_RVD_ERR_CODE_BASE); in MApi_VDEC_V2_GetErrCode()
8480 _Attr.eErrCode=(VDEC_ErrCode)(0); in MApi_VDEC_V2_GetErrCode()
8483 if( ( (MS_U32)(_Attr.eErrCode) & 0x00ffffff) == 0 ) in MApi_VDEC_V2_GetErrCode()
8485 _Attr.eErrCode=(VDEC_ErrCode)(0); in MApi_VDEC_V2_GetErrCode()
8487 return _Attr.eErrCode; in MApi_VDEC_V2_GetErrCode()
8533 if (!_Attr.bInit) in MApi_VDEC_V2_GetErrCnt()
8538 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetErrCnt()
8604 return _Attr.eCodecType; in MApi_VDEC_V2_GetActiveCodecType()
8646 if (!_Attr.bInit) in MApi_VDEC_V2_GetBitsRate()
8651 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetBitsRate()
8706 if (!_Attr.bInit) in MApi_VDEC_V2_Is32PullDown()
8711 switch (_Attr.eDecoder) in MApi_VDEC_V2_Is32PullDown()
8762 if (!_Attr.bInit) in MApi_VDEC_V2_IsAlive()
8767 switch (_Attr.eDecoder) in MApi_VDEC_V2_IsAlive()
8824 if (!_Attr.bInit) in MApi_VDEC_V2_GetVideoPtsStcDelta()
8829 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetVideoPtsStcDelta()
8903 if (!_Attr.bInit) in MApi_VDEC_V2_IsWithValidStream()
8908 switch (_Attr.eDecoder) in MApi_VDEC_V2_IsWithValidStream()
8980 if (!_Attr.bInit) in MApi_VDEC_V2_IsIFrameFound()
8985 switch (_Attr.eDecoder) in MApi_VDEC_V2_IsIFrameFound()
9057 if (!_Attr.bInit) in MApi_VDEC_V2_IsWithLowDelay()
9062 switch (_Attr.eDecoder) in MApi_VDEC_V2_IsWithLowDelay()
9137 if (!_Attr.bInit) in MApi_VDEC_V2_IsAllBufferEmpty()
9142 switch (_Attr.eDecoder) in MApi_VDEC_V2_IsAllBufferEmpty()
9207 if (!_Attr.bInit) in MApi_VDEC_V2_GetGOPCnt()
9212 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetGOPCnt()
9277 if (!_Attr.bInit) in MApi_VDEC_V2_GetFrameCnt()
9282 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetFrameCnt()
9351 if (!_Attr.bInit) in MApi_VDEC_V2_GetSkipCnt()
9356 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetSkipCnt()
9419 if (!_Attr.bInit) in MApi_VDEC_V2_GetDropCnt()
9424 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetDropCnt()
9489 if (!_Attr.bInit) in MApi_VDEC_V2_GetDispInfo()
9494 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetDispInfo()
9706 if (!_Attr.bInit) in MApi_VDEC_V2_GetTrickMode()
9712 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetTrickMode()
9832 if (!_Attr.bInit) in MApi_VDEC_V2_GetActiveFormat()
9837 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetActiveFormat()
9897 if (!_Attr.bInit) in MApi_VDEC_V2_GetColourPrimaries()
9902 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetColourPrimaries()
9968 if (!_Attr.bInit) in MApi_VDEC_V2_GetHWKey()
9973 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetHWKey()
10039 if (!_Attr.bInit) in MApi_VDEC_V2_IsSeqChg()
10044 switch (_Attr.eDecoder) in MApi_VDEC_V2_IsSeqChg()
10130 switch (_Attr.eDecoder) in MApi_VDEC_V2_SetDbgLevel()
10241 if (!_Attr.bInit) in MApi_VDEC_V2_GetDecFrameInfo()
10246 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetDecFrameInfo()
10389 if (!_Attr.bInit) in MApi_VDEC_V2_GetDispFrameInfo()
10394 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetDispFrameInfo()
10532 if (!_Attr.bInit) in MApi_VDEC_V2_GetExtDispInfo()
10537 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetExtDispInfo()
10606 if (!_Attr.bInit) in MApi_VDEC_V2_GetDecTimeCode()
10611 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetDecTimeCode()
10684 if (!_Attr.bInit) in MApi_VDEC_V2_GetDispTimeCode()
10689 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetDispTimeCode()
10757 if (!_Attr.bInit) in MApi_VDEC_V2_CC_StartParsing()
10762 switch (_Attr.eDecoder) in MApi_VDEC_V2_CC_StartParsing()
10770 _Attr.eCCFormat = pCCParam->eFormat; in MApi_VDEC_V2_CC_StartParsing()
10828 if (!_Attr.bInit) in MApi_VDEC_V2_CC_StopParsing()
10833 switch (_Attr.eDecoder) in MApi_VDEC_V2_CC_StopParsing()
10837 E_MVD_Result ret = MDrv_MVD_CCStopParsing((MVD_CCFormat)_Attr.eCCFormat); in MApi_VDEC_V2_CC_StopParsing()
10900 if (!_Attr.bInit) in MApi_VDEC_V2_CC_GetWritePtr()
10905 switch (_Attr.eDecoder) in MApi_VDEC_V2_CC_GetWritePtr()
10909 E_MVD_Result ret = MDrv_MVD_CCGetWritePtr((MVD_CCFormat)_Attr.eCCFormat, pu32Write); in MApi_VDEC_V2_CC_GetWritePtr()
10971 if (!_Attr.bInit) in MApi_VDEC_V2_CC_GetReadPtr()
10976 switch (_Attr.eDecoder) in MApi_VDEC_V2_CC_GetReadPtr()
10980 E_MVD_Result ret = MDrv_MVD_CCGetReadPtr((MVD_CCFormat)_Attr.eCCFormat, pu32Read); in MApi_VDEC_V2_CC_GetReadPtr()
11041 if (!_Attr.bInit) in MApi_VDEC_V2_CC_UpdateReadPtr()
11046 switch (_Attr.eDecoder) in MApi_VDEC_V2_CC_UpdateReadPtr()
11050 … E_MVD_Result ret = MDrv_MVD_CCUpdateReadPtr((MVD_CCFormat)_Attr.eCCFormat, u32EachPacketSize); in MApi_VDEC_V2_CC_UpdateReadPtr()
11111 if (!_Attr.bInit) in MApi_VDEC_V2_CC_GetIsOverflow()
11116 switch (_Attr.eDecoder) in MApi_VDEC_V2_CC_GetIsOverflow()
11120 … E_MVD_Result ret = MDrv_MVD_CCGetIsOverflow((MVD_CCFormat)_Attr.eCCFormat, pbOverflow); in MApi_VDEC_V2_CC_GetIsOverflow()
11181 if (!_Attr.bInit) in MApi_VDEC_V2_SetEvent()
11193 _Attr.VdecEventInfo[E_VDEC_CB_MAIN].u32EventBitMap = u32EnableEvent; in MApi_VDEC_V2_SetEvent()
11194 _Attr.VdecEventInfo[E_VDEC_CB_MAIN].pVdecEventCb = pfn; in MApi_VDEC_V2_SetEvent()
11195 _Attr.VdecEventInfo[E_VDEC_CB_MAIN].pParam = param; in MApi_VDEC_V2_SetEvent()
11204 _u32VdecIsrEventFlag |= _Attr.VdecEventInfo[i].u32EventBitMap; in MApi_VDEC_V2_SetEvent()
11211 switch (_Attr.eDecoder) in MApi_VDEC_V2_SetEvent()
11428 if (!_Attr.bInit) in MApi_VDEC_V2_UnsetEvent()
11440 _Attr.VdecEventInfo[E_VDEC_CB_MAIN].u32EventBitMap &= ~u32EnableEvent; in MApi_VDEC_V2_UnsetEvent()
11442 if(E_VDEC_EVENT_OFF == _Attr.VdecEventInfo[E_VDEC_CB_MAIN].u32EventBitMap) in MApi_VDEC_V2_UnsetEvent()
11444 _Attr.VdecEventInfo[E_VDEC_CB_MAIN].pVdecEventCb = NULL; in MApi_VDEC_V2_UnsetEvent()
11445 _Attr.VdecEventInfo[E_VDEC_CB_MAIN].pParam = NULL; in MApi_VDEC_V2_UnsetEvent()
11455 _u32VdecIsrEventFlag |= _Attr.VdecEventInfo[i].u32EventBitMap; in MApi_VDEC_V2_UnsetEvent()
11462 switch (_Attr.eDecoder) in MApi_VDEC_V2_UnsetEvent()
11679 if (!_Attr.bInit) in MApi_VDEC_V2_SetEvent_EX()
11691 _Attr.VdecEventInfo[cb_type].u32EventBitMap = u32EnableEvent; in MApi_VDEC_V2_SetEvent_EX()
11692 _Attr.VdecEventInfo[cb_type].pVdecEventCb = pfn; in MApi_VDEC_V2_SetEvent_EX()
11693 _Attr.VdecEventInfo[cb_type].pParam = param; in MApi_VDEC_V2_SetEvent_EX()
11702 _u32VdecIsrEventFlag |= _Attr.VdecEventInfo[cb_type].u32EventBitMap; in MApi_VDEC_V2_SetEvent_EX()
11709 switch (_Attr.eDecoder) in MApi_VDEC_V2_SetEvent_EX()
11922 if (!_Attr.bInit) in MApi_VDEC_V2_UnsetEvent_EX()
11934 _Attr.VdecEventInfo[cb_type].u32EventBitMap &= ~u32EnableEvent; in MApi_VDEC_V2_UnsetEvent_EX()
11936 if(E_VDEC_EVENT_OFF == _Attr.VdecEventInfo[cb_type].u32EventBitMap) in MApi_VDEC_V2_UnsetEvent_EX()
11938 _Attr.VdecEventInfo[cb_type].pVdecEventCb = NULL; in MApi_VDEC_V2_UnsetEvent_EX()
11939 _Attr.VdecEventInfo[cb_type].pParam = NULL; in MApi_VDEC_V2_UnsetEvent_EX()
11949 _u32VdecIsrEventFlag |= _Attr.VdecEventInfo[i].u32EventBitMap; in MApi_VDEC_V2_UnsetEvent_EX()
11956 switch (_Attr.eDecoder) in MApi_VDEC_V2_UnsetEvent_EX()
12163 if (!_Attr.bInit) in MApi_VDEC_V2_GetEventInfo()
12168 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetEventInfo()
12291 if (!_Attr.bInit) in MApi_VDEC_V2_GenPattern()
12296 switch (_Attr.eDecoder) in MApi_VDEC_V2_GenPattern()
12380 if (!_Attr.bInit) in MApi_VDEC_V2_GetPatternLeastLength()
12385 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetPatternLeastLength()
12450 if (!_Attr.bInit) in MApi_VDEC_V2_DisableDeblocking()
12455 switch (_Attr.eDecoder) in MApi_VDEC_V2_DisableDeblocking()
12515 if (!_Attr.bInit) in MApi_VDEC_V2_DisableQuarterPixel()
12520 switch (_Attr.eDecoder) in MApi_VDEC_V2_DisableQuarterPixel()
12580 if (!_Attr.bInit) in MApi_VDEC_V2_SetAutoRmLstZeroByte()
12585 switch (_Attr.eDecoder) in MApi_VDEC_V2_SetAutoRmLstZeroByte()
12651 if (!_Attr.bInit) in MApi_VDEC_V2_SetBalanceBW()
12656 switch (_Attr.eDecoder) in MApi_VDEC_V2_SetBalanceBW()
12707 if (!_Attr.bInit) in MApi_VDEC_V2_DbgDumpStatus()
12712 switch (_Attr.eDecoder) in MApi_VDEC_V2_DbgDumpStatus()
12800 if (!_Attr.bInit) in MApi_VDEC_V2_SetControl()
12929 if (!_Attr.bInit) in MApi_VDEC_V2_GetControl()
13002 if (!_Attr.bInit) in MApi_VDEC_V2_GetDispCnt()
13007 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetDispCnt()
13066 if ((TRUE == _Attr.bInit) && (E_VDEC_DECODER_MVD == _Attr.eDecoder)) in MApi_VDEC_V2_GetFwVersion()
13077 if ((TRUE == _Attr.bInit) && (E_VDEC_DECODER_HVD == _Attr.eDecoder)) in MApi_VDEC_V2_GetFwVersion()
13118 if (!_Attr.bInit) in MApi_VDEC_V2_SetBlockDisplay()
13122 switch (_Attr.eDecoder) in MApi_VDEC_V2_SetBlockDisplay()
13173 if (!_Attr.bInit) in MApi_VDEC_V2_EnableESBuffMalloc()
13177 if ((E_VDEC_DECODER_MVD != _Attr.eDecoder) && in MApi_VDEC_V2_EnableESBuffMalloc()
13178 (E_VDEC_DECODER_HVD != _Attr.eDecoder) && in MApi_VDEC_V2_EnableESBuffMalloc()
13179 (E_VDEC_DECODER_MJPEG != _Attr.eDecoder) && in MApi_VDEC_V2_EnableESBuffMalloc()
13180 (E_VDEC_DECODER_RVD != _Attr.eDecoder)) in MApi_VDEC_V2_EnableESBuffMalloc()
13376 if (!_Attr.bInit) in MApi_VDEC_V2_GetNextDispFrame()
13386 switch (_Attr.eDecoder) in MApi_VDEC_V2_GetNextDispFrame()
13537 if (!_Attr.bInit) in MApi_VDEC_V2_DisplayFrame()
13553 switch (_Attr.eDecoder) in MApi_VDEC_V2_DisplayFrame()
13609 if (!_Attr.bInit) in MApi_VDEC_V2_ReleaseFrame()
13626 switch (_Attr.eDecoder) in MApi_VDEC_V2_ReleaseFrame()
13681 if (!_Attr.bInit) in MApi_VDEC_V2_FlushPTSBuf()
13686 switch (_Attr.eDecoder) in MApi_VDEC_V2_FlushPTSBuf()
13738 if (!_Attr.bInit) in MApi_VDEC_V2_CaptureFrame()
13755 switch (_Attr.eDecoder) in MApi_VDEC_V2_CaptureFrame()
13816 if (!_Attr.bInit) in MApi_VDEC_V2_CC_Init()
13821 switch (_Attr.eDecoder) in MApi_VDEC_V2_CC_Init()
13877 if (!_Attr.bInit) in MApi_VDEC_V2_CC_SetCfg()
13886 switch (_Attr.eDecoder) in MApi_VDEC_V2_CC_SetCfg()
13957 if (!_Attr.bInit) in MApi_VDEC_V2_CC_SetBuffStartAdd()
13966 switch (_Attr.eDecoder) in MApi_VDEC_V2_CC_SetBuffStartAdd()
14037 if (!_Attr.bInit) in MApi_VDEC_V2_CC_UpdateWriteAdd()
14042 switch (_Attr.eDecoder) in MApi_VDEC_V2_CC_UpdateWriteAdd()
14097 if (!_Attr.bInit) in MApi_VDEC_V2_CC_UpdateReadAdd()
14106 switch (_Attr.eDecoder) in MApi_VDEC_V2_CC_UpdateReadAdd()
14176 if (!_Attr.bInit) in MApi_VDEC_V2_CC_DisableParsing()
14181 switch (_Attr.eDecoder) in MApi_VDEC_V2_CC_DisableParsing()
14237 if (!_Attr.bInit) in MApi_VDEC_V2_CC_GetInfo()
14246 switch (_Attr.eDecoder) in MApi_VDEC_V2_CC_GetInfo()
14323 if (!_Attr.bInit) in MApi_VDEC_V2_CC_GetIsRstDone()
14328 switch (_Attr.eDecoder) in MApi_VDEC_V2_CC_GetIsRstDone()
14383 if (!_Attr.bInit) in MApi_VDEC_V2_CC_GetIsBuffOverflow()
14388 switch (_Attr.eDecoder) in MApi_VDEC_V2_CC_GetIsBuffOverflow()
14448 if (!_Attr.bInit) in MApi_VDEC_V2_CC_GetWriteAdd()
14453 switch (_Attr.eDecoder) in MApi_VDEC_V2_CC_GetWriteAdd()
14510 if (!_Attr.bInit) in MApi_VDEC_V2_CC_GetReadAdd()
14515 switch (_Attr.eDecoder) in MApi_VDEC_V2_CC_GetReadAdd()
14621 if (_Attr.bInit) in MApi_VDEC_V2_PreSetControl()