Lines Matching refs:rescale
70 JSAMPLE *rescale; /* => maxval-remapping array, or NULL */ member
145 register JSAMPLE *rescale = source->rescale; in get_text_gray_row() local
151 *ptr++ = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_gray_row()
164 register JSAMPLE *rescale = source->rescale; in get_text_rgb_row() local
170 *ptr++ = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_rgb_row()
171 *ptr++ = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_rgb_row()
172 *ptr++ = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_rgb_row()
185 register JSAMPLE *rescale = source->rescale; in get_scaled_gray_row() local
193 *ptr++ = rescale[UCH(*bufferptr++)]; in get_scaled_gray_row()
206 register JSAMPLE *rescale = source->rescale; in get_scaled_rgb_row() local
214 *ptr++ = rescale[UCH(*bufferptr++)]; in get_scaled_rgb_row()
215 *ptr++ = rescale[UCH(*bufferptr++)]; in get_scaled_rgb_row()
216 *ptr++ = rescale[UCH(*bufferptr++)]; in get_scaled_rgb_row()
244 register JSAMPLE *rescale = source->rescale; in get_word_gray_row() local
255 *ptr++ = rescale[temp]; in get_word_gray_row()
268 register JSAMPLE *rescale = source->rescale; in get_word_rgb_row() local
279 *ptr++ = rescale[temp]; in get_word_rgb_row()
282 *ptr++ = rescale[temp]; in get_word_rgb_row()
285 *ptr++ = rescale[temp]; in get_word_rgb_row()
415 source->rescale = (JSAMPLE *) in start_input_ppm()
421 source->rescale[val] = (JSAMPLE) ((val*MAXJSAMPLE + half_maxval)/maxval); in start_input_ppm()