Lines Matching refs:MAXJSAMPLE
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),
279 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE));
280 table += (MAXJSAMPLE+1); /* allow negative subscripts of simple table */
283 MEMZERO(table - (MAXJSAMPLE+1), (MAXJSAMPLE+1) * SIZEOF(JSAMPLE));
285 for (i = 0; i <= MAXJSAMPLE; i++)
289 for (i = CENTERJSAMPLE; i < 2*(MAXJSAMPLE+1); i++)
290 table[i] = MAXJSAMPLE;
292 MEMZERO(table + (2 * (MAXJSAMPLE+1)),
293 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * SIZEOF(JSAMPLE));
294 MEMCOPY(table + (4 * (MAXJSAMPLE+1) - CENTERJSAMPLE),