Changeset 250 in SHVCSoftware
- Timestamp:
- 31 May 2013, 09:48:43 (12 years ago)
- Location:
- branches/SHM-2.1-dev/source/Lib
- Files:
-
- 5 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 -
branches/SHM-2.1-dev/source/Lib/TLibDecoder/TDecTop.h
r238 r250 157 157 TDecTop* getLayerDec(UInt layer) { return m_ppcTDecTop[layer]; } 158 158 #if VPS_EXTN_DIRECT_REF_LAYERS 159 TDecTop* getRefLayerDec(UInt layerId);159 TDecTop* getRefLayerDec(UInt refLayerIdc); 160 160 #endif 161 161 #if AVC_BASE -
branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r240 r250 536 536 { 537 537 #if VPS_EXTN_DIRECT_REF_LAYERS 538 TComList<TComPic*> *cListPic = m_ppcTEncTop[m_layerId]->getRefLayerEnc(m_layerId )->getListPic();538 TComList<TComPic*> *cListPic = m_ppcTEncTop[m_layerId]->getRefLayerEnc(m_layerId-1)->getListPic(); 539 539 #else 540 540 TComList<TComPic*> *cListPic = m_ppcTEncTop[m_layerId-1]->getListPic(); -
branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncTop.cpp
r245 r250 508 508 { 509 509 #if VPS_EXTN_DIRECT_REF_LAYERS 510 TEncTop *pcEncTopBase = (TEncTop *)getRefLayerEnc( m_layerId );510 TEncTop *pcEncTopBase = (TEncTop *)getRefLayerEnc( m_layerId - 1 ); 511 511 #else 512 512 TEncTop *pcEncTopBase = (TEncTop *)getLayerEnc( m_layerId-1 ); … … 539 539 { 540 540 #if VPS_EXTN_DIRECT_REF_LAYERS 541 TEncTop *pcEncTopBase = (TEncTop *)getRefLayerEnc( m_layerId );541 TEncTop *pcEncTopBase = (TEncTop *)getRefLayerEnc( m_layerId - 1 ); 542 542 #else 543 543 TEncTop *pcEncTopBase = (TEncTop *)getLayerEnc( m_layerId-1 ); … … 1199 1199 #if SVC_EXTENSION 1200 1200 #if VPS_EXTN_DIRECT_REF_LAYERS 1201 TEncTop* TEncTop::getRefLayerEnc( UInt layerId)1201 TEncTop* TEncTop::getRefLayerEnc( UInt refLayerIdc ) 1202 1202 { 1203 1203 if( m_ppcTEncTop[m_layerId]->getNumDirectRefLayers() <= 0 ) … … 1213 1213 assert( m_ppcTEncTop[m_layerId]->getNumDirectRefLayers() == 1 ); 1214 1214 1215 return (TEncTop *)getLayerEnc( getVPS()->getRefLayerId( m_layerId, 0) );1215 return (TEncTop *)getLayerEnc( getVPS()->getRefLayerId( m_layerId, refLayerIdc ) ); 1216 1216 } 1217 1217 #endif -
branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncTop.h
r238 r250 231 231 Void encodePrep( TComPicYuv* pcPicYuvOrg ); 232 232 #if VPS_EXTN_DIRECT_REF_LAYERS 233 TEncTop* getRefLayerEnc(UInt layerId);233 TEncTop* getRefLayerEnc(UInt refLayerIdc); 234 234 #endif 235 235 #else
Note: See TracChangeset for help on using the changeset viewer.