Changeset 1287 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon/TComChromaFormat.h
- Timestamp:
- 17 Jul 2015, 05:43:37 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComChromaFormat.h
r1285 r1287 163 163 //------------------------------------------------ 164 164 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 165 static inline Int getTransformShift(const Int channelBitDepth, const UInt uiLog2TrSize, const Int maxLog2TrDynamicRange) 166 { 167 return maxLog2TrDynamicRange - channelBitDepth - uiLog2TrSize; 172 168 } 173 169
Note: See TracChangeset for help on using the changeset viewer.