Searched refs:stbi__h2l_gamma_i (Results 1 – 2 of 2) sorted by relevance
1435 static float stbi__h2l_gamma_i=1.0f/2.2f, stbi__h2l_scale_i=1.0f; variable1437 STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } in stbi_hdr_to_ldr_gamma()1713 float z = (float) pow(data[i*comp+k]*stbi__h2l_scale_i, stbi__h2l_gamma_i) * 255 + 0.5f; in stbi__hdr_to_ldr()