Changeset 986 in SHVCSoftware for branches


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

fix for the ticket #50, patch was provided by Hendry <fhendry@…>

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

Legend:

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

    r982 r986  
    19681968  {
    19691969    // Default output layer sets defined
    1970     startOlsCtr = m_numLayerSets + m_numAddLayerSets;
     1970    startOlsCtr = m_numLayerSets;
    19711971  }
    19721972  for( Int olsCtr = 1; olsCtr < m_numOutputLayerSets; olsCtr++ )
     
    19841984    }
    19851985#if MULTIPLE_PTL_SUPPORT
    1986     Int olsToLsIndex = (olsCtr >= startOlsCtr) ? m_outputLayerSetIdx[olsCtr - m_numLayerSets] : olsCtr;
     1986    Int olsToLsIndex = (olsCtr >= (m_numLayerSets + m_numAddLayerSets)) ? m_outputLayerSetIdx[olsCtr - m_numLayerSets] : olsCtr;
    19871987    scanStringToArray( cfg_listOfLayerPTLOfOlss[olsCtr], m_numLayerInIdList[olsToLsIndex], "List of PTL for each layers in OLS", m_listOfLayerPTLofOlss[olsCtr] );
    19881988    //For conformance checking
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r978 r986  
    13101310      }
    13111311    }
     1312    //TODO: We need to populate the list of layers that belong to each of additional layer set.
    13121313  }
    13131314#endif
     
    16191620
    16201621    // Include the highest layer as output layer for each layer set
    1621     for(Int lsIdx = 1; lsIdx < vps->getNumLayerSets(); lsIdx++)
     1622    for(Int lsIdx = 1; lsIdx <= vps->getVpsNumLayerSetsMinus1(); lsIdx++)
    16221623    {
    16231624      for( UInt layer = 0; layer < vps->getNumLayersInIdList(lsIdx); layer++ )
     
    16451646    }
    16461647#if OUTPUT_LAYER_SETS_CONFIG
    1647     for( Int olsIdx = vps->getNumLayerSets(); olsIdx < vps->getNumOutputLayerSets(); olsIdx++ )
     1648    for( Int olsIdx = vps->getVpsNumLayerSetsMinus1() + 1; olsIdx < vps->getNumOutputLayerSets(); olsIdx++ )
    16481649    {
    16491650      for( UInt layer = 0; layer < vps->getNumLayersInIdList(vps->getOutputLayerSetIdx(olsIdx)); layer++ )
Note: See TracChangeset for help on using the changeset viewer.