Changeset 270 in SHVCSoftware for branches/SHM-2.1-multilayers-dev


Ignore:
Timestamp:
6 Jun 2013, 05:19:05 (11 years ago)
Author:
seregin
Message:

put back the first solution for the fast encoder mode

Location:
branches/SHM-2.1-multilayers-dev/source/Lib/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.1-multilayers-dev/source/Lib/TLibEncoder/TEncCu.cpp

    r268 r270  
    458458    if (rpcBestCU->getLayerId() > 0)
    459459    {
    460       TComList<TComPic*> *cListPic = m_ppcTEncTop[rpcBestCU->getLayerId()]->getRefLayerEnc(0)->getListPic();
     460      TComList<TComPic*> *cListPic = m_ppcTEncTop[rpcBestCU->getLayerId()]->getRefLayerEnc(rpcBestCU->getLayerId()-1)->getListPic();
    461461      TComPic* picLowerLayer = pcSlice->getRefPic( *cListPic, pcSlice->getPOC() );
    462462      if(picLowerLayer->getSlice(0)->getSliceType() == I_SLICE)
  • branches/SHM-2.1-multilayers-dev/source/Lib/TLibEncoder/TEncSearch.cpp

    r268 r270  
    33133313     
    33143314#if (ENCODER_FAST_MODE)
    3315       if( pcCU->getSlice()->getNumRefIdx(eRefPicList) > 1 )
     3315#if JCTVC_M0458_INTERLAYER_RPS_SIG
     3316      if( pcCU->getSlice()->getNumRefIdx(eRefPicList) - pcCU->getSlice()->getActiveNumILRRefIdx() > Int( pcCU->getSlice()->getActiveNumILRRefIdx() == 0 ) )
     3317#else
     3318      if( pcCU->getSlice()->getNumRefIdx(eRefPicList) - pcCU->getSlice()->getVPS()->getNumDirectRefLayers( pcCU->getLayerId() ) > Int( pcCU->getSlice()->getVPS()->getNumDirectRefLayers( pcCU->getLayerId() ) == 0 ) )
     3319#endif
    33163320      {
    33173321        testILR = false;
Note: See TracChangeset for help on using the changeset viewer.