Changeset 256 in SHVCSoftware for branches/SHM-2.1-multilayers-dev/source/Lib


Ignore:
Timestamp:
3 Jun 2013, 20:58:05 (11 years ago)
Author:
seregin
Message:

bug fix for resampling picture counting

File:
1 edited

Legend:

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

    r253 r256  
    587587                          );
    588588
    589       Int widthEL   = getPic()->getPicYuvRec()->getWidth();
    590       Int heightEL  = getPic()->getPicYuvRec()->getHeight();     
    591589      for( i=0; i < m_activeNumILRRefIdx; i++ )
    592590      {
    593591        UInt refLayerIdc = m_interLayerPredLayerIdc[i];
    594         Int widthBL   =  ilpPic[refLayerIdc]->getSlice(0)->getBaseColPic(refLayerIdc)->getPicYuvRec()->getWidth();
    595         Int heightBL  =  ilpPic[refLayerIdc]->getSlice(0)->getBaseColPic(refLayerIdc)->getPicYuvRec()->getHeight();
    596 
    597         if(!(widthEL == widthBL && heightEL == heightBL && (scalingOffset)))
     592        if(!( g_posScalingFactor[refLayerIdc][0] == 65536 && g_posScalingFactor[refLayerIdc][1] == 65536 ) && (scalingOffset)) // ratio 1x
    598593        {
    599594          numResampler++;
Note: See TracChangeset for help on using the changeset viewer.