Home
last modified time | relevance | path

Searched refs:SCALEBITS (Results 1 – 8 of 8) sorted by relevance

/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jccolor.c59 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro
60 #define CBCR_OFFSET ((INT32) CENTERJSAMPLE << SCALEBITS)
61 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1))
62 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
162 >> SCALEBITS); in rgb_ycc_convert()
166 >> SCALEBITS); in rgb_ycc_convert()
170 >> SCALEBITS); in rgb_ycc_convert()
211 >> SCALEBITS); in rgb_gray_convert()
260 >> SCALEBITS); in cmyk_ycck_convert()
264 >> SCALEBITS); in cmyk_ycck_convert()
[all …]
Dfpdfapi_jdmerge.c76 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro
77 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1))
78 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
112 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
115 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
258 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v1_merged_upsample()
277 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v1_merged_upsample()
322 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v2_merged_upsample()
351 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v2_merged_upsample()
Dfpdfapi_jdcolor.c61 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro
62 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1))
63 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
96 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
99 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
153 SCALEBITS))]; in ycc_rgb_convert()
279 SCALEBITS)))]; in ycck_cmyk_convert()
/external/jpeg/
Djccolor.c60 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro
61 #define CBCR_OFFSET ((INT32) CENTERJSAMPLE << SCALEBITS)
62 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1))
63 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
163 >> SCALEBITS); in rgb_ycc_convert()
167 >> SCALEBITS); in rgb_ycc_convert()
171 >> SCALEBITS); in rgb_ycc_convert()
212 >> SCALEBITS); in rgb_gray_convert()
261 >> SCALEBITS); in cmyk_ycck_convert()
265 >> SCALEBITS); in cmyk_ycck_convert()
[all …]
Djdmerge.c90 #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()
[all …]
Djdcolor.c82 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro
83 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1))
84 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
117 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
120 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
173 SCALEBITS))]; in ycc_rgb_convert()
214 SCALEBITS))]; in ycc_rgba_8888_convert()
255 g = range_limit[y + ((int)RIGHT_SHIFT(Cbgtab[cb]+Crgtab[cr], SCALEBITS))]; in ycc_rgb_565_convert()
267 g = range_limit[y + ((int)RIGHT_SHIFT(Cbgtab[cb]+Crgtab[cr], SCALEBITS))]; in ycc_rgb_565_convert()
275 g = range_limit[y + ((int)RIGHT_SHIFT(Cbgtab[cb]+Crgtab[cr], SCALEBITS))]; in ycc_rgb_565_convert()
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...