Changeset 862 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 12 Aug 2014, 01:48:03 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r852 r862 1281 1281 vps->setTreePartitionLayerIdList(); 1282 1282 #endif 1283 #if MOVE_ADDN_LS_SIGNALLING 1284 #if Q0078_ADD_LAYER_SETS 1285 if (vps->getNumIndependentLayers() > 1) 1286 { 1287 READ_UVLC(uiCode, "num_add_layer_sets"); vps->setNumAddLayerSets(uiCode); 1288 for (i = 0; i < vps->getNumAddLayerSets(); i++) 1289 { 1290 for (j = 1; j < vps->getNumIndependentLayers(); j++) 1291 { 1292 int len = 1; 1293 while ((1 << len) < (vps->getNumLayersInTreePartition(j) + 1)) 1294 { 1295 len++; 1296 } 1297 READ_CODE(len, uiCode, "highest_layer_idx_plus1[i][j]"); vps->setHighestLayerIdxPlus1(i, j, uiCode); 1298 } 1299 } 1300 vps->setNumLayerSets(vps->getNumLayerSets() + vps->getNumAddLayerSets()); 1301 vps->setLayerIdIncludedFlagsForAddLayerSets(); 1302 } 1303 #endif 1304 #endif 1283 1305 #if VPS_TSLAYERS 1284 1306 READ_FLAG( uiCode, "vps_sub_layers_max_minus1_present_flag"); vps->setMaxTSLayersPresentFlag(uiCode ? true : false); … … 1366 1388 #endif 1367 1389 1390 #if !MOVE_ADDN_LS_SIGNALLING 1368 1391 #if Q0078_ADD_LAYER_SETS 1369 1392 if (vps->getNumIndependentLayers() > 1) … … 1385 1408 vps->setLayerIdIncludedFlagsForAddLayerSets(); 1386 1409 } 1410 #endif 1387 1411 #endif 1388 1412
Note: See TracChangeset for help on using the changeset viewer.