Changeset 1148 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon
- Timestamp:
- 8 Jul 2015, 00:10:36 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 3 edited
-
TComSlice.cpp (modified) (2 diffs)
-
TComSlice.h (modified) (4 diffs)
-
TypeDef.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1147 r1148 2023 2023 ::memset(m_outputLayerFlag, 0, sizeof(m_outputLayerFlag)); 2024 2024 #endif 2025 #if VPS_EXTN_DIRECT_REF_LAYERS 2025 2026 2026 ::memset(m_directDependencyFlag, 0, sizeof(m_directDependencyFlag)); 2027 2027 ::memset(m_numDirectRefLayers, 0, sizeof(m_numDirectRefLayers )); … … 2029 2029 m_directDepTypeLen = 2; 2030 2030 ::memset(m_directDependencyType, 0, sizeof(m_directDependencyType)); 2031 #endif 2031 2032 2032 #if !NECESSARY_LAYER_FLAG 2033 2033 #if DERIVE_LAYER_ID_LIST_VARIABLES -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1147 r1148 660 660 #endif 661 661 #endif 662 #if VPS_EXTN_DIRECT_REF_LAYERS 662 663 663 Bool m_directDependencyFlag[MAX_VPS_LAYER_IDX_PLUS1][MAX_VPS_LAYER_IDX_PLUS1]; 664 664 UInt m_numDirectRefLayers[MAX_VPS_LAYER_IDX_PLUS1]; … … 668 668 UInt m_defaultDirectDependencyType; 669 669 UInt m_directDependencyType[MAX_VPS_LAYER_IDX_PLUS1][MAX_VPS_LAYER_IDX_PLUS1]; 670 #endif 670 671 671 UInt m_numProfileTierLevel; 672 672 #if !VPS_EXTN_UEV_CODING … … 1022 1022 Void setOutputLayerFlag(Int layerSet, Int layerIdx, Bool x) { m_outputLayerFlag[layerSet][layerIdx] = x; } 1023 1023 #endif 1024 #if VPS_EXTN_DIRECT_REF_LAYERS 1024 1025 1025 // Direct dependency of layers 1026 1026 Bool getDirectDependencyFlag(Int currLayerIdx, Int refLayerIdx) { return m_directDependencyFlag[currLayerIdx][refLayerIdx]; } … … 1043 1043 Bool isSamplePredictionType(Int currLayerIdx, Int refLayerIdx) { assert(currLayerIdx != refLayerIdx); return ( ( m_directDependencyType[currLayerIdx][refLayerIdx] + 1 ) & 1 ) ? true : false; } 1044 1044 Bool isMotionPredictionType(Int currLayerIdx, Int refLayerIdx) { assert(currLayerIdx != refLayerIdx); return ( ( ( m_directDependencyType[currLayerIdx][refLayerIdx] + 1 ) & 2 ) >> 1 ) ? true : false; } 1045 #endif 1045 1046 1046 UInt getNumProfileTierLevel() { return m_numProfileTierLevel; } 1047 1047 Void setNumProfileTierLevel(Int x) { m_numProfileTierLevel = x; } -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1147 r1148 130 130 #define VPS_EXTN_OP_LAYER_SETS 1 ///< Include output layer sets in VPS extension 131 131 #define VPS_EXTN_PROFILE_INFO 1 ///< Include profile information for layer sets in VPS extension 132 #define VPS_EXTN_DIRECT_REF_LAYERS 1 ///< Include indication of direct dependency of layers in VPS extension133 132 134 133 #define VPS_VUI_TILES_NOT_IN_USE__FLAG 1 ///< JCTVC-O0226: VPS VUI flag to indicate tile not in use
Note: See TracChangeset for help on using the changeset viewer.