Changeset 890 in SHVCSoftware
- Timestamp:
- 23 Sep 2014, 04:41:19 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r881 r890 271 271 } 272 272 } 273 273 274 Int TComSlice::getCurrMsb( Int currLsb, Int prevLsb, Int prevMsb, Int maxLsbVal ) 274 275 { … … 4261 4262 } 4262 4263 } 4264 4265 Int TComSlice::getReferenceLayerIdc( UInt refLayerId ) 4266 { 4267 for( Int i = 0; i < m_activeNumILRRefIdx; i++ ) 4268 { 4269 if( m_pcVPS->getRefLayerId(m_layerId, m_interLayerPredLayerIdc[i]) == refLayerId ) 4270 { 4271 return m_interLayerPredLayerIdc[i]; 4272 } 4273 } 4274 4275 return -1; 4276 } 4263 4277 #endif //SVC_EXTENSION 4264 4278 -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r879 r890 2649 2649 Int getCurrMsb( Int currLsb, Int prevLsb, Int prevMsb, Int maxLsbVal ); 2650 2650 #endif 2651 Int getReferenceLayerIdc( UInt refLayerId ); 2651 2652 2652 2653 #endif //SVC_EXTENSION -
branches/SHM-dev/source/Lib/TLibDecoder/TDecGop.cpp
r868 r890 223 223 { 224 224 UInt refLayerId = pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->getLayerId(); 225 UInt refLayerIdc = pcSlice->get InterLayerPredLayerIdc(refLayerId);225 UInt refLayerIdc = pcSlice->getReferenceLayerIdc(refLayerId); 226 226 assert( g_posScalingFactor[refLayerIdc][0] ); 227 227 assert( g_posScalingFactor[refLayerIdc][1] ); -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r884 r890 4055 4055 #if POC_RESET_IDC_ENCODER 4056 4056 UInt refLayerId = pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->getLayerId(); 4057 UInt refLayerIdc = pcSlice->get InterLayerPredLayerIdc(refLayerId);4057 UInt refLayerIdc = pcSlice->getReferenceLayerIdc(refLayerId); 4058 4058 assert( g_posScalingFactor[refLayerIdc][0] ); 4059 4059 assert( g_posScalingFactor[refLayerIdc][1] );
Note: See TracChangeset for help on using the changeset viewer.