Searched refs:stbi__l2h_gamma (Results 1 – 1 of 1) sorted by relevance
1553 static float stbi__l2h_gamma=2.2f, stbi__l2h_scale=1.0f; variable1555 STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } in stbi_ldr_to_hdr_gamma()1849 … output[i*comp + k] = (float) (pow(data[i*comp+k]/255.0f, stbi__l2h_gamma) * stbi__l2h_scale); in stbi__ldr_to_hdr()