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

/netbsd-current/sys/dev/stbi/
H A Dstb_image.c798 static float l2h_gamma=2.2f, l2h_scale=1.0f; variable
804 void stbi_ldr_to_hdr_scale(float scale) { l2h_scale = scale; }
1046 output[i*comp + k] = (float) pow(data[i*comp+k]/255.0f, l2h_gamma) * l2h_scale;

Completed in 217 milliseconds