Changeset 1153 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon
- Timestamp:
- 8 Jul 2015, 00:28:51 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 3 edited
-
TComSlice.cpp (modified) (3 diffs)
-
TComSlice.h (modified) (3 diffs)
-
TypeDef.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1151 r1153 2028 2028 ::memset(m_directDependencyType, 0, sizeof(m_directDependencyType)); 2029 2029 2030 #if !PER_LAYER_PTL2031 ::memset(m_profileLevelTierIdx, 0, sizeof(m_profileLevelTierIdx));2032 #endif2033 2030 m_maxOneActiveRefLayerFlag = true; 2034 2031 #if O0062_POC_LSB_NOT_PRESENT_FLAG … … 3563 3560 } 3564 3561 3565 #if PER_LAYER_PTL3566 3562 Int TComVPS::calculateLenOfSyntaxElement( Int const numVal ) 3567 3563 { … … 3573 3569 return numBits; 3574 3570 } 3575 #endif3576 3571 3577 3572 Void TComVPS::calculateMaxSLInLayerSets() -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1152 r1153 678 678 #endif 679 679 #endif 680 #if PER_LAYER_PTL681 680 std::vector< std::vector<Int> > m_profileLevelTierIdx; 682 #else683 Int m_profileLevelTierIdx[64];684 #endif685 681 Bool m_maxOneActiveRefLayerFlag; 686 682 #if O0062_POC_LSB_NOT_PRESENT_FLAG … … 1058 1054 #endif 1059 1055 #endif 1060 #if PER_LAYER_PTL 1056 1061 1057 Bool getNecessaryLayerFlag(Int const i, Int const j) { return m_necessaryLayerFlag[i][j]; } 1062 1058 std::vector< std::vector<Int> >* getProfileLevelTierIdx() { return &m_profileLevelTierIdx; } … … 1068 1064 #endif 1069 1065 Int calculateLenOfSyntaxElement( Int const numVal ); 1070 #else 1071 Int getProfileLevelTierIdx(Int i) { return m_profileLevelTierIdx[i]; } 1072 Void setProfileLevelTierIdx(Int i, Int x) { m_profileLevelTierIdx[i] = x ; } 1073 #endif 1066 1074 1067 Bool getMaxOneActiveRefLayerFlag() { return m_maxOneActiveRefLayerFlag; } 1075 1068 Void setMaxOneActiveRefLayerFlag(Bool x) { m_maxOneActiveRefLayerFlag = x; } -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1152 r1153 57 57 #if PTL_SIGNALLING 58 58 #define LIST_OF_PTL 1 ///< JCTVC-R0272: Signalling the PTL for the 0-th OLS 59 #define PER_LAYER_PTL 1 ///< Signal profile-tier-level information for each layer.60 59 #endif 61 60 #define BSP_INIT_ARRIVAL_SEI 1 ///< JCTVC-R0231: Make signalling of vcl_initial_arrival_delay independent of NalHrdBpPresentFlag
Note: See TracChangeset for help on using the changeset viewer.