Changeset 250 in SHVCSoftware for branches/SHM-2.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
- Timestamp:
- 31 May 2013, 09:48:43 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
r248 r250 249 249 { 250 250 #if VPS_EXTN_DIRECT_REF_LAYERS 251 TDecTop *pcTDecTopBase = (TDecTop *)getRefLayerDec( m_layerId );251 TDecTop *pcTDecTopBase = (TDecTop *)getRefLayerDec( m_layerId - 1 ); 252 252 #else 253 253 TDecTop *pcTDecTopBase = (TDecTop *)getLayerDec( m_layerId-1 ); … … 832 832 { 833 833 #if VPS_EXTN_DIRECT_REF_LAYERS 834 TDecTop *pcTDecTop = (TDecTop *)getRefLayerDec( m_layerId );834 TDecTop *pcTDecTop = (TDecTop *)getRefLayerDec( m_layerId - 1 ); 835 835 #else 836 836 TDecTop *pcTDecTop = (TDecTop *)getLayerDec( m_layerId-1 ); … … 1281 1281 1282 1282 #if VPS_EXTN_DIRECT_REF_LAYERS 1283 TDecTop* TDecTop::getRefLayerDec( UInt layerId)1283 TDecTop* TDecTop::getRefLayerDec( UInt refLayerIdc ) 1284 1284 { 1285 1285 TComVPS* vps = m_parameterSetManagerDecoder[0].getActiveVPS(); … … 1299 1299 #endif 1300 1300 1301 return (TDecTop *)getLayerDec( vps->getRefLayerId( m_layerId, 0) );1301 return (TDecTop *)getLayerDec( vps->getRefLayerId( m_layerId, refLayerIdc ) ); 1302 1302 } 1303 1303 #endif
Note: See TracChangeset for help on using the changeset viewer.