Ticket #953: TEncSearch.cpp.patch
File TEncSearch.cpp.patch, 859 bytes (added by hyang, 12 years ago) |
---|
-
source/Lib/TLibEncoder/TEncSearch.cpp
3502 3502 3503 3503 if ( ( iRefList == 0 && uiCostTemp < uiCost[iRefList] ) || 3504 3504 ( iRefList == 1 && pcCU->getSlice()->getNoBackPredFlag() && iRefIdxTemp == iRefIdx[0] ) || 3505 ( iRefList == 1 && (pcCU->getSlice()->getNumRefIdx(REF_PIC_LIST_C) > 0) && (iRefIdxTemp==0 || iRefIdxTemp == iRefIdx[0]) && !pcCU->getSlice()->getNoBackPredFlag() && (iRefIdxTemp == pcCU->getSlice()->getRefIdxOfL0FromRefIdxOfL1(iRefIdxTemp)) ) ||3506 3505 ( iRefList == 1 && !pcCU->getSlice()->getNoBackPredFlag() && uiCostTemp < uiCost[iRefList] ) ) 3507 3506 { 3508 3507 uiCost[iRefList] = uiCostTemp;