Changeset 90 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComSlice.cpp
- Timestamp:
- 20 Mar 2013, 22:00:39 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComSlice.cpp
r89 r90 44 44 //! \ingroup TLibCommon 45 45 //! \{ 46 47 #if SVC_EXTENSION 48 ParameterSetMap<TComVPS> ParameterSetManager::m_vpsMap(MAX_NUM_VPS); 49 Int ParameterSetManager::m_activeVPSId = -1; 50 #endif 46 51 47 52 TComSlice::TComSlice() … … 1904 1909 1905 1910 ParameterSetManager::ParameterSetManager() 1911 #if SVC_EXTENSION 1912 : m_spsMap(MAX_NUM_SPS) 1913 , m_ppsMap(MAX_NUM_PPS) 1914 , m_activeSPSId(-1) 1915 , m_activePPSId(-1) 1916 #else 1906 1917 : m_vpsMap(MAX_NUM_VPS) 1907 1918 , m_spsMap(MAX_NUM_SPS) … … 1910 1921 , m_activeSPSId(-1) 1911 1922 , m_activePPSId(-1) 1923 #endif 1912 1924 { 1913 1925 } … … 1946 1958 //! activate a PPS and depending on isIDR parameter also SPS and VPS 1947 1959 //! \returns true, if activation is successful 1948 #if SVC_EXTENSION1949 Bool ParameterSetManager::activatePPS(Int ppsId, Bool isIDR, UInt layerId)1950 #else1951 1960 Bool ParameterSetManager::activatePPS(Int ppsId, Bool isIDR) 1952 #endif1953 1961 { 1954 1962 TComPPS *pps = m_ppsMap.getPS(ppsId); … … 1956 1964 { 1957 1965 Int spsId = pps->getSPSId(); 1958 #if SVC_EXTENSION1959 if (!isIDR && (spsId != layerId ))1960 #else1961 1966 if (!isIDR && (spsId != m_activeSPSId)) 1962 #endif1963 1967 { 1964 1968 printf("Warning: tried to activate PPS referring to a inactive SPS at non-IDR.");
Note: See TracChangeset for help on using the changeset viewer.