MAXJSAMPLE 70 jccolor.c #define G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */
MAXJSAMPLE 71 jccolor.c #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */
MAXJSAMPLE 72 jccolor.c #define R_CB_OFF (3*(MAXJSAMPLE+1))
MAXJSAMPLE 73 jccolor.c #define G_CB_OFF (4*(MAXJSAMPLE+1))
MAXJSAMPLE 74 jccolor.c #define B_CB_OFF (5*(MAXJSAMPLE+1))
MAXJSAMPLE 76 jccolor.c #define G_CR_OFF (6*(MAXJSAMPLE+1))
MAXJSAMPLE 77 jccolor.c #define B_CR_OFF (7*(MAXJSAMPLE+1))
MAXJSAMPLE 78 jccolor.c #define TABLE_SIZE (8*(MAXJSAMPLE+1))
MAXJSAMPLE 97 jccolor.c for (i = 0; i <= MAXJSAMPLE; i++) {
MAXJSAMPLE 245 jccolor.c r = MAXJSAMPLE - GETJSAMPLE(inptr[0]);
MAXJSAMPLE 246 jccolor.c g = MAXJSAMPLE - GETJSAMPLE(inptr[1]);
MAXJSAMPLE 247 jccolor.c b = MAXJSAMPLE - GETJSAMPLE(inptr[2]);
MAXJSAMPLE 79 jdcolor.c (MAXJSAMPLE+1) * SIZEOF(int));
MAXJSAMPLE 82 jdcolor.c (MAXJSAMPLE+1) * SIZEOF(int));
MAXJSAMPLE 85 jdcolor.c (MAXJSAMPLE+1) * SIZEOF(INT32));
MAXJSAMPLE 88 jdcolor.c (MAXJSAMPLE+1) * SIZEOF(INT32));
MAXJSAMPLE 90 jdcolor.c for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) {
MAXJSAMPLE 275 jdcolor.c outptr[0] = range_limit[MAXJSAMPLE - (y + Crrtab[cr])]; /* red */
MAXJSAMPLE 276 jdcolor.c outptr[1] = range_limit[MAXJSAMPLE - (y + /* green */
MAXJSAMPLE 279 jdcolor.c outptr[2] = range_limit[MAXJSAMPLE - (y + Cbbtab[cb])]; /* blue */
MAXJSAMPLE 87 jdct.h #define RANGE_MASK (MAXJSAMPLE * 4 + 3) /* 2 bits wider than legal samples */
MAXJSAMPLE 239 jdmaster.c (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE));
MAXJSAMPLE 240 jdmaster.c table += (MAXJSAMPLE+1); /* allow negative subscripts of simple table */
MAXJSAMPLE 243 jdmaster.c MEMZERO(table - (MAXJSAMPLE+1), (MAXJSAMPLE+1) * SIZEOF(JSAMPLE));
MAXJSAMPLE 245 jdmaster.c for (i = 0; i <= MAXJSAMPLE; i++)
MAXJSAMPLE 249 jdmaster.c for (i = CENTERJSAMPLE; i < 2*(MAXJSAMPLE+1); i++)
MAXJSAMPLE 250 jdmaster.c table[i] = MAXJSAMPLE;
MAXJSAMPLE 252 jdmaster.c MEMZERO(table + (2 * (MAXJSAMPLE+1)),
MAXJSAMPLE 253 jdmaster.c (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * SIZEOF(JSAMPLE));
MAXJSAMPLE 254 jdmaster.c MEMCOPY(table + (4 * (MAXJSAMPLE+1) - CENTERJSAMPLE),
MAXJSAMPLE 92 jdmerge.c (MAXJSAMPLE+1) * SIZEOF(int));
MAXJSAMPLE 95 jdmerge.c (MAXJSAMPLE+1) * SIZEOF(int));
MAXJSAMPLE 98 jdmerge.c (MAXJSAMPLE+1) * SIZEOF(INT32));
MAXJSAMPLE 101 jdmerge.c (MAXJSAMPLE+1) * SIZEOF(INT32));
MAXJSAMPLE 103 jdmerge.c for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) {
MAXJSAMPLE 254 jquant1.c return (int) (((INT32) j * MAXJSAMPLE + maxj/2) / maxj);
MAXJSAMPLE 264 jquant1.c return (int) (((INT32) (2*j + 1) * MAXJSAMPLE + maxj) / (2*maxj));
MAXJSAMPLE 345 jquant1.c pad = MAXJSAMPLE*2;
MAXJSAMPLE 354 jquant1.c (JDIMENSION) (MAXJSAMPLE+1 + pad),
MAXJSAMPLE 367 jquant1.c cquantize->colorindex[i] += MAXJSAMPLE;
MAXJSAMPLE 374 jquant1.c for (j = 0; j <= MAXJSAMPLE; j++) {
MAXJSAMPLE 382 jquant1.c for (j = 1; j <= MAXJSAMPLE; j++) {
MAXJSAMPLE 384 jquant1.c indexptr[MAXJSAMPLE+j] = indexptr[MAXJSAMPLE];
MAXJSAMPLE 414 jquant1.c * MAXJSAMPLE;
MAXJSAMPLE 839 jquant1.c if (cinfo->desired_number_of_colors > (MAXJSAMPLE+1))
MAXJSAMPLE 840 jquant1.c ERREXIT1(cinfo, JERR_QUANT_MANY_COLORS, MAXJSAMPLE+1);
MAXJSAMPLE 127 jquant2.c #define MAXNUMCOLORS (MAXJSAMPLE+1) /* maximum size of colormap */
MAXJSAMPLE 552 jquant2.c boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT;
MAXJSAMPLE 554 jquant2.c boxlist[0].c1max = MAXJSAMPLE >> C1_SHIFT;
MAXJSAMPLE 556 jquant2.c boxlist[0].c2max = MAXJSAMPLE >> C2_SHIFT;
MAXJSAMPLE 1116 jquant2.c ((j_common_ptr) cinfo, JPOOL_IMAGE, (MAXJSAMPLE*2+1) * SIZEOF(int));
MAXJSAMPLE 1117 jquant2.c table += MAXJSAMPLE; /* so can index -MAXJSAMPLE .. +MAXJSAMPLE */
MAXJSAMPLE 1120 jquant2.c #define STEPSIZE ((MAXJSAMPLE+1)/16)
MAXJSAMPLE 1131 jquant2.c for (; in <= MAXJSAMPLE; in++) {
MAXJSAMPLE 63 rdcolmap.c if (ncolors >= (MAXJSAMPLE+1))
MAXJSAMPLE 64 rdcolmap.c ERREXIT1(cinfo, JERR_QUANT_MANY_COLORS, (MAXJSAMPLE+1));
MAXJSAMPLE 189 rdcolmap.c if (maxval != (unsigned int) MAXJSAMPLE)
MAXJSAMPLE 236 rdcolmap.c (JDIMENSION) (MAXJSAMPLE+1), (JDIMENSION) 3);
MAXJSAMPLE 361 rdppm.c } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) {
MAXJSAMPLE 376 rdppm.c } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) {
MAXJSAMPLE 422 rdppm.c source->rescale[val] = (JSAMPLE) ((val*MAXJSAMPLE + half_maxval)/maxval);