Changeset 1161 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon
- Timestamp:
- 8 Jul 2015, 00:54:26 (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
r1157 r1161 1989 1989 } 1990 1990 1991 #if VPS_EXTN_MASK_AND_DIM_INFO1992 1991 m_nonHEVCBaseLayerFlag = false; 1993 1992 m_splittingFlag = false; 1993 m_nuhLayerIdPresentFlag = false; 1994 1994 ::memset(m_scalabilityMask, 0, sizeof(m_scalabilityMask)); 1995 1995 ::memset(m_dimensionIdLen, 0, sizeof(m_dimensionIdLen)); 1996 m_nuhLayerIdPresentFlag = false;1997 1996 ::memset(m_layerIdInNuh, 0, sizeof(m_layerIdInNuh)); 1998 1997 ::memset(m_dimensionId, 0, sizeof(m_dimensionId)); … … 2000 1999 m_numScalabilityTypes = 0; 2001 2000 ::memset(m_layerIdxInVps, 0, sizeof(m_layerIdxInVps)); 2002 #endif 2001 2003 2002 #if VPS_EXTN_PROFILE_INFO 2004 2003 ::memset(m_profilePresentFlag, 0, sizeof(m_profilePresentFlag)); … … 3130 3129 } 3131 3130 3132 #if DERIVE_LAYER_ID_LIST_VARIABLES3133 3131 Void TComVPS::deriveLayerIdListVariables() 3134 3132 { … … 3151 3149 } 3152 3150 } 3153 #endif 3151 3154 3152 #if VPS_DPB_SIZE_TABLE 3155 3153 Void TComVPS::deriveNumberOfSubDpbs() -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1157 r1161 596 596 TComPTL m_pcPTLList[MAX_NUM_LAYER_IDS + 1]; 597 597 #endif 598 #if DERIVE_LAYER_ID_LIST_VARIABLES599 598 #if Q0078_ADD_LAYER_SETS 600 599 std::vector< std::vector<Int> > m_layerSetLayerIdList; … … 603 602 Int m_layerSetLayerIdList[MAX_VPS_LAYER_SETS_PLUS1][MAX_VPS_LAYER_IDX_PLUS1]; 604 603 Int m_numLayerInIdList[MAX_VPS_LAYER_SETS_PLUS1]; 605 #endif606 604 #endif 607 605 UInt m_maxLayerId; … … 617 615 // Variables related to VPS extensions 618 616 // ------------------------------------------ 619 #if VPS_EXTN_MASK_AND_DIM_INFO620 617 Bool m_nonHEVCBaseLayerFlag; 621 618 Bool m_splittingFlag; … … 629 626 UInt m_numScalabilityTypes; 630 627 UInt m_layerIdxInVps[MAX_NUM_LAYER_IDS]; // Maps layer_id_in_nuh with the layer ID in the VPS 631 #endif 628 632 629 #if Q0078_ADD_LAYER_SETS 633 630 UInt m_maxSLInLayerSetMinus1[MAX_VPS_LAYER_SETS_PLUS1 + MAX_NUM_ADD_LAYER_SETS]; … … 901 898 TComPTL* getPTL(UInt idx) { return &m_pcPTLList[idx]; } 902 899 #endif 903 #if DERIVE_LAYER_ID_LIST_VARIABLES904 900 Int getLayerSetLayerIdList(Int set, Int layerId) { return m_layerSetLayerIdList[set][layerId]; } 905 901 Void setLayerSetLayerIdList(Int set, Int layerId, Int x) { m_layerSetLayerIdList[set][layerId] = x; } 906 902 907 Int getNumLayersInIdList(Int set) 908 Void setNumLayersInIdList(Int set, Int x) 903 Int getNumLayersInIdList(Int set) { return m_numLayerInIdList[set]; } 904 Void setNumLayersInIdList(Int set, Int x) { m_numLayerInIdList[set] = x; } 909 905 910 906 Void deriveLayerIdListVariables(); 911 #endif912 907 #if VPS_DPB_SIZE_TABLE 913 908 Void deriveNumberOfSubDpbs(); … … 946 941 UInt getNumLayerSets() { return m_numLayerSets; } 947 942 Void setNumLayerSets(UInt v) { m_numLayerSets = v; } 948 #if VPS_EXTN_MASK_AND_DIM_INFO 943 949 944 Bool getNonHEVCBaseLayerFlag() { return m_nonHEVCBaseLayerFlag; } 950 945 Void setNonHEVCBaseLayerFlag(Bool x) { m_nonHEVCBaseLayerFlag = x; } … … 973 968 UInt getLayerIdxInVps(Int layerId) { return m_layerIdxInVps[layerId]; } 974 969 Void setLayerIdxInVps(Int layerId, UInt layerIdx) { m_layerIdxInVps[layerId] = layerIdx; } 975 #endif 970 976 971 UInt getMaxSLayersInLayerSetMinus1(Int ls) { return m_maxSLInLayerSetMinus1[ls]; } 977 972 Void setMaxSLayersInLayerSetMinus1(Int ls, Int x) { m_maxSLInLayerSetMinus1[ls] = x; } -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1160 r1161 116 116 #define P0297_VPS_POC_LSB_ALIGNED_FLAG 1 ///< JCTVC-P0297: vps_poc_lsb_aligned_flag for cross-layer POC anchor picture derivation 117 117 118 #define VPS_EXTN_MASK_AND_DIM_INFO 1 ///< Include avc_base_layer_flag, splitting_flag, scalability mask and dimension related info119 #if VPS_EXTN_MASK_AND_DIM_INFO120 #define MAX_VPS_NUM_SCALABILITY_TYPES 16121 #endif122 118 #define VPS_EXTN_OP_LAYER_SETS 1 ///< Include output layer sets in VPS extension 123 119 #define VPS_EXTN_PROFILE_INFO 1 ///< Include profile information for layer sets in VPS extension … … 132 128 #endif 133 129 #define P0182_VPS_VUI_PS_FLAG 1 ///< JCTVC-P0182, add base_layer_parameter_set_compatibility_flag 134 135 #define DERIVE_LAYER_ID_LIST_VARIABLES 1 ///< Derived variables based on the variables in VPS - for use in syntax table parsing136 130 137 131 #define AVC_BASE 1 ///< YUV BL reading for AVC base SVC … … 226 220 #define MAX_NUM_ADD_LAYER_SETS 1023 227 221 #define MAX_SEIS_IN_BSP_NESTING 64 222 #define MAX_VPS_NUM_SCALABILITY_TYPES 16 228 223 229 224 #endif // SVC_EXTENSION
Note: See TracChangeset for help on using the changeset viewer.