Lines Matching refs:VideoInfo

3572     _Attr.eSrcMode      = pInitParam->VideoInfo.eSrcMode;  in MApi_VDEC_V2_Init()
3717 if (E_VDEC_TIME_STAMP_DTS == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init()
3721 else if (E_VDEC_TIME_STAMP_PTS == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init()
3725 else if (E_VDEC_TIME_STAMP_NONE == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init()
3729 else if (E_VDEC_TIME_STAMP_STS == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init()
3733 … else if (E_VDEC_TIME_STAMP_DTS_MPEG_DIRECTV_SD == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init()
3737 … else if (E_VDEC_TIME_STAMP_PTS_MPEG_DIRECTV_SD == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init()
3744 printf("Invalid sync type %d for MVD\n", pInitParam->VideoInfo.eTimeStampType); in MApi_VDEC_V2_Init()
3761 stFrminfo.u16HorSize = pInitParam->VideoInfo.u16Width[0]; in MApi_VDEC_V2_Init()
3762 stFrminfo.u16VerSize = pInitParam->VideoInfo.u16Height[0]; in MApi_VDEC_V2_Init()
3764 MS_U64 u64Tmp = (MS_U64)pInitParam->VideoInfo.u32FrameRate * 1000; in MApi_VDEC_V2_Init()
3765 do_div(u64Tmp, pInitParam->VideoInfo.u32FrameRateBase); in MApi_VDEC_V2_Init()
3769 …(MS_U32)(((MS_U64)pInitParam->VideoInfo.u32FrameRate * 1000) / pInitParam->VideoInfo.u32FrameRateB… in MApi_VDEC_V2_Init()
3773 pInitParam->VideoInfo.u16Width[0],pInitParam->VideoInfo.u16Height[0], in MApi_VDEC_V2_Init()
3774 pInitParam->VideoInfo.u32FrameRate, pInitParam->VideoInfo.u32FrameRateBase); in MApi_VDEC_V2_Init()
3784 if(pInitParam->VideoInfo.u32FrameRateBase == 0) in MApi_VDEC_V2_Init()
3787 pInitParam->VideoInfo.u32FrameRateBase = 1; in MApi_VDEC_V2_Init()
3790 MS_U64 u64Tmp = (MS_U64)pInitParam->VideoInfo.u32FrameRate * 1000; in MApi_VDEC_V2_Init()
3791 do_div(u64Tmp, pInitParam->VideoInfo.u32FrameRateBase); in MApi_VDEC_V2_Init()
3795 …(MS_U32)(((MS_U64)pInitParam->VideoInfo.u32FrameRate * 1000) / pInitParam->VideoInfo.u32FrameRateB… in MApi_VDEC_V2_Init()
3897 if (E_VDEC_TIME_STAMP_STS == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init()
3901 else if (E_VDEC_TIME_STAMP_NONE == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init()
3905 else if (E_VDEC_TIME_STAMP_DTS == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init()
3909 else if (E_VDEC_TIME_STAMP_PTS == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init()
3915 printf("Invalid sync type %d\n", pInitParam->VideoInfo.eTimeStampType); in MApi_VDEC_V2_Init()
3922 if (pInitParam->VideoInfo.bWithoutNalStCode) in MApi_VDEC_V2_Init()
3932 stInitSettings.u32FrameRate = pInitParam->VideoInfo.u32FrameRate; in MApi_VDEC_V2_Init()
3933 stInitSettings.u32FrameRateBase = pInitParam->VideoInfo.u32FrameRateBase; in MApi_VDEC_V2_Init()
3965 stRVInfo.ulNumSizes = pInitParam->VideoInfo.u16NumSizes; in MApi_VDEC_V2_Init()
3966 …_VDEC_Memcpy(stRVInfo.ulPicSizes_w, pInitParam->VideoInfo.u16Width, sizeof(pInitParam->VideoInfo.u… in MApi_VDEC_V2_Init()
3967 …_VDEC_Memcpy(stRVInfo.ulPicSizes_h, pInitParam->VideoInfo.u16Height, sizeof(pInitParam->VideoInfo.… in MApi_VDEC_V2_Init()
4029 initParam.u32FrameRate = pInitParam->VideoInfo.u32FrameRate; in MApi_VDEC_V2_Init()
4030 initParam.u32FrameRateBase= pInitParam->VideoInfo.u32FrameRateBase; in MApi_VDEC_V2_Init()
4033 initParam.u32Width = (MS_U32)pInitParam->VideoInfo.u16Width[0]; in MApi_VDEC_V2_Init()
4034 initParam.u32Height = (MS_U32)pInitParam->VideoInfo.u16Height[0]; in MApi_VDEC_V2_Init()
4062 info.ulNumSizes = pInitParam->VideoInfo.u16NumSizes; in MApi_VDEC_V2_Init()
4063 …_VDEC_Memcpy(info.ulPicSizes_w, pInitParam->VideoInfo.u16Width, sizeof(pInitParam->VideoInfo.u16Wi… in MApi_VDEC_V2_Init()
4064 …_VDEC_Memcpy(info.ulPicSizes_h, pInitParam->VideoInfo.u16Height, sizeof(pInitParam->VideoInfo.u16H… in MApi_VDEC_V2_Init()
4188 _Attr.eSrcMode = pInitParam->VideoInfo.eSrcMode; in MApi_VDEC_V2_Init_EX()
4320 if (E_VDEC_TIME_STAMP_DTS == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init_EX()
4324 else if (E_VDEC_TIME_STAMP_PTS == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init_EX()
4328 else if (E_VDEC_TIME_STAMP_NONE == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init_EX()
4332 else if (E_VDEC_TIME_STAMP_STS == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init_EX()
4336 … else if (E_VDEC_TIME_STAMP_DTS_MPEG_DIRECTV_SD == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init_EX()
4340 … else if (E_VDEC_TIME_STAMP_PTS_MPEG_DIRECTV_SD == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init_EX()
4347 … printf("Invalid sync type %d for MVD\n", pInitParam->VideoInfo.eTimeStampType); in MApi_VDEC_V2_Init_EX()
4364 stFrminfo.u16HorSize = pInitParam->VideoInfo.u16Width[0]; in MApi_VDEC_V2_Init_EX()
4365 stFrminfo.u16VerSize = pInitParam->VideoInfo.u16Height[0]; in MApi_VDEC_V2_Init_EX()
4367 MS_U64 u64Tmp = (MS_U64)pInitParam->VideoInfo.u32FrameRate * 1000; in MApi_VDEC_V2_Init_EX()
4368 do_div(u64Tmp, pInitParam->VideoInfo.u32FrameRateBase); in MApi_VDEC_V2_Init_EX()
4372 …(MS_U32)(((MS_U64)pInitParam->VideoInfo.u32FrameRate * 1000) / pInitParam->VideoInfo.u32FrameRateB… in MApi_VDEC_V2_Init_EX()
4376 pInitParam->VideoInfo.u16Width[0],pInitParam->VideoInfo.u16Height[0], in MApi_VDEC_V2_Init_EX()
4377 … pInitParam->VideoInfo.u32FrameRate, pInitParam->VideoInfo.u32FrameRateBase); in MApi_VDEC_V2_Init_EX()
4387 if(pInitParam->VideoInfo.u32FrameRateBase == 0) in MApi_VDEC_V2_Init_EX()
4390 pInitParam->VideoInfo.u32FrameRateBase = 1; in MApi_VDEC_V2_Init_EX()
4393 MS_U64 u64Tmp = (MS_U64)pInitParam->VideoInfo.u32FrameRate * 1000; in MApi_VDEC_V2_Init_EX()
4394 do_div(u64Tmp, pInitParam->VideoInfo.u32FrameRateBase); in MApi_VDEC_V2_Init_EX()
4398 …(MS_U32)(((MS_U64)pInitParam->VideoInfo.u32FrameRate * 1000) / pInitParam->VideoInfo.u32FrameRateB… in MApi_VDEC_V2_Init_EX()
4490 if (E_VDEC_TIME_STAMP_STS == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init_EX()
4494 else if (E_VDEC_TIME_STAMP_NONE == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init_EX()
4498 else if (E_VDEC_TIME_STAMP_DTS == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init_EX()
4502 else if (E_VDEC_TIME_STAMP_PTS == pInitParam->VideoInfo.eTimeStampType) in MApi_VDEC_V2_Init_EX()
4508 printf("Invalid sync type %d\n", pInitParam->VideoInfo.eTimeStampType); in MApi_VDEC_V2_Init_EX()
4515 if (pInitParam->VideoInfo.bWithoutNalStCode) in MApi_VDEC_V2_Init_EX()
4525 stInitSettings.u32FrameRate = pInitParam->VideoInfo.u32FrameRate; in MApi_VDEC_V2_Init_EX()
4526 stInitSettings.u32FrameRateBase = pInitParam->VideoInfo.u32FrameRateBase; in MApi_VDEC_V2_Init_EX()
4561 stRVInfo.ulNumSizes = pInitParam->VideoInfo.u16NumSizes; in MApi_VDEC_V2_Init_EX()
4562 …_VDEC_Memcpy(stRVInfo.ulPicSizes_w, pInitParam->VideoInfo.u16Width, sizeof(pInitParam->VideoInfo.u… in MApi_VDEC_V2_Init_EX()
4563 …_VDEC_Memcpy(stRVInfo.ulPicSizes_h, pInitParam->VideoInfo.u16Height, sizeof(pInitParam->VideoInfo.… in MApi_VDEC_V2_Init_EX()
4628 initParam.u32FrameRate = pInitParam->VideoInfo.u32FrameRate; in MApi_VDEC_V2_Init_EX()
4629 initParam.u32FrameRateBase= pInitParam->VideoInfo.u32FrameRateBase; in MApi_VDEC_V2_Init_EX()
4656 info.ulNumSizes = pInitParam->VideoInfo.u16NumSizes; in MApi_VDEC_V2_Init_EX()
4657 …_VDEC_Memcpy(info.ulPicSizes_w, pInitParam->VideoInfo.u16Width, sizeof(pInitParam->VideoInfo.u16Wi… in MApi_VDEC_V2_Init_EX()
4658 …_VDEC_Memcpy(info.ulPicSizes_h, pInitParam->VideoInfo.u16Height, sizeof(pInitParam->VideoInfo.u16H… in MApi_VDEC_V2_Init_EX()
8190 if (E_VDEC_SRC_MODE_DTV == _vdecInitParam.VideoInfo.eSrcMode || in MApi_VDEC_V2_MHEG_DecodeIFrame()
8191 E_VDEC_SRC_MODE_TS_FILE == _vdecInitParam.VideoInfo.eSrcMode) in MApi_VDEC_V2_MHEG_DecodeIFrame()
8197 stVdecInitParam.VideoInfo.eSrcMode = E_VDEC_SRC_MODE_FILE; in MApi_VDEC_V2_MHEG_DecodeIFrame()
8207 if (E_VDEC_SRC_MODE_DTV == _vdecInitParam_ex1.VideoInfo.eSrcMode || in MApi_VDEC_V2_MHEG_DecodeIFrame()
8208 E_VDEC_SRC_MODE_TS_FILE == _vdecInitParam_ex1.VideoInfo.eSrcMode) in MApi_VDEC_V2_MHEG_DecodeIFrame()
8214 stVdecInitParam_ex1.VideoInfo.eSrcMode = E_VDEC_SRC_MODE_FILE; in MApi_VDEC_V2_MHEG_DecodeIFrame()