Changeset 247 in SHVCSoftware for branches/SHM-2.1-dev/source


Ignore:
Timestamp:
30 May 2013, 02:41:45 (11 years ago)
Author:
seregin
Message:

add comment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.1-dev/source/Lib/TLibCommon/TComSlice.cpp

    r246 r247  
    573573    if(getVPS()->getScalabilityMask(1))
    574574    {
    575       Int numResampler = 0; 
     575      Int numResampler = 0;
    576576      const Window &scalEL = getSPS()->getScaledRefLayerWindow();
    577577      Int widthEL   = getPic()->getPicYuvRec()->getWidth() - scalEL.getWindowLeftOffset() - scalEL.getWindowRightOffset();
    578578      Int heightEL  = getPic()->getPicYuvRec()->getHeight() - scalEL.getWindowTopOffset()  - scalEL.getWindowBottomOffset();
    579579      for (i=0; i < m_activeNumILRRefIdx; i++)
    580       {       
     580      {
    581581        Int widthBL   =  ilpPic[getInterLayerPredLayerIdc(i)]->getSlice(0)->getBaseColPic()->getPicYuvRec()->getWidth();
    582582        Int heightBL  =  ilpPic[getInterLayerPredLayerIdc(i)]->getSlice(0)->getBaseColPic()->getPicYuvRec()->getHeight();
     
    586586          numResampler++;
    587587        }
    588       } 
     588      }
     589
     590      //Bitstream constraint for SHVC: The picture resampling process as specified in subclause G.8.1.4.1 shall not be invoked more than once for decoding of each particular picture.
    589591      assert(numResampler <= 1);
    590592    }
Note: See TracChangeset for help on using the changeset viewer.