Changeset 602 in SHVCSoftware for branches/SHM-5.1-dev/source/Lib/TLibDecoder
- Timestamp:
- 7 Feb 2014, 14:37:05 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r595 r602 970 970 UInt uiCode; 971 971 // ... More syntax elements to be parsed here 972 #if P0300_ALT_OUTPUT_LAYER_FLAG 973 Int NumOutputLayersInOutputLayerSet[MAX_VPS_LAYER_SETS_PLUS1]; 974 Int OlsHighestOutputLayerId[MAX_VPS_LAYER_SETS_PLUS1]; 975 #endif 972 976 #if VPS_EXTN_MASK_AND_DIM_INFO 973 977 UInt numScalabilityTypes = 0, i = 0, j = 0; … … 1269 1273 } 1270 1274 READ_CODE( numBits, uiCode, "profile_level_tier_idx[i]" ); vps->setProfileLevelTierIdx(i, uiCode); 1275 #if P0300_ALT_OUTPUT_LAYER_FLAG 1276 NumOutputLayersInOutputLayerSet[i] = 0; 1277 Int layerSetIdxForOutputLayerSet = vps->getOutputLayerSetIdx(i); 1278 for (j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet); j++) 1279 { 1280 NumOutputLayersInOutputLayerSet[i] += vps->getOutputLayerFlag(i, j); 1281 if (vps->getOutputLayerFlag(i, j)) 1282 { 1283 OlsHighestOutputLayerId[i] = vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, j); 1284 } 1285 } 1286 if (NumOutputLayersInOutputLayerSet[i] == 1 && vps->getNumDirectRefLayers(OlsHighestOutputLayerId[i]) > 0) 1287 { 1288 READ_FLAG(uiCode, "alt_output_layer_flag[i]"); 1289 vps->setAltOuputLayerFlag(i, uiCode ? true : false); 1290 } 1291 #endif 1271 1292 } 1272 1293 #else … … 1354 1375 #endif 1355 1376 1377 #if !P0300_ALT_OUTPUT_LAYER_FLAG 1356 1378 #if O0153_ALT_OUTPUT_LAYER_FLAG 1357 1379 if( vps->getMaxLayers() > 1 ) … … 1360 1382 vps->setAltOuputLayerFlag( uiCode ? true : false ); 1361 1383 } 1384 #endif 1362 1385 #endif 1363 1386
Note: See TracChangeset for help on using the changeset viewer.