Changeset 950 in SHVCSoftware for branches/SHM-dev/source/App/TAppEncoder
- Timestamp:
- 2 Jan 2015, 21:30:25 (10 years ago)
- Location:
- branches/SHM-dev/source/App/TAppEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r949 r950 604 604 #endif 605 605 #if OUTPUT_LAYER_SETS_CONFIG 606 string* cfg_num LayersInOutputLayerSet = new string;606 string* cfg_numOutputLayersInOutputLayerSet = new string; 607 607 string* cfg_listOfOutputLayers = new string[MAX_VPS_OUTPUT_LAYER_SETS_PLUS1]; 608 608 string* cfg_outputLayerSetIdx = new string; … … 696 696 ("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") 697 697 ("NumOutputLayerSets", m_numOutputLayerSets, 1, "Number of output layer sets excluding the 0-th output layer set") 698 ("Num LayersInOutputLayerSet", 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") 699 699 ("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]") 700 700 ("OutputLayerSetIdx", cfg_outputLayerSetIdx, string(""), 1, "Corresponding layer set index, only for non-default output layer sets") … … 1936 1936 1937 1937 // Number of output layers in output layer sets 1938 scanStringToArray( *cfg_num LayersInOutputLayerSet, m_numOutputLayerSets - 1, "NumLayersInOutputLayerSets", m_numLayersInOutputLayerSet );1939 m_num LayersInOutputLayerSet.insert(m_numLayersInOutputLayerSet.begin(), 1);1938 scanStringToArray( *cfg_numOutputLayersInOutputLayerSet, m_numOutputLayerSets - 1, "NumOutputLayersInOutputLayerSets", m_numOutputLayersInOutputLayerSet ); 1939 m_numOutputLayersInOutputLayerSet.insert(m_numOutputLayersInOutputLayerSet.begin(), 1); 1940 1940 // Layers in the output layer set 1941 1941 m_listOfOutputLayers.resize(m_numOutputLayerSets); … … 1955 1955 if( olsCtr < startOlsCtr ) 1956 1956 { 1957 if(scanStringToArray( cfg_listOfOutputLayers[olsCtr], m_num LayersInOutputLayerSet[olsCtr], "ListOfOutputLayers", m_listOfOutputLayers[olsCtr] ) )1957 if(scanStringToArray( cfg_listOfOutputLayers[olsCtr], m_numOutputLayersInOutputLayerSet[olsCtr], "ListOfOutputLayers", m_listOfOutputLayers[olsCtr] ) ) 1958 1958 { 1959 1959 std::cout << "Default OLS defined. Ignoring ListOfOutputLayers" << olsCtr << endl; … … 1962 1962 else 1963 1963 { 1964 assert( scanStringToArray( cfg_listOfOutputLayers[olsCtr], m_num LayersInOutputLayerSet[olsCtr], "ListOfOutputLayers", m_listOfOutputLayers[olsCtr] ) );1964 assert( scanStringToArray( cfg_listOfOutputLayers[olsCtr], m_numOutputLayersInOutputLayerSet[olsCtr], "ListOfOutputLayers", m_listOfOutputLayers[olsCtr] ) ); 1965 1965 } 1966 1966 #if MULTIPLE_PTL_SUPPORT … … 1979 1979 delete [] cfg_listOfLayerPTLOfOlss; 1980 1980 #endif 1981 delete cfg_num LayersInOutputLayerSet;1981 delete cfg_numOutputLayersInOutputLayerSet; 1982 1982 delete [] cfg_listOfOutputLayers; 1983 1983 delete cfg_outputLayerSetIdx; -
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h
r942 r950 88 88 Int m_defaultTargetOutputLayerIdc; 89 89 Int m_numOutputLayerSets; 90 std::vector<Int> m_num LayersInOutputLayerSet;90 std::vector<Int> m_numOutputLayersInOutputLayerSet; 91 91 std::vector< std::vector<Int> > m_listOfOutputLayers; 92 92 #endif
Note: See TracChangeset for help on using the changeset viewer.