| 8 |
|
#include "standard.h" |
| 9 |
|
#include "color.h" |
| 10 |
|
#include "view.h" |
| 11 |
+ |
#include "paths.h" |
| 12 |
|
|
| 13 |
|
#ifdef __cplusplus |
| 14 |
|
extern "C" { |
| 30 |
|
#define MAXPREHIST 1024 /* maximum precomputed histogram */ |
| 31 |
|
|
| 32 |
|
#define LMIN 1e-7 /* minimum visible world luminance */ |
| 33 |
< |
#define LMAX 1e5 /* maximum visible world luminance */ |
| 33 |
> |
#define LMAX 1e7 /* maximum visible world luminance */ |
| 34 |
|
|
| 35 |
|
#define Bl(Lw) log(Lw) /* brightness function */ |
| 36 |
|
#define Bl1(Lw) (1.0/(Lw)) /* first derivative of Bl(Lw) */ |
| 128 |
|
extern void adjveil(void); /* adjust veil image */ |
| 129 |
|
#endif |
| 130 |
|
extern void acuscan(COLOR *scln, int y); /* get acuity-sampled scanline */ |
| 131 |
< |
extern void addveil(COLOR *sl, int y); /* add veil to scanline */ |
| 132 |
< |
extern void initacuity(void); /* initialize variable acuity sampling */ |
| 131 |
> |
extern void addveil(COLOR *sl, int y); /* add veil to scanline */ |
| 132 |
> |
extern void initacuity(void); /* initialize variable acuity sampling */ |
| 133 |
|
extern double hacuity(double La); /* human acuity func. (cycles/deg.) */ |
| 134 |
|
|
| 135 |
|
#ifdef __cplusplus |