Searched refs:half_maxval (Results 1 – 1 of 1) sorted by relevance
412 INT32 val, half_maxval; in start_input_ppm() local418 half_maxval = maxval / 2; in start_input_ppm()421 source->rescale[val] = (JSAMPLE) ((val*MAXJSAMPLE + half_maxval)/maxval); in start_input_ppm()