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


Ignore:
Timestamp:
5 Jan 2015, 20:27:38 (10 years ago)
Author:
seregin
Message:

Rename configuration file parameter related to output layers (rev 950)

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

Legend:

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

    r955 r956  
    985985#endif
    986986#if OUTPUT_LAYER_SETS_CONFIG
    987   string* cfg_numLayersInOutputLayerSet = new string;
     987  string* cfg_numOutputLayersInOutputLayerSet = new string;
    988988  string* cfg_listOfOutputLayers     = new string[MAX_VPS_OUTPUT_LAYER_SETS_PLUS1];
    989989  string* cfg_outputLayerSetIdx      = new string;
     
    11121112  ("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")
    11131113  ("NumOutputLayerSets",                            m_numOutputLayerSets,                                    1, "Number of output layer sets excluding the 0-th output layer set")
    1114   ("NumLayersInOutputLayerSet",                     cfg_numLayersInOutputLayerSet,               string(""), 1, "List containing number of output layers in the output layer sets")
     1114  ("NumOutputLayersInOutputLayerSet",               cfg_numOutputLayersInOutputLayerSet,         string(""), 1, "List containing number of output layers in the output layer sets")
    11151115  ("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]")
    11161116  ("OutputLayerSetIdx",                             cfg_outputLayerSetIdx,                       string(""), 1, "Corresponding layer set index, only for non-default output layer sets")
     
    25932593
    25942594  // Number of output layers in output layer sets
    2595   scanStringToArray( *cfg_numLayersInOutputLayerSet, m_numOutputLayerSets - 1, "NumLayersInOutputLayerSets", m_numLayersInOutputLayerSet );
    2596   m_numLayersInOutputLayerSet.insert(m_numLayersInOutputLayerSet.begin(), 1);
     2595  scanStringToArray( *cfg_numOutputLayersInOutputLayerSet, m_numOutputLayerSets - 1, "NumOutputLayersInOutputLayerSets", m_numOutputLayersInOutputLayerSet );
     2596  m_numOutputLayersInOutputLayerSet.insert(m_numOutputLayersInOutputLayerSet.begin(), 1);
    25972597  // Layers in the output layer set
    25982598  m_listOfOutputLayers.resize(m_numOutputLayerSets);
     
    26122612    if( olsCtr < startOlsCtr )
    26132613    {
    2614       if(scanStringToArray( cfg_listOfOutputLayers[olsCtr], m_numLayersInOutputLayerSet[olsCtr], "ListOfOutputLayers", m_listOfOutputLayers[olsCtr] ) )
     2614      if(scanStringToArray( cfg_listOfOutputLayers[olsCtr], m_numOutputLayersInOutputLayerSet[olsCtr], "ListOfOutputLayers", m_listOfOutputLayers[olsCtr] ) )
    26152615      {
    26162616        std::cout << "Default OLS defined. Ignoring ListOfOutputLayers" << olsCtr << endl;
     
    26362636  delete [] cfg_listOfLayerPTLOfOlss;
    26372637#endif
    2638   delete cfg_numLayersInOutputLayerSet;
     2638  delete cfg_numOutputLayersInOutputLayerSet;
    26392639  delete [] cfg_listOfOutputLayers;
    26402640  delete cfg_outputLayerSetIdx;
  • branches/SHM-upgrade/source/App/TAppEncoder/TAppEncCfg.h

    r945 r956  
    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.