Changeset 664 in SHVCSoftware for branches/SHM-6-dev/source/Lib/TLibDecoder
- Timestamp:
- 10 Apr 2014, 03:34:55 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r663 r664 1254 1254 } 1255 1255 #else 1256 1257 #if Q0165_NUM_ADD_OUTPUT_LAYER_SETS 1258 if( vps->getNumLayerSets() > 1 ) 1259 { 1260 READ_UVLC( uiCode, "num_add_output_layer_sets" ); vps->setNumAddOutputLayerSets( uiCode ); 1261 READ_CODE( 2, uiCode, "default_target_output_layer_idc" ); vps->setDefaultTargetOutputLayerIdc( uiCode ); 1262 } 1263 else 1264 { 1265 vps->setNumAddOutputLayerSets( 0 ); 1266 } 1267 #else 1256 1268 READ_UVLC( uiCode, "num_add_output_layer_sets" ); vps->setNumAddOutputLayerSets( uiCode ); 1269 #endif 1257 1270 Int numOutputLayerSets = vps->getNumLayerSets() + vps->getNumAddOutputLayerSets(); 1258 1271 #endif 1259 1272 1260 1273 #if P0295_DEFAULT_OUT_LAYER_IDC 1274 #if !Q0165_NUM_ADD_OUTPUT_LAYER_SETS 1261 1275 if( numOutputLayerSets > 1 ) 1262 1276 { 1263 1277 READ_CODE( 2, uiCode, "default_target_output_layer_idc" ); vps->setDefaultTargetOutputLayerIdc( uiCode ); 1264 1278 } 1279 #endif 1265 1280 vps->setNumOutputLayerSets( numOutputLayerSets ); 1266 1281 … … 1334 1349 vps->setAltOuputLayerFlag(i, uiCode ? true : false); 1335 1350 } 1351 #if Q0165_OUTPUT_LAYER_SET 1352 assert( NumOutputLayersInOutputLayerSet[i]>0 ); 1353 #endif 1354 1336 1355 #endif 1337 1356 }
Note: See TracChangeset for help on using the changeset viewer.