Changeset 638 in SHVCSoftware


Ignore:
Timestamp:
21 Mar 2014, 00:59:03 (11 years ago)
Author:
seregin
Message:

bitdepth check for upsampling, suggested by He, Yong <Yong.He@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.1-dev/source/Lib/TLibCommon/TComUpsampleFilter.cpp

    r633 r638  
    162162  UInt currLayerId = currSlice->getLayerId();
    163163  UInt refLayerId  = currSlice->getVPS()->getRefLayerId( currLayerId, refLayerIdc );
    164 #endif
    165 
     164
     165  if( scaleX == 65536 && scaleY == 65536 && g_bitDepthYLayer[currLayerId] == g_bitDepthYLayer[refLayerId] && g_bitDepthCLayer[currLayerId] == g_bitDepthCLayer[refLayerId] ) // ratio 1x
     166#else
    166167  if( scaleX == 65536 && scaleY == 65536 ) // ratio 1x
     168#endif
    167169  {
    168170    piSrcY = piSrcBufY;
Note: See TracChangeset for help on using the changeset viewer.