/external/jpeg/ |
jccolor.c | 34 * normalized to the range 0..MAXJSAMPLE rather than -0.5 .. 0.5. 40 * Note: older versions of the IJG code used a zero offset of MAXJSAMPLE/2, 72 #define G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */ 73 #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */ 74 #define R_CB_OFF (3*(MAXJSAMPLE+1)) 75 #define G_CB_OFF (4*(MAXJSAMPLE+1)) 76 #define B_CB_OFF (5*(MAXJSAMPLE+1)) 78 #define G_CR_OFF (6*(MAXJSAMPLE+1)) 79 #define B_CR_OFF (7*(MAXJSAMPLE+1)) 80 #define TABLE_SIZE (8*(MAXJSAMPLE+1) [all...] |
rdcolmap.c | 20 * Rescaling a PPM that has a maxval unequal to MAXJSAMPLE is not 63 if (ncolors >= (MAXJSAMPLE+1)) 64 ERREXIT1(cinfo, JERR_QUANT_MANY_COLORS, (MAXJSAMPLE+1)); 189 if (maxval != (unsigned int) MAXJSAMPLE) 236 (JDIMENSION) (MAXJSAMPLE+1), (JDIMENSION) 3);
|
jdmaster.c | 229 * 0..MAXJSAMPLE; the input value may fall somewhat outside this range 237 * else if (x > MAXJSAMPLE) x = MAXJSAMPLE; 241 * of x is within MAXJSAMPLE+1 of the legal range, so a table running from 242 * -(MAXJSAMPLE+1) to 2*MAXJSAMPLE+1 is sufficient. But for the initial 255 * CENTERJSAMPLE,CENTERJSAMPLE+1,...,MAXJSAMPLE, 256 * MAXJSAMPLE (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times), 257 * 0 (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times) [all...] |
jquant1.c | 66 * this to 0..MAXJSAMPLE, and then index into the colorindex table as usual. 247 /* The output values must fall in 0..MAXJSAMPLE in increasing order */ 249 /* We always provide values 0 and MAXJSAMPLE for each component; 254 return (int) (((INT32) j * MAXJSAMPLE + maxj/2) / maxj); 261 /* Must have largest(j=0) >= 0, and largest(j=maxj) >= MAXJSAMPLE */ 264 return (int) (((INT32) (2*j + 1) * MAXJSAMPLE + maxj) / (2*maxj)); 339 /* For ordered dither, we pad the color index tables by MAXJSAMPLE in 340 * each direction (input index values can be -MAXJSAMPLE .. 2*MAXJSAMPLE). 345 pad = MAXJSAMPLE*2 [all...] |
jmorecfg.h | 100 #define MAXJSAMPLE 255 114 #define MAXJSAMPLE 4095
|
jdct.h | 73 * converting them to unsigned form (0..MAXJSAMPLE). The raw outputs could 82 #define RANGE_MASK (MAXJSAMPLE * 4 + 3) /* 2 bits wider than legal samples */
|
/external/pdfium/core/src/fxcodec/libjpeg/ |
fpdfapi_jccolor.c | 33 * normalized to the range 0..MAXJSAMPLE rather than -0.5 .. 0.5.
39 * Note: older versions of the IJG code used a zero offset of MAXJSAMPLE/2,
71 #define G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */
72 #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */
73 #define R_CB_OFF (3*(MAXJSAMPLE+1))
74 #define G_CB_OFF (4*(MAXJSAMPLE+1))
75 #define B_CB_OFF (5*(MAXJSAMPLE+1))
77 #define G_CR_OFF (6*(MAXJSAMPLE+1))
78 #define B_CR_OFF (7*(MAXJSAMPLE+1))
79 #define TABLE_SIZE (8*(MAXJSAMPLE+1)) [all...] |
fpdfapi_jdcolor.c | 36 * normalized to the range 0..MAXJSAMPLE rather than -0.5 .. 0.5.
80 (MAXJSAMPLE+1) * SIZEOF(int));
83 (MAXJSAMPLE+1) * SIZEOF(int));
86 (MAXJSAMPLE+1) * SIZEOF(INT32));
89 (MAXJSAMPLE+1) * SIZEOF(INT32));
91 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) {
92 /* i is the actual input pixel value, in the range 0..MAXJSAMPLE */
276 outptr[0] = range_limit[MAXJSAMPLE - (y + Crrtab[cr])]; /* red */
277 outptr[1] = range_limit[MAXJSAMPLE - (y + /* green */
280 outptr[2] = range_limit[MAXJSAMPLE - (y + Cbbtab[cb])]; /* blue */ [all...] |
jmorecfg.h | 76 #define MAXJSAMPLE 255
90 #define MAXJSAMPLE 4095
|
fpdfapi_jdmaster.c | 207 * 0..MAXJSAMPLE; the input value may fall somewhat outside this range
215 * else if (x > MAXJSAMPLE) x = MAXJSAMPLE;
219 * of x is within MAXJSAMPLE+1 of the legal range, so a table running from
220 * -(MAXJSAMPLE+1) to 2*MAXJSAMPLE+1 is sufficient. But for the initial
233 * CENTERJSAMPLE,CENTERJSAMPLE+1,...,MAXJSAMPLE,
234 * MAXJSAMPLE (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times),
235 * 0 (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times), [all...] |
fpdfapi_jdmerge.c | 96 (MAXJSAMPLE+1) * SIZEOF(int));
99 (MAXJSAMPLE+1) * SIZEOF(int));
102 (MAXJSAMPLE+1) * SIZEOF(INT32));
105 (MAXJSAMPLE+1) * SIZEOF(INT32));
107 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) {
108 /* i is the actual input pixel value, in the range 0..MAXJSAMPLE */
|
jdct.h | 69 * converting them to unsigned form (0..MAXJSAMPLE). The raw outputs could
78 #define RANGE_MASK (MAXJSAMPLE * 4 + 3) /* 2 bits wider than legal samples */
|
/external/chromium_org/third_party/libjpeg_turbo/ |
rdcolmap.c | 20 * Rescaling a PPM that has a maxval unequal to MAXJSAMPLE is not 63 if (ncolors >= (MAXJSAMPLE+1)) 64 ERREXIT1(cinfo, JERR_QUANT_MANY_COLORS, (MAXJSAMPLE+1)); 189 if (maxval != (unsigned int) MAXJSAMPLE) 236 (JDIMENSION) (MAXJSAMPLE+1), (JDIMENSION) 3);
|
jccolor.c | 37 * normalized to the range 0..MAXJSAMPLE rather than -0.5 .. 0.5. 43 * Note: older versions of the IJG code used a zero offset of MAXJSAMPLE/2, 75 #define G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */ 76 #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */ 77 #define R_CB_OFF (3*(MAXJSAMPLE+1)) 78 #define G_CB_OFF (4*(MAXJSAMPLE+1)) 79 #define B_CB_OFF (5*(MAXJSAMPLE+1)) 81 #define G_CR_OFF (6*(MAXJSAMPLE+1)) 82 #define B_CR_OFF (7*(MAXJSAMPLE+1)) 83 #define TABLE_SIZE (8*(MAXJSAMPLE+1) [all...] |
jdcolor.c | 45 * normalized to the range 0..MAXJSAMPLE rather than -0.5 .. 0.5. 86 #define G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */ 87 #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */ 88 #define TABLE_SIZE (3*(MAXJSAMPLE+1)) 218 (MAXJSAMPLE+1) * SIZEOF(int)); 221 (MAXJSAMPLE+1) * SIZEOF(int)); 224 (MAXJSAMPLE+1) * SIZEOF(INT32)); 227 (MAXJSAMPLE+1) * SIZEOF(INT32)); 229 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) { 230 /* i is the actual input pixel value, in the range 0..MAXJSAMPLE */ [all...] |
jquant1.c | 68 * this to 0..MAXJSAMPLE, and then index into the colorindex table as usual. 252 /* The output values must fall in 0..MAXJSAMPLE in increasing order */ 254 /* We always provide values 0 and MAXJSAMPLE for each component; 259 return (int) (((INT32) j * MAXJSAMPLE + maxj/2) / maxj); 266 /* Must have largest(j=0) >= 0, and largest(j=maxj) >= MAXJSAMPLE */ 269 return (int) (((INT32) (2*j + 1) * MAXJSAMPLE + maxj) / (2*maxj)); 344 /* For ordered dither, we pad the color index tables by MAXJSAMPLE in 345 * each direction (input index values can be -MAXJSAMPLE .. 2*MAXJSAMPLE). 350 pad = MAXJSAMPLE*2 [all...] |
jmorecfg.h | 75 #define MAXJSAMPLE 255 89 #define MAXJSAMPLE 4095
|
jdmaster.c | 378 * 0..MAXJSAMPLE; the input value may fall somewhat outside this range 386 * else if (x > MAXJSAMPLE) x = MAXJSAMPLE; 390 * of x is within MAXJSAMPLE+1 of the legal range, so a table running from 391 * -(MAXJSAMPLE+1) to 2*MAXJSAMPLE+1 is sufficient. But for the initial 404 * CENTERJSAMPLE,CENTERJSAMPLE+1,...,MAXJSAMPLE, 405 * MAXJSAMPLE (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times), 406 * 0 (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times) [all...] |
jdmerge.c | 198 (MAXJSAMPLE+1) * SIZEOF(int)); 201 (MAXJSAMPLE+1) * SIZEOF(int)); 204 (MAXJSAMPLE+1) * SIZEOF(INT32)); 207 (MAXJSAMPLE+1) * SIZEOF(INT32)); 209 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) { 210 /* i is the actual input pixel value, in the range 0..MAXJSAMPLE */
|
/external/qemu/distrib/jpeg-6b/ |
rdcolmap.c | 20 * Rescaling a PPM that has a maxval unequal to MAXJSAMPLE is not 63 if (ncolors >= (MAXJSAMPLE+1)) 64 ERREXIT1(cinfo, JERR_QUANT_MANY_COLORS, (MAXJSAMPLE+1)); 189 if (maxval != (unsigned int) MAXJSAMPLE) 236 (JDIMENSION) (MAXJSAMPLE+1), (JDIMENSION) 3);
|
jdmaster.c | 229 * 0..MAXJSAMPLE; the input value may fall somewhat outside this range 237 * else if (x > MAXJSAMPLE) x = MAXJSAMPLE; 241 * of x is within MAXJSAMPLE+1 of the legal range, so a table running from 242 * -(MAXJSAMPLE+1) to 2*MAXJSAMPLE+1 is sufficient. But for the initial 255 * CENTERJSAMPLE,CENTERJSAMPLE+1,...,MAXJSAMPLE, 256 * MAXJSAMPLE (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times), 257 * 0 (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times) [all...] |
jccolor.c | 34 * normalized to the range 0..MAXJSAMPLE rather than -0.5 .. 0.5. 40 * Note: older versions of the IJG code used a zero offset of MAXJSAMPLE/2, 72 #define G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */ 73 #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */ 74 #define R_CB_OFF (3*(MAXJSAMPLE+1)) 75 #define G_CB_OFF (4*(MAXJSAMPLE+1)) 76 #define B_CB_OFF (5*(MAXJSAMPLE+1)) 78 #define G_CR_OFF (6*(MAXJSAMPLE+1)) 79 #define B_CR_OFF (7*(MAXJSAMPLE+1)) 80 #define TABLE_SIZE (8*(MAXJSAMPLE+1) [all...] |
jquant1.c | 66 * this to 0..MAXJSAMPLE, and then index into the colorindex table as usual. 247 /* The output values must fall in 0..MAXJSAMPLE in increasing order */ 249 /* We always provide values 0 and MAXJSAMPLE for each component; 254 return (int) (((INT32) j * MAXJSAMPLE + maxj/2) / maxj); 261 /* Must have largest(j=0) >= 0, and largest(j=maxj) >= MAXJSAMPLE */ 264 return (int) (((INT32) (2*j + 1) * MAXJSAMPLE + maxj) / (2*maxj)); 339 /* For ordered dither, we pad the color index tables by MAXJSAMPLE in 340 * each direction (input index values can be -MAXJSAMPLE .. 2*MAXJSAMPLE). 345 pad = MAXJSAMPLE*2 [all...] |
jmorecfg.h | 97 #define MAXJSAMPLE 255 111 #define MAXJSAMPLE 4095
|
/external/pdfium/core/include/thirdparties/libjpeg/ |
jmorecfg.h | 76 #define MAXJSAMPLE 255
90 #define MAXJSAMPLE 4095
|