repo.or.cz
/
haiku.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vfs: check userland buffers before reading them.
[haiku.git]
/
src
/
add-ons
/
translators
/
exr
/
EXRGamma.h
blob
2c3866fe14927615b58a74f97a02690b54ad3d26
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
8
9
#include
"halfFunction.h"
10
11
struct
Gamma
12
{
13
float
g
,
m
,
d
,
kl
,
f
,
s
;
14
15
Gamma
(
float
gamma
,
16
float
exposure
,
17
float
defog
,
18
float
kneeLow
,
19
float
kneeHigh
);
20
21
float
operator
() (
half h
);
22
};
23
24
#endif