Changeset 1152 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 8 Jul 2015, 00:24:37 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1151 r1152 2823 2823 } 2824 2824 #endif 2825 #if VPS_TSLAYERS 2825 2826 2826 READ_FLAG( uiCode, "vps_sub_layers_max_minus1_present_flag"); vps->setMaxTSLayersPresentFlag(uiCode ? true : false); 2827 2827 … … 2840 2840 } 2841 2841 } 2842 #endif 2842 2843 2843 READ_FLAG( uiCode, "max_tid_ref_present_flag"); vps->setMaxTidRefPresentFlag(uiCode ? true : false); 2844 if (vps->getMaxTidRefPresentFlag())2845 { 2846 for( i = 0; i < vps->getMaxLayers() - 1; i++)2847 { 2848 for( j = i+1; j < vps->getMaxLayers(); j++ )2849 { 2850 if( vps->getDirectDependencyFlag(j, i))2844 if( vps->getMaxTidRefPresentFlag() ) 2845 { 2846 for( i = 0; i < vps->getMaxLayers() - 1; i++ ) 2847 { 2848 for( j = i+1; j < vps->getMaxLayers(); j++ ) 2849 { 2850 if( vps->getDirectDependencyFlag(j, i) ) 2851 2851 { 2852 2852 READ_CODE( 3, uiCode, "max_tid_il_ref_pics_plus1[i][j]" ); vps->setMaxTidIlRefPicsPlus1(i, j, uiCode);
Note: See TracChangeset for help on using the changeset viewer.