Changeset 450 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
8 Nov 2013, 07:03:24 (11 years ago)
Author:
seregin
Message:

remove ILR_RESTR and ILR_RESTR_FIX macros

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r448 r450  
    753753    pcSlice->setNalUnitType(getNalUnitType(pocCurr, m_iLastIDR));
    754754#if SVC_EXTENSION
    755 #if ILR_RESTR && ILR_RESTR_FIX
    756     Int interLayerPredLayerIdcTmp[MAX_VPS_LAYER_ID_PLUS1];
    757     Int activeNumILRRefIdxTmp = 0;
    758 #endif
    759755    if (m_layerId > 0)
    760756    {
     757      Int interLayerPredLayerIdcTmp[MAX_VPS_LAYER_ID_PLUS1];
     758      Int activeNumILRRefIdxTmp = 0;
     759
    761760      for( Int i = 0; i < pcSlice->getActiveNumILRRefIdx(); i++ )
    762761      {
     
    769768        pcSlice->setBaseColPic( *cListPic, refLayerIdc );
    770769
    771 #if ILR_RESTR && ILR_RESTR_FIX
    772770        // Apply temporal layer restriction to inter-layer prediction
    773771        Int maxTidIlRefPicsPlus1 = m_pcEncTop->getVPS()->getMaxTidIlRefPicsPlus1(pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getLayerId());
     
    780778          continue; // ILP is not valid due to temporal layer restriction
    781779        }
    782 #endif
    783780
    784781        const Window &scalEL = m_pcEncTop->getScaledRefLayerWindow(refLayerIdc);
     
    809806      }
    810807
    811 #if ILR_RESTR && ILR_RESTR_FIX
    812808      // Update the list of active inter-layer pictures
    813809      for ( Int i = 0; i < activeNumILRRefIdxTmp; i++)
     
    821817        pcSlice->setInterLayerPredEnabledFlag(false);
    822818      }
    823 #endif
    824819     
    825820      if( pocCurr % m_pcCfg->getIntraPeriod() == 0 )
Note: See TracChangeset for help on using the changeset viewer.