Changeset 450 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib/TLibEncoder
- Timestamp:
- 8 Nov 2013, 07:03:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r448 r450 753 753 pcSlice->setNalUnitType(getNalUnitType(pocCurr, m_iLastIDR)); 754 754 #if SVC_EXTENSION 755 #if ILR_RESTR && ILR_RESTR_FIX756 Int interLayerPredLayerIdcTmp[MAX_VPS_LAYER_ID_PLUS1];757 Int activeNumILRRefIdxTmp = 0;758 #endif759 755 if (m_layerId > 0) 760 756 { 757 Int interLayerPredLayerIdcTmp[MAX_VPS_LAYER_ID_PLUS1]; 758 Int activeNumILRRefIdxTmp = 0; 759 761 760 for( Int i = 0; i < pcSlice->getActiveNumILRRefIdx(); i++ ) 762 761 { … … 769 768 pcSlice->setBaseColPic( *cListPic, refLayerIdc ); 770 769 771 #if ILR_RESTR && ILR_RESTR_FIX772 770 // Apply temporal layer restriction to inter-layer prediction 773 771 Int maxTidIlRefPicsPlus1 = m_pcEncTop->getVPS()->getMaxTidIlRefPicsPlus1(pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getLayerId()); … … 780 778 continue; // ILP is not valid due to temporal layer restriction 781 779 } 782 #endif783 780 784 781 const Window &scalEL = m_pcEncTop->getScaledRefLayerWindow(refLayerIdc); … … 809 806 } 810 807 811 #if ILR_RESTR && ILR_RESTR_FIX812 808 // Update the list of active inter-layer pictures 813 809 for ( Int i = 0; i < activeNumILRRefIdxTmp; i++) … … 821 817 pcSlice->setInterLayerPredEnabledFlag(false); 822 818 } 823 #endif824 819 825 820 if( pocCurr % m_pcCfg->getIntraPeriod() == 0 )
Note: See TracChangeset for help on using the changeset viewer.