Changeset 870 in SHVCSoftware
- Timestamp:
- 14 Aug 2014, 00:08:31 (11 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r869 r870 2608 2608 } 2609 2609 #if DERIVE_LAYER_ID_LIST_VARIABLES 2610 #if NECESSARY_LAYER_FLAG 2610 2611 Void TComVPS::deriveLayerIdListVariables() 2611 2612 { 2612 2613 // For layer 0 2613 #if NECESSARY_LAYER_FLAG2614 2614 m_numLayerInIdList.push_back(1); 2615 2615 m_layerSetLayerIdList.resize(m_numLayerSets); 2616 2616 m_layerSetLayerIdList[0].push_back(0); 2617 #else 2617 2618 // For other layers 2619 for( Int i = 1; i < m_numLayerSets; i++ ) 2620 { 2621 for( Int m = 0; m <= m_maxLayerId; m++) 2622 { 2623 if( m_layerIdIncludedFlag[i][m] ) 2624 { 2625 m_layerSetLayerIdList[i].push_back(m); 2626 } 2627 } 2628 m_numLayerInIdList.push_back(m_layerSetLayerIdList[i].size()); 2629 } 2630 } 2631 #else 2632 Void TComVPS::deriveLayerIdListVariables() 2633 { 2634 // For layer 0 2618 2635 m_numLayerInIdList[0] = 1; 2619 2636 m_layerSetLayerIdList[0][0] = 0; 2620 #endif2621 2637 2622 2638 // For other layers … … 2629 2645 if( m_layerIdIncludedFlag[i][m] ) 2630 2646 { 2631 #if NECESSARY_LAYER_FLAG2632 m_layerSetLayerIdList[i].push_back(m);2633 #else2634 2647 m_layerSetLayerIdList[i][n++] = m; 2635 #endif 2636 } 2637 } 2638 #if NECESSARY_LAYER_FLAG 2639 m_numLayerInIdList.push_back(m_layerSetLayerIdList[i].size()); 2640 #else 2648 } 2649 } 2641 2650 m_numLayerInIdList[i] = n; 2642 #endif 2643 2644 } 2651 } 2652 } 2653 #endif 2645 2654 #endif 2646 2655 #if !RESOLUTION_BASED_DPB -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r869 r870 56 56 #if PTL_SIGNALLING 57 57 #define LIST_OF_PTL 1 ///< JCTVC-R0272: Signalling the PTL for the 0-th OLS 58 #define NECESSARY_LAYER_FLAG 58 #define NECESSARY_LAYER_FLAG 1 ////< Derivation of NecessaryLayerFlag 59 59 #define PER_LAYER_PTL 1 ///< Signal profile-tier-level information for each layer. 60 60 #endif
Note: See TracChangeset for help on using the changeset viewer.