Changeset 987 in SHVCSoftware for branches/SHM-upgrade/source/App/TAppEncoder


Ignore:
Timestamp:
16 Jan 2015, 00:16:16 (10 years ago)
Author:
seregin
Message:

port the fix for ticket #50 (rev 986)

Location:
branches/SHM-upgrade/source/App/TAppEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-upgrade/source/App/TAppEncoder/TAppEncCfg.cpp

    r983 r987  
    26642664  {
    26652665    // Default output layer sets defined
    2666     startOlsCtr = m_numLayerSets + m_numAddLayerSets;
     2666    startOlsCtr = m_numLayerSets;
    26672667  }
    26682668  for( Int olsCtr = 1; olsCtr < m_numOutputLayerSets; olsCtr++ )
     
    26802680    }
    26812681#if MULTIPLE_PTL_SUPPORT
    2682     Int olsToLsIndex = (olsCtr >= startOlsCtr) ? m_outputLayerSetIdx[olsCtr - m_numLayerSets] : olsCtr;
     2682    Int olsToLsIndex = (olsCtr >= (m_numLayerSets + m_numAddLayerSets)) ? m_outputLayerSetIdx[olsCtr - m_numLayerSets] : olsCtr;
    26832683    scanStringToArray( cfg_listOfLayerPTLOfOlss[olsCtr], m_numLayerInIdList[olsToLsIndex], "List of PTL for each layers in OLS", m_listOfLayerPTLofOlss[olsCtr] );
    26842684    //For conformance checking
  • branches/SHM-upgrade/source/App/TAppEncoder/TAppEncTop.cpp

    r979 r987  
    13671367      }
    13681368    }
     1369    //TODO: We need to populate the list of layers that belong to each of additional layer set.
    13691370  }
    13701371#endif
     
    16771678
    16781679    // Include the highest layer as output layer for each layer set
    1679     for(Int lsIdx = 1; lsIdx < vps->getNumLayerSets(); lsIdx++)
     1680    for(Int lsIdx = 1; lsIdx <= vps->getVpsNumLayerSetsMinus1(); lsIdx++)
    16801681    {
    16811682      for( UInt layer = 0; layer < vps->getNumLayersInIdList(lsIdx); layer++ )
     
    17031704    }
    17041705#if OUTPUT_LAYER_SETS_CONFIG
    1705     for( Int olsIdx = vps->getNumLayerSets(); olsIdx < vps->getNumOutputLayerSets(); olsIdx++ )
     1706    for( Int olsIdx = vps->getVpsNumLayerSetsMinus1() + 1; olsIdx < vps->getNumOutputLayerSets(); olsIdx++ )
    17061707    {
    17071708      for( UInt layer = 0; layer < vps->getNumLayersInIdList(vps->getOutputLayerSetIdx(olsIdx)); layer++ )
Note: See TracChangeset for help on using the changeset viewer.