Lines Matching refs:rescale
77 JSAMPLE *rescale; /* => maxval-remapping array, or NULL */ member
152 register JSAMPLE *rescale = source->rescale; in get_text_gray_row() local
158 *ptr++ = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_gray_row()
180 register JSAMPLE *rescale = source->rescale; in get_text_gray_rgb_row() local
198 GRAY_RGB_READ_LOOP(rescale[read_pbm_integer(cinfo, infile, maxval)], in get_text_gray_rgb_row()
201 GRAY_RGB_READ_LOOP(rescale[read_pbm_integer(cinfo, infile, maxval)],) in get_text_gray_rgb_row()
215 register JSAMPLE *rescale = source->rescale; in get_text_gray_cmyk_row() local
228 JSAMPLE gray = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_gray_cmyk_row()
254 register JSAMPLE *rescale = source->rescale; in get_text_rgb_row() local
272 RGB_READ_LOOP(rescale[read_pbm_integer(cinfo, infile, maxval)], in get_text_rgb_row()
275 RGB_READ_LOOP(rescale[read_pbm_integer(cinfo, infile, maxval)],) in get_text_rgb_row()
289 register JSAMPLE *rescale = source->rescale; in get_text_rgb_cmyk_row() local
304 JSAMPLE r = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_rgb_cmyk_row()
305 JSAMPLE g = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_rgb_cmyk_row()
306 JSAMPLE b = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_rgb_cmyk_row()
322 register JSAMPLE *rescale = source->rescale; in get_scaled_gray_row() local
330 *ptr++ = rescale[UCH(*bufferptr++)]; in get_scaled_gray_row()
344 register JSAMPLE *rescale = source->rescale; in get_gray_rgb_row() local
364 GRAY_RGB_READ_LOOP(rescale[UCH(*bufferptr++)], ptr[aindex] = 0xFF;) in get_gray_rgb_row()
366 GRAY_RGB_READ_LOOP(rescale[UCH(*bufferptr++)],) in get_gray_rgb_row()
380 register JSAMPLE *rescale = source->rescale; in get_gray_cmyk_row() local
396 JSAMPLE gray = rescale[UCH(*bufferptr++)]; in get_gray_cmyk_row()
412 register JSAMPLE *rescale = source->rescale; in get_rgb_row() local
432 RGB_READ_LOOP(rescale[UCH(*bufferptr++)], ptr[aindex] = 0xFF;) in get_rgb_row()
434 RGB_READ_LOOP(rescale[UCH(*bufferptr++)],) in get_rgb_row()
448 register JSAMPLE *rescale = source->rescale; in get_rgb_cmyk_row() local
466 JSAMPLE r = rescale[UCH(*bufferptr++)]; in get_rgb_cmyk_row()
467 JSAMPLE g = rescale[UCH(*bufferptr++)]; in get_rgb_cmyk_row()
468 JSAMPLE b = rescale[UCH(*bufferptr++)]; in get_rgb_cmyk_row()
499 register JSAMPLE *rescale = source->rescale; in get_word_gray_row() local
513 *ptr++ = rescale[temp]; in get_word_gray_row()
526 register JSAMPLE *rescale = source->rescale; in get_word_rgb_row() local
540 *ptr++ = rescale[temp]; in get_word_rgb_row()
545 *ptr++ = rescale[temp]; in get_word_rgb_row()
550 *ptr++ = rescale[temp]; in get_word_rgb_row()
721 source->rescale = (JSAMPLE *) in start_input_ppm()
728 source->rescale[val] = (JSAMPLE)((val * MAXJSAMPLE + half_maxval) / in start_input_ppm()