Changeset 484 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib/TLibEncoder
- Timestamp:
- 16 Nov 2013, 00:32:03 (11 years ago)
- Location:
- branches/SHM-4.0-dev/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r479 r484 899 899 for( i = 0; i < vps->getMaxLayers() - 1; i++) 900 900 { 901 #if O0225_MAX_TID_FOR_REF_LAYERS 902 for( j = i+1; j <= vps->getMaxLayers() - 1; j++) 903 { 904 if(vps->getDirectDependencyFlag(j, i)) 905 { 906 WRITE_CODE(vps->getMaxTidIlRefPicsPlus1(i,j), 3, "max_tid_il_ref_pics_plus1[i][j]" ); 907 } 908 } 909 #else 901 910 WRITE_CODE(vps->getMaxTidIlRefPicsPlus1(i), 3, "max_tid_il_ref_pics_plus1[i]" ); 911 #endif 902 912 } 903 913 } … … 905 915 for( i = 0; i < vps->getMaxLayers() - 1; i++) 906 916 { 917 #if O0225_MAX_TID_FOR_REF_LAYERS 918 for( j = i+1; j <= vps->getMaxLayers() - 1; j++) 919 { 920 if(vps->getDirectDependencyFlag(j, i)) 921 { 922 WRITE_CODE(vps->getMaxTidIlRefPicsPlus1(i,j), 3, "max_tid_il_ref_pics_plus1[i][j]" ); 923 } 924 } 925 #else 907 926 WRITE_CODE(vps->getMaxTidIlRefPicsPlus1(i), 3, "max_tid_il_ref_pics_plus1[i]" ); 927 #endif 908 928 } 909 929 #endif -
branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r475 r484 769 769 770 770 // Apply temporal layer restriction to inter-layer prediction 771 #if O0225_MAX_TID_FOR_REF_LAYERS 772 Int maxTidIlRefPicsPlus1 = m_pcEncTop->getVPS()->getMaxTidIlRefPicsPlus1(pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getLayerId(),m_layerId); 773 #else 771 774 Int maxTidIlRefPicsPlus1 = m_pcEncTop->getVPS()->getMaxTidIlRefPicsPlus1(pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getLayerId()); 775 #endif 772 776 if( ((Int)(pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getTLayer())<=maxTidIlRefPicsPlus1-1) || (maxTidIlRefPicsPlus1==0 && pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getRapPicFlag()) ) 773 777 {
Note: See TracChangeset for help on using the changeset viewer.