Lines Matching refs:SCALEBITS
90 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro
91 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1))
92 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
126 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
129 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
278 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v1_merged_upsample()
297 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v1_merged_upsample()
339 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v1_merged_upsample_565()
360 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v1_merged_upsample_565()
405 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v1_merged_upsample_565D()
428 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v1_merged_upsample_565D()
477 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v2_merged_upsample()
506 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v2_merged_upsample()
555 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v2_merged_upsample_565()
588 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v2_merged_upsample_565()
644 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v2_merged_upsample_565D()
681 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v2_merged_upsample_565D()