Home
last modified time | relevance | path

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

/third_party/astc-encoder/Source/
H A Dstb_image.h1577 static float stbi__h2l_gamma_i=1.0f/2.2f, stbi__h2l_scale_i=1.0f; variable
1579 STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } in stbi_hdr_to_ldr_gamma()
1893 float z = (float) pow(data[i*comp+k]*stbi__h2l_scale_i, stbi__h2l_gamma_i) * 255 + 0.5f; in stbi__hdr_to_ldr()

Completed in 15 milliseconds