2 |
|
/* |
3 |
|
* Private header file for tone mapping routines. |
4 |
|
*/ |
5 |
+ |
#ifndef _RAD_TMPRIVAT_H_ |
6 |
+ |
#define _RAD_TMPRIVAT_H_ |
7 |
+ |
#ifdef __cplusplus |
8 |
+ |
extern "C" { |
9 |
+ |
#endif |
10 |
|
|
11 |
|
#include "copyright.h" |
12 |
|
|
16 |
|
#include "color.h" |
17 |
|
#include "tonemap.h" |
18 |
|
|
14 |
– |
#ifdef __cplusplus |
15 |
– |
extern "C" { |
16 |
– |
#endif |
17 |
– |
|
19 |
|
/* required constants */ |
20 |
|
#ifndef M_LN2 |
21 |
|
#define M_LN2 0.69314718055994530942 |
81 |
|
&&FEQ((p1)[2][0],(p2)[2][0])&&FEQ((p1)[2][1],(p2)[2][1])\ |
82 |
|
&&FEQ((p1)[3][0],(p2)[3][0])&&FEQ((p1)[3][1],(p2)[3][1])) |
83 |
|
|
84 |
+ |
|
85 |
|
#ifdef __cplusplus |
86 |
|
} |
87 |
|
#endif |
88 |
+ |
#endif /* _RAD_TMPRIVAT_H_ */ |
89 |
+ |
|