Lines Matching refs:SCALEBITS
80 #define SCALEBITS 16 /* speediest right-shift on some machines */
81 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1))
82 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
115 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS);
118 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS);
171 SCALEBITS))];
212 SCALEBITS))];
253 g = range_limit[y + ((int)RIGHT_SHIFT(Cbgtab[cb]+Crgtab[cr], SCALEBITS))];
265 g = range_limit[y + ((int)RIGHT_SHIFT(Cbgtab[cb]+Crgtab[cr], SCALEBITS))];
273 g = range_limit[y + ((int)RIGHT_SHIFT(Cbgtab[cb]+Crgtab[cr], SCALEBITS))];
284 g = range_limit[y + ((int)RIGHT_SHIFT(Cbgtab[cb]+Crgtab[cr], SCALEBITS))];
325 g = range_limit[DITHER_565_G(y + ((int)RIGHT_SHIFT(Cbgtab[cb]+Crgtab[cr], SCALEBITS)), d0)];
337 g = range_limit[DITHER_565_G(y + ((int)RIGHT_SHIFT(Cbgtab[cb]+Crgtab[cr], SCALEBITS)), d0)];
345 g = range_limit[DITHER_565_G(y + ((int)RIGHT_SHIFT(Cbgtab[cb]+Crgtab[cr], SCALEBITS)), d0)];
357 g = range_limit[DITHER_565_G(y + ((int)RIGHT_SHIFT(Cbgtab[cb]+Crgtab[cr], SCALEBITS)), d0)];
722 SCALEBITS)))];