Searched refs:stbi__l2h_scale (Results 1 – 2 of 2) sorted by relevance
1429 static float stbi__l2h_gamma=2.2f, stbi__l2h_scale=1.0f; variable1432 STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } in stbi_ldr_to_hdr_scale()1687 … output[i*comp + k] = (float) (pow(data[i*comp+k]/255.0f, stbi__l2h_gamma) * stbi__l2h_scale); in stbi__ldr_to_hdr()