diff --git a/source/Lib/TLibEncoder/TEncSearch.cpp b/source/Lib/TLibEncoder/TEncSearch.cpp
index d418c73..f880248 100644
a
|
b
|
Void TEncSearch::xCheckBestMVP ( TComDataCU* pcCU, RefPicList eRefPicList, TComM |
3358 | 3358 | |
3359 | 3359 | m_pcRdCost->setPredictor( rcMvPred ); |
3360 | 3360 | Int iOrgMvBits = m_pcRdCost->getBits(cMv.getHor(), cMv.getVer()); |
| 3361 | iOrgMvBits += m_auiMVPIdxCost[riMVPIdx][pcAMVPInfo->iN]; |
3361 | 3362 | Int iBestMvBits = iOrgMvBits; |
3362 | 3363 | |
3363 | 3364 | for (Int iMVPIdx = 0; iMVPIdx < pcAMVPInfo->iN; iMVPIdx++) |
… |
… |
Void TEncSearch::xCheckBestMVP ( TComDataCU* pcCU, RefPicList eRefPicList, TComM |
3367 | 3368 | m_pcRdCost->setPredictor( pcAMVPInfo->m_acMvCand[iMVPIdx] ); |
3368 | 3369 | |
3369 | 3370 | Int iMvBits = m_pcRdCost->getBits(cMv.getHor(), cMv.getVer()); |
| 3371 | iMvBits += m_auiMVPIdxCost[iMVPIdx][pcAMVPInfo->iN]; |
3370 | 3372 | |
3371 | 3373 | if (iMvBits < iBestMvBits) |
3372 | 3374 | { |
… |
… |
Void TEncSearch::xCheckBestMVP ( TComDataCU* pcCU, RefPicList eRefPicList, TComM |
3379 | 3381 | { |
3380 | 3382 | rcMvPred = pcAMVPInfo->m_acMvCand[iBestMVPIdx]; |
3381 | 3383 | |
3382 | | iOrgMvBits += m_auiMVPIdxCost[riMVPIdx][pcAMVPInfo->iN]; |
3383 | | iBestMvBits += m_auiMVPIdxCost[iBestMVPIdx][pcAMVPInfo->iN]; |
3384 | | |
3385 | 3384 | riMVPIdx = iBestMVPIdx; |
3386 | 3385 | UInt uiOrgBits = ruiBits; |
3387 | 3386 | ruiBits = uiOrgBits - iOrgMvBits + iBestMvBits; |