Changeset 399 in SHVCSoftware for branches/SHM-3.1-dev/source/Lib/TLibEncoder
- Timestamp:
- 17 Sep 2013, 19:39:11 (12 years ago)
- Location:
- branches/SHM-3.1-dev/source/Lib/TLibEncoder
- Files:
-
- 2 edited
-
TEncCavlc.cpp (modified) (2 diffs)
-
TEncGOP.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r398 r399 788 788 for( i = 0; i < vps->getMaxLayers() - 1; i++) 789 789 { 790 WRITE_CODE(vps->getMax SublayerForIlpPlus1(i), 3, "max_sublayer_for_ilp_plus1[i]" );790 WRITE_CODE(vps->getMaxTidIlRefPicsPlus1(i), 3, "max_tid_il_ref_pics_plus1[i]" ); 791 791 } 792 792 } … … 794 794 for( i = 0; i < vps->getMaxLayers() - 1; i++) 795 795 { 796 WRITE_CODE(vps->getMax SublayerForIlpPlus1(i), 3, "max_sublayer_for_ilp_plus1[i]" );796 WRITE_CODE(vps->getMaxTidIlRefPicsPlus1(i), 3, "max_tid_il_ref_pics_plus1[i]" ); 797 797 } 798 798 #endif -
branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r389 r399 594 594 #if ILR_RESTR && ILR_RESTR_FIX 595 595 // Apply temporal layer restriction to inter-layer prediction 596 Int max SubLayerForILPPlus1 = m_pcEncTop->getVPS()->getMaxSublayerForIlpPlus1(pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getLayerId());597 if( ((Int)(pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getTLayer())<=max SubLayerForILPPlus1-1) || (maxSubLayerForILPPlus1==0 && pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getRapPicFlag()) )596 Int maxTidIlRefPicsPlus1 = m_pcEncTop->getVPS()->getMaxTidIlRefPicsPlus1(pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getLayerId()); 597 if( ((Int)(pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getTLayer())<=maxTidIlRefPicsPlus1-1) || (maxTidIlRefPicsPlus1==0 && pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getRapPicFlag()) ) 598 598 { 599 599 interLayerPredLayerIdcTmp[activeNumILRRefIdxTmp++] = refLayerIdc; // add picture to the list of valid inter-layer pictures
Note: See TracChangeset for help on using the changeset viewer.