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

/asus-wl-520gu-7.0.1.45/src/router/jpeg-6b/
H A Djcdctmgr.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.h74 #define CENTERJSAMPLE 128 macro
88 #define CENTERJSAMPLE 2048 macro
H A Djdmaster.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 Djdcolor.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 Djccolor.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 Djdmerge.c103 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) {
105 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */

Completed in 88 milliseconds