Changeset 665 in SHVCSoftware for branches/SHM-6-dev/source/Lib/TLibDecoder
- Timestamp:
- 10 Apr 2014, 18:06:20 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r664 r665 1133 1133 #endif 1134 1134 #if VPS_TSLAYERS 1135 READ_FLAG( uiCode, "vps_sub_layers_max_minus1_present_flag"); vps->setMaxTSLayersPresentFlag(uiCode ? true : false); 1136 if (vps->getMaxTSLayersPresentFlag()) 1137 { 1138 for(i = 0; i < vps->getMaxLayers(); i++) 1139 { 1140 READ_CODE( 3, uiCode, "sub_layers_vps_max_minus1[i]" ); vps->setMaxTSLayersMinus1(i, uiCode); 1141 } 1142 } 1143 else 1144 { 1145 for( i = 0; i < vps->getMaxLayers(); i++) 1146 { 1147 vps->setMaxTSLayersMinus1(i, vps->getMaxTLayers()-1); 1148 } 1149 } 1135 READ_FLAG( uiCode, "vps_sub_layers_max_minus1_present_flag"); vps->setMaxTSLayersPresentFlag(uiCode ? true : false); 1136 1137 if (vps->getMaxTSLayersPresentFlag()) 1138 { 1139 for(i = 0; i < vps->getMaxLayers(); i++) 1140 { 1141 READ_CODE( 3, uiCode, "sub_layers_vps_max_minus1[i]" ); vps->setMaxTSLayersMinus1(i, uiCode); 1142 } 1143 } 1144 else 1145 { 1146 for( i = 0; i < vps->getMaxLayers(); i++) 1147 { 1148 vps->setMaxTSLayersMinus1(i, vps->getMaxTLayers()-1); 1149 } 1150 } 1150 1151 #endif 1151 1152 #if N0120_MAX_TID_REF_PRESENT_FLAG … … 1268 1269 READ_UVLC( uiCode, "num_add_output_layer_sets" ); vps->setNumAddOutputLayerSets( uiCode ); 1269 1270 #endif 1271 1272 // The value of num_add_output_layer_sets shall be in the range of 0 to 1023, inclusive. 1273 assert( vps->getNumAddOutputLayerSets() >= 0 && vps->getNumAddOutputLayerSets() < 1024 ); 1274 1270 1275 Int numOutputLayerSets = vps->getNumLayerSets() + vps->getNumAddOutputLayerSets(); 1271 1276 #endif
Note: See TracChangeset for help on using the changeset viewer.