Home
last modified time | relevance | path

Searched refs:iCurCost (Results 1 – 4 of 4) sorted by relevance

/third_party/openh264/codec/encoder/core/src/
Dsample.cpp159 int32_t iCurCost, iBestCost = INT_MAX; in WelsSampleSatdIntra4x4Combined3_c() local
163 iCurCost = WelsSampleSatd4x4_c (uiLocalBuffer[2], 4, pEnc, iEncStride) + iLambda2; in WelsSampleSatdIntra4x4Combined3_c()
164 if (iCurCost < iBestCost) { in WelsSampleSatdIntra4x4Combined3_c()
166 iBestCost = iCurCost; in WelsSampleSatdIntra4x4Combined3_c()
170 iCurCost = WelsSampleSatd4x4_c (uiLocalBuffer[1], 4, pEnc, iEncStride) + iLambda1; in WelsSampleSatdIntra4x4Combined3_c()
171 if (iCurCost < iBestCost) { in WelsSampleSatdIntra4x4Combined3_c()
173 iBestCost = iCurCost; in WelsSampleSatdIntra4x4Combined3_c()
176 iCurCost = WelsSampleSatd4x4_c (uiLocalBuffer[0], 4, pEnc, iEncStride) + iLambda0; in WelsSampleSatdIntra4x4Combined3_c()
177 if (iCurCost < iBestCost) { in WelsSampleSatdIntra4x4Combined3_c()
179 iBestCost = iCurCost; in WelsSampleSatdIntra4x4Combined3_c()
[all …]
Dsvc_base_layer_md.cpp375 int32_t i, iCurCost, iCurMode, iBestMode, iBestCost = INT_MAX; in WelsMdI16x16() local
385iCurCost = pFunc->sSampleDealingFuncs.pfMdCost[BLOCK_16x16] (pDst, 16, pEnc, iLineSizeEnc) + iLamb… in WelsMdI16x16()
386 if (iCurCost < iBestCost) { in WelsMdI16x16()
388 iBestCost = iCurCost; in WelsMdI16x16()
402 iCurCost = pFunc->sSampleDealingFuncs.pfMdCost[BLOCK_16x16] (pDst, 16, pEnc, iLineSizeEnc); in WelsMdI16x16()
403 iCurCost += iLambda * (BsSizeUE (g_kiMapModeI16x16[iCurMode])); in WelsMdI16x16()
404 if (iCurCost < iBestCost) { in WelsMdI16x16()
406 iBestCost = iCurCost; in WelsMdI16x16()
431 int32_t iCurCost, iBestCost; in WelsMdI4x4() local
491iCurCost = pFunc->sSampleDealingFuncs.pfSampleSatd[BLOCK_4x4] (pDst, 4, pCurEnc, kiLineSizeEnc) + in WelsMdI4x4()
[all …]
Dmd.cpp525 pParams->iBestCost = iCurCost;\
535 int32_t iCurCost; in MeRefineQuarPixel() local
543 iCurCost = CALC_COST (pMeRefine->pQuarPixTmp, pParams->iLms[0]); in MeRefineQuarPixel()
544 if (iCurCost < pParams->iBestCost) { in MeRefineQuarPixel()
551 iCurCost = CALC_COST (pMeRefine->pQuarPixTmp, pParams->iLms[1]); in MeRefineQuarPixel()
552 if (iCurCost < pParams->iBestCost) { in MeRefineQuarPixel()
559 iCurCost = CALC_COST (pMeRefine->pQuarPixTmp, pParams->iLms[2]); in MeRefineQuarPixel()
560 if (iCurCost < pParams->iBestCost) { in MeRefineQuarPixel()
568 iCurCost = CALC_COST (pMeRefine->pQuarPixTmp, pParams->iLms[3]); in MeRefineQuarPixel()
569 if (iCurCost < pParams->iBestCost) { in MeRefineQuarPixel()
[all …]
Dsvc_mode_decision.cpp165 inline bool IsCostLessEqualSkipCost (int32_t iCurCost, const int32_t iPredPskipSad, const int32_t i… in IsCostLessEqualSkipCost() argument
167 return ((iPredPskipSad > iSmallestInvisibleTh && iCurCost >= iPredPskipSad) || in IsCostLessEqualSkipCost()
171 iCurCost >= (pRef->pMbSkipSad[iMbXy]))); in IsCostLessEqualSkipCost()