Changeset 956 in SHVCSoftware
- Timestamp:
- 5 Jan 2015, 20:27:38 (10 years ago)
- Location:
- branches/SHM-upgrade
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-upgrade/cfg/layers.cfg
r927 r956 53 53 LayerSetLayerIdList1 : 0 1 54 54 55 NumAddLayerSets : 056 NumOutputLayerSets : 2 # Include defualt OLS, value of 0 not allowed57 DefaultTargetOutputLayerIdc : 158 Num LayersInOutputLayerSet: 1 # The number of layers in the 0-th OLS should not be specified,55 NumAddLayerSets : 0 56 NumOutputLayerSets : 2 # Include defualt OLS, value of 0 not allowed 57 DefaultTargetOutputLayerIdc : 1 58 NumOutputLayersInOutputLayerSet : 1 # The number of layers in the 0-th OLS should not be specified, 59 59 # ListOfOutputLayers0 need not be specified 60 ListOfOutputLayers1 : 160 ListOfOutputLayers1 : 1 -
branches/SHM-upgrade/cfg/layers_avcbase.cfg
r876 r956 49 49 LayerSetLayerIdList1 : 0 1 50 50 51 NumAddLayerSets : 052 NumOutputLayerSets : 2 # Include defualt OLS, value of 0 not allowed53 DefaultTargetOutputLayerIdc : 154 Num LayersInOutputLayerSet : 1 # The number of layers in the 0-th OLS should not be specified,51 NumAddLayerSets : 0 52 NumOutputLayerSets : 2 # Include defualt OLS, value of 0 not allowed 53 DefaultTargetOutputLayerIdc : 1 54 NumOutputLayersInOutputLayerSet : 1 # The number of layers in the 0-th OLS should not be specified, 55 55 # ListOfOutputLayers0 need not be specified 56 ListOfOutputLayers1 : 156 ListOfOutputLayers1 : 1 -
branches/SHM-upgrade/source/App/TAppEncoder/TAppEncCfg.cpp
r955 r956 985 985 #endif 986 986 #if OUTPUT_LAYER_SETS_CONFIG 987 string* cfg_num LayersInOutputLayerSet = new string;987 string* cfg_numOutputLayersInOutputLayerSet = new string; 988 988 string* cfg_listOfOutputLayers = new string[MAX_VPS_OUTPUT_LAYER_SETS_PLUS1]; 989 989 string* cfg_outputLayerSetIdx = new string; … … 1112 1112 ("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") 1113 1113 ("NumOutputLayerSets", m_numOutputLayerSets, 1, "Number of output layer sets excluding the 0-th output layer set") 1114 ("Num LayersInOutputLayerSet", 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") 1115 1115 ("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]") 1116 1116 ("OutputLayerSetIdx", cfg_outputLayerSetIdx, string(""), 1, "Corresponding layer set index, only for non-default output layer sets") … … 2593 2593 2594 2594 // Number of output layers in output layer sets 2595 scanStringToArray( *cfg_num LayersInOutputLayerSet, m_numOutputLayerSets - 1, "NumLayersInOutputLayerSets", m_numLayersInOutputLayerSet );2596 m_num LayersInOutputLayerSet.insert(m_numLayersInOutputLayerSet.begin(), 1);2595 scanStringToArray( *cfg_numOutputLayersInOutputLayerSet, m_numOutputLayerSets - 1, "NumOutputLayersInOutputLayerSets", m_numOutputLayersInOutputLayerSet ); 2596 m_numOutputLayersInOutputLayerSet.insert(m_numOutputLayersInOutputLayerSet.begin(), 1); 2597 2597 // Layers in the output layer set 2598 2598 m_listOfOutputLayers.resize(m_numOutputLayerSets); … … 2612 2612 if( olsCtr < startOlsCtr ) 2613 2613 { 2614 if(scanStringToArray( cfg_listOfOutputLayers[olsCtr], m_num LayersInOutputLayerSet[olsCtr], "ListOfOutputLayers", m_listOfOutputLayers[olsCtr] ) )2614 if(scanStringToArray( cfg_listOfOutputLayers[olsCtr], m_numOutputLayersInOutputLayerSet[olsCtr], "ListOfOutputLayers", m_listOfOutputLayers[olsCtr] ) ) 2615 2615 { 2616 2616 std::cout << "Default OLS defined. Ignoring ListOfOutputLayers" << olsCtr << endl; … … 2636 2636 delete [] cfg_listOfLayerPTLOfOlss; 2637 2637 #endif 2638 delete cfg_num LayersInOutputLayerSet;2638 delete cfg_numOutputLayersInOutputLayerSet; 2639 2639 delete [] cfg_listOfOutputLayers; 2640 2640 delete cfg_outputLayerSetIdx; -
branches/SHM-upgrade/source/App/TAppEncoder/TAppEncCfg.h
r945 r956 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.