Searched refs:MAXJSAMPLE (Results 1 - 18 of 18) sorted by relevance

/external/pdfium/third_party/libjpeg/
H A Dfpdfapi_jccolor.c32 * normalized to the range 0..MAXJSAMPLE rather than -0.5 .. 0.5.
38 * Note: older versions of the IJG code used a zero offset of MAXJSAMPLE/2,
70 #define G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */
71 #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */
72 #define R_CB_OFF (3*(MAXJSAMPLE+1))
73 #define G_CB_OFF (4*(MAXJSAMPLE+1))
74 #define B_CB_OFF (5*(MAXJSAMPLE+1))
76 #define G_CR_OFF (6*(MAXJSAMPLE+1))
77 #define B_CR_OFF (7*(MAXJSAMPLE+1))
78 #define TABLE_SIZE (8*(MAXJSAMPLE
[all...]
H A Dfpdfapi_jdcolor.c35 * normalized to the range 0..MAXJSAMPLE rather than -0.5 .. 0.5.
79 (MAXJSAMPLE+1) * SIZEOF(int));
82 (MAXJSAMPLE+1) * SIZEOF(int));
85 (MAXJSAMPLE+1) * SIZEOF(INT32));
88 (MAXJSAMPLE+1) * SIZEOF(INT32));
90 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) {
91 /* i is the actual input pixel value, in the range 0..MAXJSAMPLE */
275 outptr[0] = range_limit[MAXJSAMPLE - (y + Crrtab[cr])]; /* red */
276 outptr[1] = range_limit[MAXJSAMPLE - (y + /* green */
279 outptr[2] = range_limit[MAXJSAMPLE
[all...]
H A Djmorecfg.h76 #define MAXJSAMPLE 255 macro
90 #define MAXJSAMPLE 4095 macro
H A Dfpdfapi_jdmaster.c206 * 0..MAXJSAMPLE; the input value may fall somewhat outside this range
214 * else if (x > MAXJSAMPLE) x = MAXJSAMPLE;
218 * of x is within MAXJSAMPLE+1 of the legal range, so a table running from
219 * -(MAXJSAMPLE+1) to 2*MAXJSAMPLE+1 is sufficient. But for the initial
232 * CENTERJSAMPLE,CENTERJSAMPLE+1,...,MAXJSAMPLE,
233 * MAXJSAMPLE (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times),
234 * 0 (repeat 2*(MAXJSAMPLE
[all...]
H A Dfpdfapi_jdmerge.c91 (MAXJSAMPLE+1) * SIZEOF(int));
94 (MAXJSAMPLE+1) * SIZEOF(int));
97 (MAXJSAMPLE+1) * SIZEOF(INT32));
100 (MAXJSAMPLE+1) * SIZEOF(INT32));
102 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) {
103 /* i is the actual input pixel value, in the range 0..MAXJSAMPLE */
H A Djdct.h69 * 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/libjpeg-turbo/
H A Drdcolmap.c21 * Rescaling a PPM that has a maxval unequal to MAXJSAMPLE is not
64 if (ncolors >= (MAXJSAMPLE+1))
65 ERREXIT1(cinfo, JERR_QUANT_MANY_COLORS, (MAXJSAMPLE+1));
190 if (maxval != (unsigned int) MAXJSAMPLE)
237 (JDIMENSION) (MAXJSAMPLE+1), (JDIMENSION) 3);
H A Djccolor.c39 * normalized to the range 0..MAXJSAMPLE rather than -0.5 .. 0.5.
45 * Note: older versions of the IJG code used a zero offset of MAXJSAMPLE/2,
77 #define G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */
78 #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */
79 #define R_CB_OFF (3*(MAXJSAMPLE+1))
80 #define G_CB_OFF (4*(MAXJSAMPLE+1))
81 #define B_CB_OFF (5*(MAXJSAMPLE+1))
83 #define G_CR_OFF (6*(MAXJSAMPLE+1))
84 #define B_CR_OFF (7*(MAXJSAMPLE+1))
85 #define TABLE_SIZE (8*(MAXJSAMPLE
[all...]
H A Djquant1.c69 * this to 0..MAXJSAMPLE, and then index into the colorindex table as usual.
250 /* The output values must fall in 0..MAXJSAMPLE in increasing order */
252 /* We always provide values 0 and MAXJSAMPLE for each component;
257 return (int) (((JLONG) j * MAXJSAMPLE + maxj/2) / maxj);
264 /* Must have largest(j=0) >= 0, and largest(j=maxj) >= MAXJSAMPLE */
267 return (int) (((JLONG) (2*j + 1) * MAXJSAMPLE + maxj) / (2*maxj));
342 /* For ordered dither, we pad the color index tables by MAXJSAMPLE in
343 * each direction (input index values can be -MAXJSAMPLE .. 2*MAXJSAMPLE).
348 pad = MAXJSAMPLE*
[all...]
H A Djmorecfg.h65 #define MAXJSAMPLE 255 macro
79 #define MAXJSAMPLE 4095 macro
H A Djdmaster.c381 * 0..MAXJSAMPLE; the input value may fall somewhat outside this range
389 * else if (x > MAXJSAMPLE) x = MAXJSAMPLE;
393 * of x is within MAXJSAMPLE+1 of the legal range, so a table running from
394 * -(MAXJSAMPLE+1) to 2*MAXJSAMPLE+1 is sufficient. But for the initial
407 * CENTERJSAMPLE,CENTERJSAMPLE+1,...,MAXJSAMPLE,
408 * MAXJSAMPLE (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times),
409 * 0 (repeat 2*(MAXJSAMPLE
[all...]
H A Djdcolor.c47 * normalized to the range 0..MAXJSAMPLE rather than -0.5 .. 0.5.
88 #define G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */
89 #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */
90 #define TABLE_SIZE (3*(MAXJSAMPLE+1))
220 (MAXJSAMPLE+1) * sizeof(int));
223 (MAXJSAMPLE+1) * sizeof(int));
226 (MAXJSAMPLE+1) * sizeof(JLONG));
229 (MAXJSAMPLE+1) * sizeof(JLONG));
231 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) {
232 /* i is the actual input pixel value, in the range 0..MAXJSAMPLE */
[all...]
H A Djdmerge.c199 (MAXJSAMPLE+1) * sizeof(int));
202 (MAXJSAMPLE+1) * sizeof(int));
205 (MAXJSAMPLE+1) * sizeof(JLONG));
208 (MAXJSAMPLE+1) * sizeof(JLONG));
210 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) {
211 /* i is the actual input pixel value, in the range 0..MAXJSAMPLE */
H A Djquant2.c109 #define MAXNUMCOLORS (MAXJSAMPLE+1) /* maximum size of colormap */
532 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT;
534 boxlist[0].c1max = MAXJSAMPLE >> C1_SHIFT;
536 boxlist[0].c2max = MAXJSAMPLE >> C2_SHIFT;
996 /* Form pixel value + error, and range-limit to 0..MAXJSAMPLE.
997 * The maximum error is +- MAXJSAMPLE (or less with error limiting);
1064 * +- MAXJSAMPLE. But we want the maximum correction applied to a pixel to be
1073 * A simple clamping of the error values to about +- MAXJSAMPLE/8 works pretty
1087 ((j_common_ptr) cinfo, JPOOL_IMAGE, (MAXJSAMPLE*2+1) * sizeof(int));
1088 table += MAXJSAMPLE; /* s
[all...]
H A Drdppm.c135 * maxval = MAXJSAMPLE, which is the normal case for 8-bit data.
225 /* This version is for reading raw-byte-format files with maxval = MAXJSAMPLE.
372 } else if (maxval == MAXJSAMPLE && sizeof(JSAMPLE) == sizeof(U_CHAR)) {
387 } else if (maxval == MAXJSAMPLE && sizeof(JSAMPLE) == sizeof(U_CHAR)) {
433 source->rescale[val] = (JSAMPLE) ((val * MAXJSAMPLE + half_maxval) /
H A Djdct.h79 * converting them to unsigned form (0..MAXJSAMPLE). The raw outputs could
88 #define RANGE_MASK (MAXJSAMPLE * 4 + 3) /* 2 bits wider than legal samples */
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 271 milliseconds