Searched refs:CENTERJSAMPLE (Results 1 - 25 of 41) sorted by relevance

12

/external/pdfium/third_party/libjpeg/
H A Dfpdfapi_jcdctmgr.c205 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
206 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
207 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
208 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
209 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
210 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
211 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
212 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
216 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
295 *workspaceptr++ = (FAST_FLOAT)(GETJSAMPLE(*elemptr++) - CENTERJSAMPLE);
[all...]
H A Djmorecfg.h77 #define CENTERJSAMPLE 128 macro
91 #define CENTERJSAMPLE 2048 macro
H A Dfpdfapi_jdmaster.c230 * representation by adding CENTERJSAMPLE at the same time that we limit it.
232 * CENTERJSAMPLE,CENTERJSAMPLE+1,...,MAXJSAMPLE,
233 * MAXJSAMPLE (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times),
234 * 0 (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times),
235 * 0,1,...,CENTERJSAMPLE-1
241 * sample_range_limit + CENTERJSAMPLE.
256 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE));
264 table += CENTERJSAMPLE; /* Point to where post-IDCT table starts */
266 for (i = CENTERJSAMPLE;
[all...]
H A Djdct.h21 * The DCT inputs are expected to be signed (range +-CENTERJSAMPLE).
76 #define IDCT_range_limit(cinfo) ((cinfo)->sample_range_limit + CENTERJSAMPLE)
H A Dfpdfapi_jdcolor.c40 * where Cb and Cr represent the incoming values less CENTERJSAMPLE.
90 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) {
92 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */
H A Dfpdfapi_jccolor.c35 * Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
36 * Cr = 0.50000 * R - 0.41869 * G - 0.08131 * B + CENTERJSAMPLE
39 * rather than CENTERJSAMPLE, for Cb and Cr. This gave equal positive and
54 * The CENTERJSAMPLE offsets and the rounding fudge-factor of 0.5 are included
59 #define CBCR_OFFSET ((INT32) CENTERJSAMPLE << SCALEBITS)
H A Dfpdfapi_jdmerge.c102 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) {
104 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */
/external/libjpeg-turbo/
H A Djcdctmgr.c384 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
385 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
386 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
387 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
388 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
389 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
390 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
391 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
396 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
537 *workspaceptr++ = (FAST_FLOAT)(GETJSAMPLE(*elemptr++) - CENTERJSAMPLE);
[all...]
H A Djmorecfg.h66 #define CENTERJSAMPLE 128 macro
80 #define CENTERJSAMPLE 2048 macro
H A Djdmaster.c405 * representation by adding CENTERJSAMPLE at the same time that we limit it.
407 * CENTERJSAMPLE,CENTERJSAMPLE+1,...,MAXJSAMPLE,
408 * MAXJSAMPLE (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times),
409 * 0 (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times),
410 * 0,1,...,CENTERJSAMPLE-1
416 * sample_range_limit + CENTERJSAMPLE.
428 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * sizeof(JSAMPLE));
436 table += CENTERJSAMPLE; /* Point to where post-IDCT table starts */
438 for (i = CENTERJSAMPLE;
[all...]
H A Djdct.h24 * The DCT inputs are expected to be signed (range +-CENTERJSAMPLE).
86 #define IDCT_range_limit(cinfo) ((cinfo)->sample_range_limit + CENTERJSAMPLE)
H A Djidctflt.c195 z5 = wsptr[0] + ((FAST_FLOAT) CENTERJSAMPLE + (FAST_FLOAT) 0.5);
H A Djdmerge.c210 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) {
212 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */
H A Djccolor.c42 * Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
43 * Cr = 0.50000 * R - 0.41869 * G - 0.08131 * B + CENTERJSAMPLE
46 * rather than CENTERJSAMPLE, for Cb and Cr. This gave equal positive and
61 * The CENTERJSAMPLE offsets and the rounding fudge-factor of 0.5 are included
66 #define CBCR_OFFSET ((JLONG) CENTERJSAMPLE << SCALEBITS)
/external/libjpeg-turbo/simd/
H A Djccolor-mmx.asm47 PD_ONEHALFM1_CJ times 2 dd (1 << (SCALEBITS-1)) - 1 + (CENTERJSAMPLE << SCALEBITS)
H A Djccolor-sse2-64.asm46 PD_ONEHALFM1_CJ times 4 dd (1 << (SCALEBITS-1)) - 1 + (CENTERJSAMPLE << SCALEBITS)
H A Djccolor-sse2.asm46 PD_ONEHALFM1_CJ times 4 dd (1 << (SCALEBITS-1)) - 1 + (CENTERJSAMPLE << SCALEBITS)
H A Djccolext-altivec.c57 pd_onehalfm1_cj = { __4X(ONE_HALF - 1 + (CENTERJSAMPLE << SCALEBITS)) };
195 * Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
196 * Cr = 0.50000 * R - 0.41869 * G - 0.08131 * B + CENTERJSAMPLE
200 * Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
201 * Cr = 0.50000 * R - 0.41869 * G - 0.08131 * B + CENTERJSAMPLE
H A Djdcolext-altivec.c60 pw_cj = { __8X(CENTERJSAMPLE) };
H A Djidctfst-altivec.c137 __vector signed char pb_centerjsamp = { __16X(CENTERJSAMPLE) };
H A Djquanti-altivec.c61 __vector short pw_centerjsamp = { __8X(CENTERJSAMPLE) };
H A Djdmrgext-altivec.c62 pw_cj = { __8X(CENTERJSAMPLE) };
H A Djidctint-altivec.c246 __vector signed char pb_centerjsamp = { __16X(CENTERJSAMPLE) };
H A Djidctflt-3dn.asm38 PB_CENTERJSAMP times 8 db CENTERJSAMPLE
H A Djidctflt-sse2-64.asm49 PB_CENTERJSAMP times 16 db CENTERJSAMPLE

Completed in 184 milliseconds

12