Lines Matching refs:JSAMPLE
70 JSAMPLE *rescale; /* => maxval-remapping array, or NULL */
145 register JSAMPLE *rescale = source->rescale; in get_text_gray_row()
164 register JSAMPLE *rescale = source->rescale; in get_text_rgb_row()
185 register JSAMPLE *rescale = source->rescale; in get_scaled_gray_row()
206 register JSAMPLE *rescale = source->rescale; in get_scaled_rgb_row()
244 register JSAMPLE *rescale = source->rescale; in get_word_gray_row()
268 register JSAMPLE *rescale = source->rescale; in get_word_rgb_row()
361 } else if (maxval == MAXJSAMPLE && sizeof(JSAMPLE) == sizeof(U_CHAR)) { in start_input_ppm()
376 } else if (maxval == MAXJSAMPLE && sizeof(JSAMPLE) == sizeof(U_CHAR)) { in start_input_ppm()
415 source->rescale = (JSAMPLE *) in start_input_ppm()
417 (size_t) (((long) maxval + 1L) * sizeof(JSAMPLE))); in start_input_ppm()
421 source->rescale[val] = (JSAMPLE) ((val*MAXJSAMPLE + half_maxval)/maxval); in start_input_ppm()