# | Line 7 | Line 7 | |
---|---|---|
7 | #ifndef _RAD_TONEMAP_H_ | |
8 | #define _RAD_TONEMAP_H_ | |
9 | ||
10 | < | #include "tifftypes.h" |
10 | > | #include "tiff.h" /* needed for int32, etc. */ |
11 | ||
12 | #ifdef __cplusplus | |
13 | extern "C" { | |
# | Line 51 | Line 51 | extern "C" { | |
51 | ||
52 | /**** Conversion Constants and Table Sizes ****/ | |
53 | ||
54 | < | #define TM_BRTSCALE 128 /* brightness scale factor (integer) */ |
54 | > | #define TM_BRTSCALE 256 /* brightness scale factor (integer) */ |
55 | ||
56 | #define TM_NOBRT (-1<<15) /* bogus brightness value */ | |
57 | #define TM_NOLUM (1e-17) /* ridiculously small luminance */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |