Changeset 1157 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon
- Timestamp:
- 8 Jul 2015, 00:39:40 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1154 r1157 1961 1961 , m_numProfileTierLevel (0) 1962 1962 , m_numAddOutputLayerSets (0) 1963 #if P0295_DEFAULT_OUT_LAYER_IDC 1964 , m_defaultTargetOutputLayerIdc (0) 1965 #else 1966 #if O0109_DEFAULT_ONE_OUT_LAYER_IDC 1967 , m_defaultOneTargetOutputLayerIdc (0) 1968 #else 1969 , m_defaultOneTargetOutputLayerFlag (false) 1970 #endif 1971 #endif 1963 , m_defaultTargetOutputLayerIdc(0) 1972 1964 , m_bitRatePresentVpsFlag (false) 1973 1965 , m_picRatePresentVpsFlag (false) -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1154 r1157 666 666 UInt m_numProfileTierLevel; 667 667 Int m_numAddOutputLayerSets; 668 #if P0295_DEFAULT_OUT_LAYER_IDC669 668 UInt m_defaultTargetOutputLayerIdc; 670 #else671 #if O0109_DEFAULT_ONE_OUT_LAYER_IDC672 UInt m_defaultOneTargetOutputLayerIdc;673 #else674 Bool m_defaultOneTargetOutputLayerFlag;675 #endif676 #endif677 669 std::vector< std::vector<Int> > m_profileLevelTierIdx; 678 670 Bool m_maxOneActiveRefLayerFlag; … … 1028 1020 Bool isMotionPredictionType(Int currLayerIdx, Int refLayerIdx) { assert(currLayerIdx != refLayerIdx); return ( ( ( m_directDependencyType[currLayerIdx][refLayerIdx] + 1 ) & 2 ) >> 1 ) ? true : false; } 1029 1021 1030 UInt getNumProfileTierLevel() { return m_numProfileTierLevel; } 1031 Void setNumProfileTierLevel(Int x) { m_numProfileTierLevel = x; } 1032 Int getNumAddOutputLayerSets() { return m_numAddOutputLayerSets; } 1033 Void setNumAddOutputLayerSets(Int x) { m_numAddOutputLayerSets = x ; } 1034 1035 #if P0295_DEFAULT_OUT_LAYER_IDC 1036 UInt getDefaultTargetOutputLayerIdc() { return m_defaultTargetOutputLayerIdc;} 1037 Void setDefaultTargetOutputLayerIdc(UInt x) { m_defaultTargetOutputLayerIdc = x ;} 1038 #else 1039 #if O0109_DEFAULT_ONE_OUT_LAYER_IDC 1040 UInt getDefaultOneTargetOutputLayerIdc() { return m_defaultOneTargetOutputLayerIdc;} 1041 Void setDefaultOneTargetOutputLayerIdc(UInt x) { m_defaultOneTargetOutputLayerIdc= x ;} 1042 #else 1043 Bool getDefaultOneTargetOutputLayerFlag() { return m_defaultOneTargetOutputLayerFlag;} 1044 Void setDefaultOneTargetOutputLayerFlag(Bool x) { m_defaultOneTargetOutputLayerFlag= x ;} 1045 #endif 1046 #endif 1047 1048 Bool getNecessaryLayerFlag(Int const i, Int const j) { return m_necessaryLayerFlag[i][j]; } 1049 std::vector< std::vector<Int> >* getProfileLevelTierIdx() { return &m_profileLevelTierIdx; } 1050 std::vector<Int>* getProfileLevelTierIdx(Int const olsIdx) { return &m_profileLevelTierIdx[olsIdx]; } 1051 Int getProfileLevelTierIdx(Int const olsIdx, Int const layerIdx) { return m_profileLevelTierIdx[olsIdx][layerIdx]; } 1052 Void setProfileLevelTierIdx(Int const olsIdx, Int const layerIdx, Int const ptlIdx) { m_profileLevelTierIdx[olsIdx][layerIdx] = ptlIdx; } 1022 UInt getNumProfileTierLevel() { return m_numProfileTierLevel; } 1023 Void setNumProfileTierLevel(Int x) { m_numProfileTierLevel = x; } 1024 Int getNumAddOutputLayerSets() { return m_numAddOutputLayerSets; } 1025 Void setNumAddOutputLayerSets(Int x) { m_numAddOutputLayerSets = x ; } 1026 1027 UInt getDefaultTargetOutputLayerIdc() { return m_defaultTargetOutputLayerIdc; } 1028 Void setDefaultTargetOutputLayerIdc(UInt x) { m_defaultTargetOutputLayerIdc = x ;} 1029 1030 Bool getNecessaryLayerFlag(Int const i, Int const j) { return m_necessaryLayerFlag[i][j]; } 1031 std::vector< std::vector<Int> >* getProfileLevelTierIdx() { return &m_profileLevelTierIdx; } 1032 std::vector<Int>* getProfileLevelTierIdx(Int const olsIdx) { return &m_profileLevelTierIdx[olsIdx]; } 1033 Int getProfileLevelTierIdx(Int const olsIdx, Int const layerIdx) { return m_profileLevelTierIdx[olsIdx][layerIdx]; } 1034 Void setProfileLevelTierIdx(Int const olsIdx, Int const layerIdx, Int const ptlIdx) { m_profileLevelTierIdx[olsIdx][layerIdx] = ptlIdx; } 1053 1035 #if MULTIPLE_PTL_SUPPORT 1054 Void addProfileLevelTierIdx(Int const olsIdx, Int const ptlIdx) { m_profileLevelTierIdx[olsIdx].push_back(ptlIdx); }1036 Void addProfileLevelTierIdx(Int const olsIdx, Int const ptlIdx) { m_profileLevelTierIdx[olsIdx].push_back(ptlIdx); } 1055 1037 #endif 1056 1038 Int calculateLenOfSyntaxElement( Int const numVal ); -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1156 r1157 81 81 #define O0109_VIEW_ID_LEN 1 ///< JCTVC-O0109: view_id_len_minus1 to view_id_len, and add constraint (1<<view_id_len) is greater than or equal to NumViews 82 82 83 #define P0295_DEFAULT_OUT_LAYER_IDC 1 ///< JCTVC-P0295: modifify default_one_target_output_layer_idc to default_output_layer_idc84 83 #define O0109_DEFAULT_ONE_OUT_LAYER_IDC 1 ///< JCTVC-O0109: default_one_target_output_layer_flag to default_one_target_output_layer_idc 85 84
Note: See TracChangeset for help on using the changeset viewer.