Changeset 866 in SHVCSoftware for branches/SHM-dev/source/App/TAppEncoder
- Timestamp:
- 13 Aug 2014, 03:52:31 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r865 r866 1481 1481 #endif 1482 1482 #endif 1483 #if !PER_LAYER_PTL 1483 1484 for(i = 1; i < vps->getNumLayerSets(); i++) 1484 1485 { … … 1488 1489 #endif 1489 1490 } 1491 #endif 1490 1492 #endif 1491 1493 #if VPS_DPB_SIZE_TABLE … … 1554 1556 vps->deriveNecessaryLayerFlag(); 1555 1557 vps->checkNecessaryLayerFlagCondition(); 1558 #endif 1559 #if PER_LAYER_PTL 1560 vps->getProfileLevelTierIdx()->resize(vps->getNumOutputLayerSets()); 1561 vps->getProfileLevelTierIdx(0)->push_back( vps->getBaseLayerInternalFlag() && vps->getMaxLayers() > 1 ? 1 : 0 ); // Default 0-th output layer set 1562 for(i = 1; i < vps->getNumOutputLayerSets(); i++) 1563 { 1564 Int layerSetIdxForOutputLayerSet = vps->getOutputLayerSetIdx( i ); 1565 Int numLayerInLayerSet = vps->getNumLayersInIdList( layerSetIdxForOutputLayerSet ); 1566 for(Int j = 0; j < numLayerInLayerSet; j++) 1567 { 1568 Int layerIdxInVps = vps->getLayerIdInVps( vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, j) ); 1569 if( vps->getNecessaryLayerFlag(i, j) ) 1570 { 1571 vps->getProfileLevelTierIdx(i)->push_back( vps->getBaseLayerInternalFlag() && vps->getMaxLayers() > 1 ? layerIdxInVps + 1 : layerIdxInVps); 1572 } 1573 else 1574 { 1575 vps->getProfileLevelTierIdx(i)->push_back( -1 ); 1576 } 1577 } 1578 } 1556 1579 #endif 1557 1580 // Initialize dpb_size_table() for all ouput layer sets in the VPS extension
Note: See TracChangeset for help on using the changeset viewer.