Changeset 864 in SHVCSoftware for branches/SHM-dev/source/App/TAppEncoder


Ignore:
Timestamp:
12 Aug 2014, 03:21:07 (10 years ago)
Author:
qualcomm
Message:

JCTVC-R0272: Signalling the PTL for the 0-th OLS (Macro: LIST_OF_PTL)

Signalling of the PTL information of the 0-th OLS at the beginning of VPS extension.

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

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

    r861 r864  
    13351335    vps->setIlpSshSignalingEnabledFlag(false);
    13361336#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
    13371359  vps->getPTLForExtnPtr()->resize(vps->getNumLayerSets());
    13381360  for(Int setId = 1; setId < vps->getNumLayerSets(); setId++)
     
    13421364    *(vps->getPTLForExtn(setId)) = *(m_acTEncTop[setId].getSPS()->getPTL());
    13431365  }
     1366#endif
    13441367#endif
    13451368#if VPS_EXTN_DIRECT_REF_LAYERS
     
    14411464#endif
    14421465  // Target output layer
     1466#if LIST_OF_PTL
     1467  vps->setNumProfileTierLevel( vps->getPTLForExtnPtr()->size() ); // +1 for the base VPS PTL()
     1468#else
    14431469  vps->setNumOutputLayerSets(vps->getNumLayerSets());
    14441470  vps->setNumProfileTierLevel(vps->getNumLayerSets());
     1471#endif
    14451472#if !OUTPUT_LAYER_SETS_CONFIG // Taken care by configuration file parameter
    14461473#if P0295_DEFAULT_OUT_LAYER_IDC
Note: See TracChangeset for help on using the changeset viewer.