Searched refs:maxcomp (Results 1 – 2 of 2) sorted by relevance
604 float maxcomp = stbiw__max(linear[0], stbiw__max(linear[1], linear[2])); in stbiw__linear_to_rgbe() local606 if (maxcomp < 1e-32f) { in stbiw__linear_to_rgbe()609 float normalize = (float) frexp(maxcomp, &exponent) * 256.0f/maxcomp; in stbiw__linear_to_rgbe()