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

/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djcdctmgr.c209 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
210 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
211 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
212 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
213 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
214 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
215 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
216 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
220 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE;
299 *workspaceptr++ = (FAST_FLOAT)(GETJSAMPLE(*elemptr++) - CENTERJSAMPLE);
[all...]
H A Djmorecfg.h78 #define CENTERJSAMPLE 128 macro
92 #define CENTERJSAMPLE 2048 macro
H A Djdmaster.c234 * representation by adding CENTERJSAMPLE at the same time that we limit it.
236 * CENTERJSAMPLE,CENTERJSAMPLE+1,...,MAXJSAMPLE,
237 * MAXJSAMPLE (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times),
238 * 0 (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times),
239 * 0,1,...,CENTERJSAMPLE-1
245 * sample_range_limit + CENTERJSAMPLE.
260 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE));
268 table += CENTERJSAMPLE; /* Point to where post-IDCT table starts */
270 for (i = CENTERJSAMPLE;
[all...]
H A Djdct.h25 * The DCT inputs are expected to be signed (range +-CENTERJSAMPLE).
80 #define IDCT_range_limit(cinfo) ((cinfo)->sample_range_limit + CENTERJSAMPLE)
H A Djdcolor.c44 * where Cb and Cr represent the incoming values less CENTERJSAMPLE.
94 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) {
96 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */
H A Djccolor.c39 * Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
40 * Cr = 0.50000 * R - 0.41869 * G - 0.08131 * B + CENTERJSAMPLE
43 * rather than CENTERJSAMPLE, for Cb and Cr. This gave equal positive and
58 * The CENTERJSAMPLE offsets and the rounding fudge-factor of 0.5 are included
63 #define CBCR_OFFSET ((INT32) CENTERJSAMPLE << SCALEBITS)
H A Djdmerge.c107 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) {
109 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */

Completed in 246 milliseconds