Changeset 165 in SHVCSoftware for branches/SHM-2.0-dev/source/App


Ignore:
Timestamp:
8 May 2013, 22:13:18 (12 years ago)
Author:
qualcomm
Message:

Profile and output-layer signalling in VPS (MACRO: VPS_PROFILE_OUTPUT_LAYERS)

M0268: Signaling of profile and output layers in VPS as in Section 3 of M0268v2.

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

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

    r154 r165  
    853853#endif
    854854  // Target output layer
     855#if VPS_PROFILE_OUTPUT_LAYERS
     856  vps->setNumOutputLayerSets(2);    // 2 including the default base-layer set.
     857  vps->setNumProfileTierLevel(2);   // 1 for the enhancement layer
     858  vps->setProfileLevelTierIdx(1, 1);
     859  vps->setDefaultOneTargetOutputLayerFlag(true);
     860  Int lsIdx = 1;
     861  vps->setOutputLayerSetIdx(1, lsIdx); // Because only one layer set
     862#else
    855863  vps->setNumOutputLayerSets(1);
    856864  Int lsIdx = 1;
    857865  vps->setOutputLayerSetIdx(0, lsIdx); // Because only one layer set
     866#endif
    858867  // Include the highest layer as output layer
    859868  for(UInt layer=0; layer <= vps->getMaxLayerId() ; layer++)
Note: See TracChangeset for help on using the changeset viewer.