Changeset 387 in SHVCSoftware for branches


Ignore:
Timestamp:
9 Sep 2013, 20:17:12 (11 years ago)
Author:
interdigital
Message:

fix a bug to determine the resampling process for sample values is invoked when either scaling factor is NOT 1 and the rescaled offsets are NOT all zero.

File:
1 edited

Legend:

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

    r386 r387  
    509509      {
    510510        UInt refLayerIdc = m_interLayerPredLayerIdc[i];
    511         if(!( g_posScalingFactor[refLayerIdc][0] == 65536 && g_posScalingFactor[refLayerIdc][1] == 65536 ) && (scalingOffset)) // ratio 1x
     511        if(!( g_posScalingFactor[refLayerIdc][0] == 65536 && g_posScalingFactor[refLayerIdc][1] == 65536 ) || (!scalingOffset)) // ratio 1x
    512512        {
    513513          numResampler++;
Note: See TracChangeset for help on using the changeset viewer.