Changeset 950 in SHVCSoftware for branches


Ignore:
Timestamp:
2 Jan 2015, 21:30:25 (10 years ago)
Author:
qualcomm
Message:

Rename configuration file parameter related to output layers.

Rename encoder configuration file parameter NumLayersInOutputLayerSet to NumOutputLayersInOutputLayerSet, to better convey the intent.

From: Adarsh K. Ramasubramonian <aramasub@…>

Location:
branches/SHM-dev
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/cfg/layers.cfg

    r941 r950  
    5656NumOutputLayerSets            : 2           # Include defualt OLS, value of 0 not allowed
    5757DefaultTargetOutputLayerIdc   : 1
    58 NumLayersInOutputLayerSet     : 1           # The number of layers in the 0-th OLS should not be specified,
     58NumOutputLayersInOutputLayerSet     : 1           # The number of layers in the 0-th OLS should not be specified,
    5959# ListOfOutputLayers0 need not be specified
    6060ListOfOutputLayers1               : 1
  • branches/SHM-dev/cfg/layers_avcbase.cfg

    r941 r950  
    5252NumOutputLayerSets            : 2           # Include defualt OLS, value of 0 not allowed
    5353DefaultTargetOutputLayerIdc   : 1
    54 NumLayersInOutputLayerSet     : 1           # The number of layers in the 0-th OLS should not be specified,
     54NumOutputLayersInOutputLayerSet     : 1           # The number of layers in the 0-th OLS should not be specified,
    5555# ListOfOutputLayers0 need not be specified
    5656ListOfOutputLayers1           : 1
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r949 r950  
    604604#endif
    605605#if OUTPUT_LAYER_SETS_CONFIG
    606   string* cfg_numLayersInOutputLayerSet = new string;
     606  string* cfg_numOutputLayersInOutputLayerSet = new string;
    607607  string* cfg_listOfOutputLayers     = new string[MAX_VPS_OUTPUT_LAYER_SETS_PLUS1];
    608608  string* cfg_outputLayerSetIdx      = new string;
     
    696696  ("DefaultTargetOutputLayerIdc",    m_defaultTargetOutputLayerIdc, 1, "Default target output layers. 0: All layers are output layer, 1: Only highest layer is output layer, 2 or 3: No default output layers")
    697697  ("NumOutputLayerSets",            m_numOutputLayerSets, 1, "Number of output layer sets excluding the 0-th output layer set")
    698   ("NumLayersInOutputLayerSet",   cfg_numLayersInOutputLayerSet, string(""), 1 , "List containing number of output layers in the output layer sets")
     698  ("NumOutputLayersInOutputLayerSet",   cfg_numOutputLayersInOutputLayerSet, string(""), 1 , "List containing number of output layers in the output layer sets")
    699699  ("ListOfOutputLayers%d",          cfg_listOfOutputLayers, string(""), MAX_VPS_LAYER_ID_PLUS1, "Layer IDs for the set, in terms of layer ID in the output layer set Range: [0..NumLayersInOutputLayerSet-1]")
    700700  ("OutputLayerSetIdx",            cfg_outputLayerSetIdx, string(""), 1, "Corresponding layer set index, only for non-default output layer sets")
     
    19361936
    19371937  // Number of output layers in output layer sets
    1938   scanStringToArray( *cfg_numLayersInOutputLayerSet, m_numOutputLayerSets - 1, "NumLayersInOutputLayerSets", m_numLayersInOutputLayerSet );
    1939   m_numLayersInOutputLayerSet.insert(m_numLayersInOutputLayerSet.begin(), 1);
     1938  scanStringToArray( *cfg_numOutputLayersInOutputLayerSet, m_numOutputLayerSets - 1, "NumOutputLayersInOutputLayerSets", m_numOutputLayersInOutputLayerSet );
     1939  m_numOutputLayersInOutputLayerSet.insert(m_numOutputLayersInOutputLayerSet.begin(), 1);
    19401940  // Layers in the output layer set
    19411941  m_listOfOutputLayers.resize(m_numOutputLayerSets);
     
    19551955    if( olsCtr < startOlsCtr )
    19561956    {
    1957       if(scanStringToArray( cfg_listOfOutputLayers[olsCtr], m_numLayersInOutputLayerSet[olsCtr], "ListOfOutputLayers", m_listOfOutputLayers[olsCtr] ) )
     1957      if(scanStringToArray( cfg_listOfOutputLayers[olsCtr], m_numOutputLayersInOutputLayerSet[olsCtr], "ListOfOutputLayers", m_listOfOutputLayers[olsCtr] ) )
    19581958      {
    19591959        std::cout << "Default OLS defined. Ignoring ListOfOutputLayers" << olsCtr << endl;
     
    19621962    else
    19631963    {
    1964       assert( scanStringToArray( cfg_listOfOutputLayers[olsCtr], m_numLayersInOutputLayerSet[olsCtr], "ListOfOutputLayers", m_listOfOutputLayers[olsCtr] ) );
     1964      assert( scanStringToArray( cfg_listOfOutputLayers[olsCtr], m_numOutputLayersInOutputLayerSet[olsCtr], "ListOfOutputLayers", m_listOfOutputLayers[olsCtr] ) );
    19651965    }
    19661966#if MULTIPLE_PTL_SUPPORT
     
    19791979  delete [] cfg_listOfLayerPTLOfOlss;
    19801980#endif
    1981   delete cfg_numLayersInOutputLayerSet;
     1981  delete cfg_numOutputLayersInOutputLayerSet;
    19821982  delete [] cfg_listOfOutputLayers;
    19831983  delete cfg_outputLayerSetIdx;
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h

    r942 r950  
    8888  Int       m_defaultTargetOutputLayerIdc;
    8989  Int       m_numOutputLayerSets;
    90   std::vector<Int>                m_numLayersInOutputLayerSet;
     90  std::vector<Int>                m_numOutputLayersInOutputLayerSet;
    9191  std::vector< std::vector<Int> > m_listOfOutputLayers;
    9292#endif
Note: See TracChangeset for help on using the changeset viewer.