Lines Matching refs:MAXJSAMPLE
319 * 0..MAXJSAMPLE; the input value may fall somewhat outside this range
327 * else if (x > MAXJSAMPLE) x = MAXJSAMPLE;
331 * of x is within MAXJSAMPLE+1 of the legal range, so a table running from
332 * -(MAXJSAMPLE+1) to 2*MAXJSAMPLE+1 is sufficient. But for the initial
345 * CENTERJSAMPLE,CENTERJSAMPLE+1,...,MAXJSAMPLE,
346 * MAXJSAMPLE (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times),
347 * 0 (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times),
369 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE));
370 table += (MAXJSAMPLE+1); /* allow negative subscripts of simple table */
373 MEMZERO(table - (MAXJSAMPLE+1), (MAXJSAMPLE+1) * SIZEOF(JSAMPLE));
375 for (i = 0; i <= MAXJSAMPLE; i++)
379 for (i = CENTERJSAMPLE; i < 2*(MAXJSAMPLE+1); i++)
380 table[i] = MAXJSAMPLE;
382 MEMZERO(table + (2 * (MAXJSAMPLE+1)),
383 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * SIZEOF(JSAMPLE));
384 MEMCOPY(table + (4 * (MAXJSAMPLE+1) - CENTERJSAMPLE),