Searched refs:h12 (Results 1 – 1 of 1) sorted by relevance
339 double h12 = x2 - x1; in lookupTonemapGain() local342 double m1 = (y2 - y1) / h12; in lookupTonemapGain()356 double t = (targetNits - x1) / h12; in lookupTonemapGain()357 targetNits = (y1 * (1.0 + 2.0 * t) + h12 * m1 * t) * (1.0 - t) * in lookupTonemapGain()359 (y2 * (3.0 - 2.0 * t) + h12 * m2 * (t - 1.0)) * t * t; in lookupTonemapGain()