Searched refs:h2l_gamma_i (Results 1 - 1 of 1) sorted by relevance

/netbsd-current/sys/dev/stbi/
H A Dstb_image.c797 static float h2l_gamma_i=1.0f/2.2f, h2l_scale_i=1.0f; variable
800 void stbi_hdr_to_ldr_gamma(float gamma) { h2l_gamma_i = 1/gamma; }
1064 float z = (float) pow(data[i*comp+k]*h2l_scale_i, h2l_gamma_i) * 255 + 0.5f;

Completed in 255 milliseconds