vfs: check userland buffers before reading them.
[haiku.git] / src / add-ons / translators / exr / EXRGamma.h
blob2c3866fe14927615b58a74f97a02690b54ad3d26
1 /*
2 * Copyright (c) 2004, Industrial Light & Magic, a division of Lucas
3 * Digital Ltd. LLC
4 * Distributed under the terms of the MIT License.
5 */
6 #ifndef EXR_GAMMA_H
7 #define EXR_GAMMA_H
9 #include "halfFunction.h"
11 struct Gamma
13 float g, m, d, kl, f, s;
15 Gamma(float gamma,
16 float exposure,
17 float defog,
18 float kneeLow,
19 float kneeHigh);
21 float operator() (half h);
24 #endif