Searched refs:newMid (Results 1 – 1 of 1) sorted by relevance
479 float newMid; in tonemap() local481 newMid = max; in tonemap()483 newMid = min + (max - min) * (rgb[1] - rgb[0]) / (rgb[2] - rgb[0]); in tonemap()490 rgb[1] = newMid; in tonemap()497 rgb[2] = newMid; in tonemap()504 rgb[0] = newMid; in tonemap()511 rgb[0] = newMid; in tonemap()518 rgb[2] = newMid; in tonemap()525 rgb[1] = newMid; in tonemap()