Changeset 473 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib/TLibEncoder
- Timestamp:
- 15 Nov 2013, 10:52:52 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/Lib/TLibEncoder/WeightPredAnalysis.cpp
r468 r473 253 253 if (slice->getRefPic(eRefPicList, refIdxTemp)->isILR(slice->getLayerId())) 254 254 { 255 refAC *= (double)currWeightACDCParam[comp].iSamples/refWeightACDCParam[comp].iSamples;255 refAC = ( refAC * currWeightACDCParam[comp].iSamples ) /refWeightACDCParam[comp].iSamples; 256 256 #if O0194_JOINT_US_BITSHIFT 257 refAC *= (1<<(g_bitDepthYLayer[1]-g_bitDepthYLayer[0]));258 refDC *= (1<<(g_bitDepthYLayer[1]-g_bitDepthYLayer[0]));257 refAC <<= (g_bitDepthYLayer[1]-g_bitDepthYLayer[0]); 258 refDC <<= (g_bitDepthYLayer[1]-g_bitDepthYLayer[0]); 259 259 #endif 260 260 }
Note: See TracChangeset for help on using the changeset viewer.