Changeset 864 in SHVCSoftware for branches/SHM-dev/source/App/TAppEncoder
- Timestamp:
- 12 Aug 2014, 03:21:07 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r861 r864 1335 1335 vps->setIlpSshSignalingEnabledFlag(false); 1336 1336 #if VPS_EXTN_PROFILE_INFO 1337 1338 #if LIST_OF_PTL 1339 vps->getPTLForExtnPtr()->resize(1); // Dummy object - unused. 1340 for(i = 0; i < vps->getMaxLayers(); i++) 1341 { 1342 // TODO: The profile tier level have to be given support to be included in the configuration files 1343 if(i == 0) 1344 { 1345 if( vps->getBaseLayerInternalFlag() && vps->getMaxLayers() > 1 ) 1346 { 1347 vps->setProfilePresentFlag(1, false); 1348 vps->getPTLForExtnPtr()->push_back( *(m_acTEncTop[0].getSPS()->getPTL()) ); 1349 } 1350 } 1351 else // i > 0 1352 { 1353 vps->setProfilePresentFlag(i, true); 1354 // Note - may need to be changed for other layer structures. 1355 vps->getPTLForExtnPtr()->push_back( *(m_acTEncTop[0].getSPS()->getPTL()) ); 1356 } 1357 } 1358 #else 1337 1359 vps->getPTLForExtnPtr()->resize(vps->getNumLayerSets()); 1338 1360 for(Int setId = 1; setId < vps->getNumLayerSets(); setId++) … … 1342 1364 *(vps->getPTLForExtn(setId)) = *(m_acTEncTop[setId].getSPS()->getPTL()); 1343 1365 } 1366 #endif 1344 1367 #endif 1345 1368 #if VPS_EXTN_DIRECT_REF_LAYERS … … 1441 1464 #endif 1442 1465 // Target output layer 1466 #if LIST_OF_PTL 1467 vps->setNumProfileTierLevel( vps->getPTLForExtnPtr()->size() ); // +1 for the base VPS PTL() 1468 #else 1443 1469 vps->setNumOutputLayerSets(vps->getNumLayerSets()); 1444 1470 vps->setNumProfileTierLevel(vps->getNumLayerSets()); 1471 #endif 1445 1472 #if !OUTPUT_LAYER_SETS_CONFIG // Taken care by configuration file parameter 1446 1473 #if P0295_DEFAULT_OUT_LAYER_IDC
Note: See TracChangeset for help on using the changeset viewer.