Ticket #953: TEncSearch.cpp.patch

File TEncSearch.cpp.patch, 859 bytes (added by hyang, 12 years ago)
  • source/Lib/TLibEncoder/TEncSearch.cpp

     
    35023502
    35033503        if ( ( iRefList == 0 && uiCostTemp < uiCost[iRefList] ) ||
    35043504            ( 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)) ) ||
    35063505            ( iRefList == 1 && !pcCU->getSlice()->getNoBackPredFlag() && uiCostTemp < uiCost[iRefList] ) )
    35073506          {
    35083507            uiCost[iRefList] = uiCostTemp;