Home
last modified time | relevance | path

Searched refs:pRefPic (Results 1 – 18 of 18) sorted by relevance

/third_party/openh264/codec/decoder/core/src/
Dmanage_dec_ref.cpp49 static PPicture WelsDelShortFromList (PRefPic pRefPic, int32_t iFrameNum);
50 static PPicture WelsDelLongFromList (PRefPic pRefPic, uint32_t uiLongTermFrameIdx);
51 static PPicture WelsDelShortFromListSetUnref (PRefPic pRefPic, int32_t iFrameNum);
52 static PPicture WelsDelLongFromListSetUnref (PRefPic pRefPic, uint32_t uiLongTermFrameIdx);
54 static int32_t MMCO (PWelsDecoderContext pCtx, PRefPic pRefPic, PRefPicMarking pRefPicMarking);
55 static int32_t MMCOProcess (PWelsDecoderContext pCtx, PRefPic pRefPic, uint32_t uiMmcoType,
57 static int32_t SlidingWindow (PWelsDecoderContext pCtx, PRefPic pRefPic);
59 static int32_t AddShortTermToList (PRefPic pRefPic, PPicture pPic);
60 static int32_t AddLongTermToList (PRefPic pRefPic, PPicture pPic, int32_t iLongTermFrameIdx, uint32…
61 static int32_t MarkAsLongTerm (PRefPic pRefPic, int32_t iFrameNum, int32_t iLongTermFrameIdx,
[all …]
Drec_mb.cpp219 PPicture pRefPic; in GetRefPic() local
222 pRefPic = pCtx->sRefPic.pRefList[listIdx][iRefIdx]; in GetRefPic()
224 if (pRefPic != NULL) { in GetRefPic()
225 pMCRefMem->iSrcLineLuma = pRefPic->iLinesize[0]; in GetRefPic()
226 pMCRefMem->iSrcLineChroma = pRefPic->iLinesize[1]; in GetRefPic()
228 pMCRefMem->pSrcY = pRefPic->pData[0]; in GetRefPic()
229 pMCRefMem->pSrcU = pRefPic->pData[1]; in GetRefPic()
230 pMCRefMem->pSrcV = pRefPic->pData[2]; in GetRefPic()
257 PPicture pRefPic = pCtx->sRefPic.pRefList[listIdx][iRefIdx]; in BaseMC() local
260 if (!pRefPic->pReadyEvent[0].isSignaled) { in BaseMC()
[all …]
Ddecoder.cpp220 while (++j < MAX_DPB_COUNT && pPicNewBuf->ppPic[i]->pRefPic[listIdx][j] != NULL) { in DecreasePicBuff()
221 pPicNewBuf->ppPic[i]->pRefPic[listIdx][j] = NULL; in DecreasePicBuff()
Dmv_pred.cpp1165 if (pic1 && pic1->pRefPic[LIST_0][colocRefIndexL0]) { in MapColToList0()
1166 const int32_t iFramePoc = pic1->pRefPic[LIST_0][colocRefIndexL0]->iFramePoc; in MapColToList0()
Ddecoder_core.cpp2544 … pLastThreadCtx->pDec->pRefPic[listIdx][i] = pLastThreadCtx->pCtx->sRefPic.pRefList[listIdx][i]; in DecodeCurrentAccessUnit()
2595 memset (pCtx->pDec->pRefPic[LIST_0], 0, sizeof (PPicture) * MAX_DPB_COUNT); in DecodeCurrentAccessUnit()
2596 memset (pCtx->pDec->pRefPic[LIST_1], 0, sizeof (PPicture) * MAX_DPB_COUNT); in DecodeCurrentAccessUnit()
2833 pCtx->pDec->pRefPic[listIdx][i] = pCtx->sRefPic.pRefList[listIdx][i]; in DecodeCurrentAccessUnit()
/third_party/openh264/codec/encoder/core/src/
Dwels_preprocess.cpp281 …SPicture* pRefPic = GetBestRefPic (pSvcParam->iUsageType, pCtx->bCurFrameMarkedAsSceneLtr, pCtx->e… in AnalyzeSpatialPic() local
284 VaaCalculation (pCtx->pVaa, pCurPic, pRefPic, false, bCalculateVar, bCalculateBGD); in AnalyzeSpatialPic()
287 …BackgroundDetection (pCtx->pVaa, pCurPic, pRefPic, bCalculateBGD && pRefPic->iPictureType != I_SLI… in AnalyzeSpatialPic()
290 AdaptiveQuantCalculation (pCtx->pVaa, pCurPic, pRefPic); in AnalyzeSpatialPic()
293 SPicture* pRefPic = GetBestRefPic (kiDidx, iRefTemporalIdx); in AnalyzeSpatialPic() local
295 bool bCalculateSQDiff = ((pLastPic->pData[0] == pRefPic->pData[0]) && bNeededMbAq); in AnalyzeSpatialPic()
297 VaaCalculation (pCtx->pVaa, pCurPic, pRefPic, bCalculateSQDiff, bCalculateVar, bCalculateBGD); in AnalyzeSpatialPic()
300 …BackgroundDetection (pCtx->pVaa, pCurPic, pRefPic, bCalculateBGD && pRefPic->iPictureType != I_SLI… in AnalyzeSpatialPic()
409 SPicture* pRefPic = pCtx->pLtr[iDependencyId].bReceivedT0LostFlag ? in SingleLayerPreprocess() local
413 pCtx->pVaa->bSceneChangeFlag = GetSceneChangeFlag (DetectSceneChange (pDstPic, pRefPic)); in SingleLayerPreprocess()
[all …]
Dsvc_base_layer_md.cpp341 const int32_t kiRefStrideY = pCurLayer->pRefPic->iLineSize[0]; in WelsMdInterInit()
342 const int32_t kiRefStrideUV = pCurLayer->pRefPic->iLineSize[1]; in WelsMdInterInit()
345 pMbCache->SPicData.pRefMb[0] = pCurLayer->pRefPic->pData[0] + kiCurStrideY; in WelsMdInterInit()
346 pMbCache->SPicData.pRefMb[1] = pCurLayer->pRefPic->pData[1] + kiCurStrideUV; in WelsMdInterInit()
347 pMbCache->SPicData.pRefMb[2] = pCurLayer->pRefPic->pData[2] + kiCurStrideUV; in WelsMdInterInit()
354 pMbCache->uiRefMbType = pCurLayer->pRefPic->uiRefMbType[kiMbXY]; in WelsMdInterInit()
985 pCurLayer->pRefPic->pScreenBlockFeatureStorage, in WelsMdP16x16()
1000 if (pCurLayer->pRefPic->iPictureType == P_SLICE) { in WelsMdP16x16()
1002 SMVUnitXY sTempMv = pCurLayer->pRefPic->sMvList[pCurMb->iMbXY + 1]; in WelsMdP16x16()
1008 SMVUnitXY sTempMv = pCurLayer->pRefPic->sMvList[pCurMb->iMbXY + kiMbWidth]; in WelsMdP16x16()
[all …]
Dsvc_mode_decision.cpp187 const int32_t iChromaRefStride = pCurDqLayer->pRefPic->iLineSize[1]; in CheckChromaCost()
210 pCurDqLayer->pRefPic, iCurMbXy, SMALLEST_INVISIBLE); in CheckChromaCost()
220 const int32_t kiRefMbQp = pCurDqLayer->pRefPic->pRefMbQp[pCurMb->iMbXY]; in WelsMdInterJudgeBGDPskip()
275 uint8_t* pRefPicRefMbQpList = (pCurLayer->pRefPic->pRefMbQp); in WelsMdUpdateBGDInfo()
403 int32_t iLineSizeY = pCurDqLayer->pRefPic->iLineSize[0]; in SvcMdSCDMbEnc()
404 int32_t iLineSizeUV = pCurDqLayer->pRefPic->iLineSize[1]; in SvcMdSCDMbEnc()
473 const int32_t kiRefMbQp = pCurDqLayer->pRefPic->pRefMbQp[pCurMb->iMbXY]; in MdInterSCDPskipProcess()
Dref_list_mgr_svc.cpp825 SPicture* pRefPic = pRefList->pLongRefList[iLtrRefIdx]; in WelsBuildRefListScreen() local
826 if (pRefPic != NULL && pRefPic->bUsedAsRef && pRefPic->bIsLongRef) { in WelsBuildRefListScreen()
827 …if (pRefPic->uiTemporalId <= pCtx->uiTemporalId && (!pCtx->bCurFrameMarkedAsSceneLtr || pRefPic->b… in WelsBuildRefListScreen()
829 pCtx->pRefList0[pCtx->iNumRef0++] = pRefPic; in WelsBuildRefListScreen()
833 pRefPic->iFrameNum, pRefPic->uiTemporalId, pRefPic->bIsSceneLTR, in WelsBuildRefListScreen()
Dsvc_motion_estimate.cpp164 const int32_t kiStrideRef = pCurDqLayer->pRefPic->iLineSize[0]; in WelsMotionEstimateSearch()
179 const int32_t kiStrideRef = pCurDqLayer->pRefPic->iLineSize[0]; in WelsMotionEstimateSearchStatic()
193 const int32_t kiStrideRef = pCurDqLayer->pRefPic->iLineSize[0]; in WelsMotionEstimateSearchScrolled()
Dsvc_encode_slice.cpp1641 pCurSlice->sScaleShift = kuiTemporalId ? (kuiTemporalId - pEncCtx->pRefPic->uiTemporalId) : 0; in WelsCodeOneSlice()
1840 pEncCtx->pRefPic->iPictureType); in WelsMdInterMbLoop()
1949 pEncCtx->pRefPic->iPictureType); in WelsMdInterMbLoopOverDynamicSlice()
Dencoder_ext.cpp2735 …SScreenBlockFeatureStorage* pScreenBlockFeatureStorage = pCurLayer->pRefPic->pScreenBlockFeatureSt… in PreprocessSliceCoding()
2739 …e* pRef = (pCtx->pSvcParam->bEnableLongTermReference ? pCurLayer->pRefOri[0] : pCurLayer->pRefPic); in PreprocessSliceCoding()
2809 pCtx->pRefPic = pCtx->pRefList0[0]; // always get item 0 due to reordering done in PrefetchReferencePicture()
2810 pCtx->pCurDqLayer->pRefPic = pCtx->pRefPic; in PrefetchReferencePicture()
2813 pCtx->pRefPic = NULL; in PrefetchReferencePicture()
2814 pCtx->pCurDqLayer->pRefPic = NULL; in PrefetchReferencePicture()
Dmd.cpp584 const int32_t kiStrideRef = pEncCtx->pCurDqLayer->pRefPic->iLineSize[0]; in MeRefineFracPixel()
/third_party/openh264/test/encoder/
DEncUT_MotionEstimate.cpp13 uint8_t* pRefPic) { in CopyTargetBlock() argument
14 uint8_t* pTargetPos = pRefPic + sTargetMv.iMvY * kiRefPicStride + sTargetMv.iMvX; in CopyTargetBlock()
454 void InitRefPicForMeTest (SPicture* pRefPic) { in InitRefPicForMeTest() argument
455 pRefPic->pData[0] = m_pRefData; in InitRefPicForMeTest()
456 pRefPic->iLineSize[0] = m_iWidth; in InitRefPicForMeTest()
457 pRefPic->iFrameAverageQp = rand() % 52; in InitRefPicForMeTest()
458 pRefPic->iWidthInPixel = m_iWidth; in InitRefPicForMeTest()
459 pRefPic->iHeightInPixel = m_iHeight; in InitRefPicForMeTest()
/third_party/openh264/codec/decoder/core/inc/
Dpicture.h102 struct SPicture* pRefPic[LIST_A][17]; //ref pictures used for direct mode member
/third_party/openh264/codec/encoder/core/inc/
Dsvc_enc_frame.h110 SPicture* pRefPic; // reference picture pointer member
Dencoder_context.h146 SPicture* pRefPic; // pointer to current reference picture member
Dwels_preprocess.h240 …bool JudgeBestRef (SPicture* pRefPic, const SRefJudgement& sRefJudgement, const int64_t iFrameComp…