Changeset 246 in SHVCSoftware for branches/SHM-2.1-dev/source/Lib/TLibCommon/TComSlice.cpp
- Timestamp:
- 30 May 2013, 02:26:45 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-dev/source/Lib/TLibCommon/TComSlice.cpp
r242 r246 571 571 } 572 572 #if MAX_ONE_RESAMPLING_DIRECT_LAYERS 573 if(getPic()->isSpatialEnhLayer()) 574 { 575 assert(m_activeNumILRRefIdx == 1); 573 if(getVPS()->getScalabilityMask(1)) 574 { 575 Int numResampler = 0; 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(); 579 for (i=0; i < m_activeNumILRRefIdx; i++) 580 { 581 Int widthBL = ilpPic[getInterLayerPredLayerIdc(i)]->getSlice(0)->getBaseColPic()->getPicYuvRec()->getWidth(); 582 Int heightBL = ilpPic[getInterLayerPredLayerIdc(i)]->getSlice(0)->getBaseColPic()->getPicYuvRec()->getHeight(); 583 584 if(widthEL != widthBL || heightEL != heightBL ) 585 { 586 numResampler++; 587 } 588 } 589 assert(numResampler <= 1); 576 590 } 577 591 #endif
Note: See TracChangeset for help on using the changeset viewer.