Changeset 19 in SHVCSoftware for trunk/source/Lib/TLibEncoder


Ignore:
Timestamp:
29 Jan 2013, 19:06:14 (12 years ago)
Author:
seregin
Message:

ENCODER_BUGFIX: encoder bug fix for inter mode (L0167)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibEncoder/TEncSearch.cpp

    r17 r19  
    35013501        }
    35023502
     3503#if ENCODER_BUGFIX
     3504        if ( ( iRefList == 0 && uiCostTemp < uiCost[iRefList] ) ||
     3505            ( iRefList == 1 &&  pcCU->getSlice()->getNoBackPredFlag() && iRefIdxTemp == iRefIdx[0] ) ||
     3506            ( iRefList == 1 && !pcCU->getSlice()->getNoBackPredFlag() && uiCostTemp < uiCost[iRefList] ) )
     3507#else
    35033508        if ( ( iRefList == 0 && uiCostTemp < uiCost[iRefList] ) ||
    35043509            ( iRefList == 1 &&  pcCU->getSlice()->getNoBackPredFlag() && iRefIdxTemp == iRefIdx[0] ) ||
    35053510            ( iRefList == 1 && (pcCU->getSlice()->getNumRefIdx(REF_PIC_LIST_C) > 0) && (iRefIdxTemp==0 || iRefIdxTemp == iRefIdx[0]) && !pcCU->getSlice()->getNoBackPredFlag() && (iRefIdxTemp == pcCU->getSlice()->getRefIdxOfL0FromRefIdxOfL1(iRefIdxTemp)) ) ||
    35063511            ( iRefList == 1 && !pcCU->getSlice()->getNoBackPredFlag() && uiCostTemp < uiCost[iRefList] ) )
     3512#endif
    35073513          {
    35083514            uiCost[iRefList] = uiCostTemp;
Note: See TracChangeset for help on using the changeset viewer.