Ignore:
Timestamp:
17 Jul 2015, 05:43:37 (9 years ago)
Author:
seregin
Message:

port rev 4322 (g_bitDepth)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TComChromaFormat.h

    r1285 r1287  
    163163//------------------------------------------------
    164164
    165 static inline Int getTransformShift(const ChannelType type, const UInt uiLog2TrSize, const Int maxLog2TrDynamicRange)
    166 {
    167 #if O0043_BEST_EFFORT_DECODING
    168   return maxLog2TrDynamicRange - g_bitDepthInStream[type] - uiLog2TrSize;
    169 #else
    170   return maxLog2TrDynamicRange - g_bitDepth[type] - uiLog2TrSize;
    171 #endif
     165static inline Int getTransformShift(const Int channelBitDepth, const UInt uiLog2TrSize, const Int maxLog2TrDynamicRange)
     166{
     167  return maxLog2TrDynamicRange - channelBitDepth - uiLog2TrSize;
    172168}
    173169
Note: See TracChangeset for help on using the changeset viewer.