Ticket #4126: intern.h.diff
File intern.h.diff, 434 bytes (added by , 16 years ago) |
---|
-
graphics/scaler/intern.h
old new 45 45 */ 46 46 template<int bitFormat> 47 47 static inline uint32 interpolate32_1_1(uint32 A, uint32 B) { 48 return (((A & kHighBitsMask) + (B & kHighBitsMask)) >> 1) + (A & B & kLowBitsMask);48 return (((A & kHighBitsMask) >> 1) + ((B & kHighBitsMask) >> 1) + (A & B & kLowBitsMask)); 49 49 } 50 50 51 51 /**