Changeset 248 in SHVCSoftware
- Timestamp:
- 31 May 2013, 01:39:45 (12 years ago)
- Location:
- branches/SHM-2.1-dev/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-dev/source/Lib/TLibCommon/TComSlice.cpp
r247 r248 575 575 Int numResampler = 0; 576 576 const Window &scalEL = getSPS()->getScaledRefLayerWindow(); 577 Int widthEL = getPic()->getPicYuvRec()->getWidth() - scalEL.getWindowLeftOffset() - scalEL.getWindowRightOffset(); 578 Int heightEL = getPic()->getPicYuvRec()->getHeight() - scalEL.getWindowTopOffset() - scalEL.getWindowBottomOffset(); 577 Int scalingOffset = ((scalEL.getWindowLeftOffset() == 0 ) && 578 (scalEL.getWindowRightOffset() == 0 ) && 579 (scalEL.getWindowTopOffset() == 0 ) && 580 (scalEL.getWindowBottomOffset() == 0 ) 581 ); 582 583 Int widthEL = getPic()->getPicYuvRec()->getWidth(); 584 Int heightEL = getPic()->getPicYuvRec()->getHeight(); 579 585 for (i=0; i < m_activeNumILRRefIdx; i++) 580 586 { … … 582 588 Int heightBL = ilpPic[getInterLayerPredLayerIdc(i)]->getSlice(0)->getBaseColPic()->getPicYuvRec()->getHeight(); 583 589 584 if( widthEL != widthBL || heightEL != heightBL)590 if(!(widthEL == widthBL && heightEL == heightBL && (scalingOffset))) 585 591 { 586 592 numResampler++; -
branches/SHM-2.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
r245 r248 262 262 assert( pcSlice->getVPS()->getScalabilityMask(1) == true ); 263 263 } 264 #if MAX_ONE_RESAMPLING_DIRECT_LAYERS 265 if(pcSlice->getVPS()->getScalabilityMask(1)) 266 { 267 pcSlice->setPic(rpcPic); 268 } 269 #endif 264 270 } 265 271 #endif
Note: See TracChangeset for help on using the changeset viewer.