Home
last modified time | relevance | path

Searched refs:sMvp (Results 1 – 8 of 8) sorted by relevance

/third_party/openh264/codec/encoder/core/src/
Dmv_pred.cpp45 …(const SMVComponentUnit* kpMvComp, int8_t iPartIdx, int8_t iPartW, int32_t iRef, SMVUnitXY* sMvp) { in PredMv() argument
67 *sMvp = sMvA; in PredMv()
77 *sMvp = sMvA; in PredMv()
80 *sMvp = sMvB; in PredMv()
83 *sMvp = sMvC; in PredMv()
86 sMvp->iMvX = WelsMedian (sMvA.iMvX, sMvB.iMvX, sMvC.iMvX); in PredMv()
87 sMvp->iMvY = WelsMedian (sMvA.iMvY, sMvB.iMvY, sMvC.iMvY); in PredMv()
91 void PredInter8x16Mv (SMbCache* pMbCache, int32_t iPartIdx, int8_t iRef, SMVUnitXY* sMvp) { in PredInter8x16Mv() argument
96 *sMvp = kpMvComp->sMotionVectorCache[6]; in PredInter8x16Mv()
107 *sMvp = kpMvComp->sMotionVectorCache[iIndex]; in PredInter8x16Mv()
[all …]
Dmd.cpp602 …pMe->uSadPredISatd.uiSatd + COST_MVD (pMe->pMvdCost, iMvx - pMe->sMvp.iMvX, iMvy - pMe->sMvp.iMvY); in MeRefineFracPixel()
605 COST_MVD (pMe->pMvdCost, iMvx - pMe->sMvp.iMvX, iMvy - pMe->sMvp.iMvY); in MeRefineFracPixel()
617 COST_MVD (pMe->pMvdCost, iMvx - pMe->sMvp.iMvX, iMvy - 2 - pMe->sMvp.iMvY); in MeRefineFracPixel()
626 COST_MVD (pMe->pMvdCost, iMvx - pMe->sMvp.iMvX, iMvy + 2 - pMe->sMvp.iMvY); in MeRefineFracPixel()
639 COST_MVD (pMe->pMvdCost, iMvx - 2 - pMe->sMvp.iMvX, iMvy - pMe->sMvp.iMvY); in MeRefineFracPixel()
648 COST_MVD (pMe->pMvdCost, iMvx + 2 - pMe->sMvp.iMvX, iMvy - pMe->sMvp.iMvY); in MeRefineFracPixel()
672 …sParams.iLms[0] = COST_MVD (pMe->pMvdCost, iHalfMvx - pMe->sMvp.iMvX, iHalfMvy - 1 - pMe->sMvp.iMv… in MeRefineFracPixel()
673 …sParams.iLms[1] = COST_MVD (pMe->pMvdCost, iHalfMvx - pMe->sMvp.iMvX, iHalfMvy + 1 - pMe->sMvp.iMv… in MeRefineFracPixel()
674 …sParams.iLms[2] = COST_MVD (pMe->pMvdCost, iHalfMvx - 1 - pMe->sMvp.iMvX, iHalfMvy - pMe->sMvp.iMv… in MeRefineFracPixel()
675 …sParams.iLms[3] = COST_MVD (pMe->pMvdCost, iHalfMvx + 1 - pMe->sMvp.iMvX, iHalfMvy - pMe->sMvp.iMv… in MeRefineFracPixel()
[all …]
Dsvc_motion_estimate.cpp184 pMe->uiSadCost += COST_MVD (pMe->pMvdCost, - pMe->sMvp.iMvX, - pMe->sMvp.iMvY); in WelsMotionEstimateSearchStatic()
199 …D (pMe->pMvdCost, (pMe->sMv.iMvX * (1 << 2)) - pMe->sMvp.iMvX, (pMe->sMv.iMvY * (1 << 2)) - pMe->s… in WelsMotionEstimateSearchScrolled()
229 const SMVUnitXY ksMvp = pMe->sMvp; in WelsMotionEstimateInitialPoint()
281 …pMe->uiSatdCost = pMe->uSadPredISatd.uiSatd + COST_MVD (pMe->pMvdCost, pMe->sMv.iMvX - pMe->sMvp.i… in CalculateSatdCost()
282 pMe->sMv.iMvY - pMe->sMvp.iMvY); in CalculateSatdCost()
338 int32_t iMvDx = ((pMe->sMv.iMvX) * (1 << 2)) - pMe->sMvp.iMvX; in WelsDiamondSearch()
339 int32_t iMvDy = ((pMe->sMv.iMvY) * (1 << 2)) - pMe->sMvp.iMvY; in WelsDiamondSearch()
348 pMe->sMv.iMvX = (iMvDx + pMe->sMvp.iMvX) >> 2; in WelsDiamondSearch()
349 pMe->sMv.iMvY = (iMvDy + pMe->sMvp.iMvY) >> 2; in WelsDiamondSearch()
368 pMe->sMv.iMvX = (iMvDx + pMe->sMvp.iMvX) >> 2; in WelsDiamondSearch()
[all …]
Dsvc_base_layer_md.cpp1015 PredMv (&pMbCache->sMvComponents, 0, 4, 0, & (pMe16x16->sMvp)); in WelsMdP16x16()
1045 PredInter16x8Mv (pMbCache, i << 3, 0, & (sMe16x8->sMvp)); in WelsMdP16x8()
1073 PredInter8x16Mv (pMbCache, i << 2, 0, & (sMe8x16->sMvp)); in WelsMdP8x16()
1111 PredMv (&pMbCache->sMvComponents, i << 2, 2, pWelsMd->uiRef, & (sMe8x8->sMvp)); in WelsMdP8x8()
1151 PredMv (&pMbCache->sMvComponents, iPartIdx, 1, pWelsMd->uiRef, & (sMe4x4->sMvp)); in WelsMdP4x4()
1190 PredMv (&pMbCache->sMvComponents, iPartIdx, 2, pWelsMd->uiRef, & (sMe8x4->sMvp)); in WelsMdP8x4()
1230 PredMv (&pMbCache->sMvComponents, iPartIdx, 1, pWelsMd->uiRef, & (sMe4x8->sMvp)); in WelsMdP4x8()
1356 SMVUnitXY sMvp = { 0 }; in WelsMdBackgroundMbEnc() local
1373 pFunc->sMcFuncs.pMcChromaFunc (pRefCb, iLineSizeUV, pDstCb, 8, sMvp.iMvX, sMvp.iMvY, 8, 8); //Cb in WelsMdBackgroundMbEnc()
1374 pFunc->sMcFuncs.pMcChromaFunc (pRefCr, iLineSizeUV, pDstCr, 8, sMvp.iMvX, sMvp.iMvY, 8, 8); //Cr in WelsMdBackgroundMbEnc()
[all …]
Dsvc_mode_decision.cpp397 SMVUnitXY sMvp = { 0}; in SvcMdSCDMbEnc() local
398 ST16 (&sMvp.iMvX, sCurMbMv[eSkipMode].iMvX); in SvcMdSCDMbEnc()
399 ST16 (&sMvp.iMvY, sCurMbMv[eSkipMode].iMvY); in SvcMdSCDMbEnc()
419 …pFunc->sMcFuncs.pMcChromaFunc (pRefCb + iOffsetUV, iLineSizeUV, pDstCb, 8, sMvp.iMvX, sMvp.iMvY, 8… in SvcMdSCDMbEnc()
420 …pFunc->sMcFuncs.pMcChromaFunc (pRefCr + iOffsetUV, iLineSizeUV, pDstCr, 8, sMvp.iMvX, sMvp.iMvY, 8… in SvcMdSCDMbEnc()
438 pFunc->pfUpdateMbMv (pCurMb->sMv, sMvp); in SvcMdSCDMbEnc()
449 PredMv (&pMbCache->sMvComponents, 0, 4, 0, &pWelsMd->sMe.sMe16x16.sMvp); in SvcMdSCDMbEnc()
450 pMbCache->sMbMvp[0] = pWelsMd->sMe.sMe16x16.sMvp; in SvcMdSCDMbEnc()
595 PredInter16x8Mv (pMbCache, 0, 0, & (pWelsMd->sMe.sMe16x8[0].sMvp)); in TryModeMerge()
596 PredInter16x8Mv (pMbCache, 8, 0, & (pWelsMd->sMe.sMe16x8[1].sMvp)); in TryModeMerge()
[all …]
/third_party/openh264/codec/encoder/core/inc/
Dmv_pred.h115 … (const SMVComponentUnit* kpMvComp, int8_t iPartIdx, int8_t iPartW, int32_t iRef, SMVUnitXY* sMvp);
123 void PredSkipMv (SMbCache* pMbCache, SMVUnitXY* sMvp);
131 void PredInter16x8Mv (SMbCache* pMbCache, int32_t iPartIdx, int8_t iRef, SMVUnitXY* sMvp);
139 void PredInter8x16Mv (SMbCache* pMbCache, int32_t iPartIdx, int8_t iRef, SMVUnitXY* sMvp);
Dsvc_motion_estimate.h89 SMVUnitXY sMvp; member
/third_party/openh264/test/encoder/
DEncUT_MotionEstimate.cpp29 pMe->sMvp.iMvX = pMe->sMvp.iMvY = 0; in InitMe()
219 sMe.sMvp.iMvX = rand() % m_iMvRange; in TEST_F()
220 sMe.sMvp.iMvY = rand() % m_iMvRange; in TEST_F()
227 sMe.sMv.iMvX = sMe.sMvp.iMvX; in TEST_F()
228 sMe.sMv.iMvY = sMe.sMvp.iMvY; in TEST_F()
235 sMe.pRefMb = pRef + sMe.sMvp.iMvY * m_iWidthExt; in TEST_F()
276 sMe.sMvp.iMvX = rand() % m_iMvRange; in TEST_F()
277 sMe.sMvp.iMvY = rand() % m_iMvRange; in TEST_F()
341 uint16_t* pMvdCostX = sMe.pMvdCost - iCurMeBlockQpelPixX - sMe.sMvp.iMvX; //do the offset here in DoLineTest()
342 uint16_t* pMvdCostY = sMe.pMvdCost - iCurMeBlockQpelPixY - sMe.sMvp.iMvY; in DoLineTest()