Changeset 1169 in SHVCSoftware for branches/SHM-dev/source/App


Ignore:
Timestamp:
8 Jul 2015, 01:20:27 (10 years ago)
Author:
seregin
Message:

macro cleanup: LIST_OF_PTL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1162 r1169  
    14241424    }
    14251425  }
    1426     vps->setIlpSshSignalingEnabledFlag(false);
    1427 #if VPS_EXTN_PROFILE_INFO
    1428 #if !MULTIPLE_PTL_SUPPORT
    1429 #if LIST_OF_PTL
    1430   vps->getPTLForExtnPtr()->resize(1);   // Dummy object - unused.
    1431   for(i = 0; i < vps->getMaxLayers(); i++)
    1432   {
    1433     // TODO: The profile tier level have to be given support to be included in the configuration files
    1434     if(i == 0)
    1435     {
    1436       if( vps->getBaseLayerInternalFlag() && vps->getMaxLayers() > 1 )
    1437       {
    1438         vps->setProfilePresentFlag(1, false);
    1439         vps->getPTLForExtnPtr()->push_back( *(m_acTEncTop[0].getSPS()->getPTL()) );
    1440       }
    1441     }
    1442     else  // i > 0
    1443     {
    1444       vps->setProfilePresentFlag(i, true);
    1445       // Note - may need to be changed for other layer structures.
    1446       vps->getPTLForExtnPtr()->push_back( *(m_acTEncTop[0].getSPS()->getPTL()) );
    1447     }
    1448   }
    1449 #else
    1450   vps->getPTLForExtnPtr()->resize(vps->getNumLayerSets());
    1451   for(Int setId = 1; setId < vps->getNumLayerSets(); setId++)
    1452   {
    1453     vps->setProfilePresentFlag(setId, true);
    1454     // Note - may need to be changed for other layer structures.
    1455     *(vps->getPTLForExtn(setId)) = *(m_acTEncTop[setId].getSPS()->getPTL());
    1456   }
    1457 #endif
    1458 #endif
    1459 #endif
     1426
     1427  vps->setIlpSshSignalingEnabledFlag(false);
    14601428
    14611429  // Direct reference layers
     
    15561524    }
    15571525  }
    1558 
     1526#endif
    15591527  // Target output layer
    1560 #if !MULTIPLE_PTL_SUPPORT
    1561 #if LIST_OF_PTL
    1562   vps->setNumProfileTierLevel( vps->getPTLForExtnPtr()->size() ); // +1 for the base VPS PTL()
    1563 #else
    1564   vps->setNumOutputLayerSets(vps->getNumLayerSets());
    1565   vps->setNumProfileTierLevel(vps->getNumLayerSets());
    1566 #endif
    1567 #endif
    1568 #endif
    15691528#if VPS_DPB_SIZE_TABLE
    15701529  vps->deriveNumberOfSubDpbs();
Note: See TracChangeset for help on using the changeset viewer.