1 |
greg |
3.2 |
/* RCSid $Id$ */ |
2 |
greg |
3.1 |
/* |
3 |
|
|
* tmaptiff.h |
4 |
|
|
* |
5 |
|
|
* Header file for TIFF tone-mapping routines. |
6 |
|
|
* Include after "tiffio.h" and "tonemap.h". |
7 |
|
|
* |
8 |
|
|
*/ |
9 |
|
|
|
10 |
greg |
3.2 |
#include "copyright.h" |
11 |
greg |
3.1 |
|
12 |
|
|
#ifdef __cplusplus |
13 |
|
|
extern "C" { |
14 |
|
|
#endif |
15 |
|
|
|
16 |
|
|
#ifdef NOPROTO |
17 |
|
|
|
18 |
|
|
extern int tmCvL16(); |
19 |
|
|
extern int tmCvLuv24(); |
20 |
|
|
extern int tmCvLuv32(); |
21 |
|
|
extern int tmLoadTIFF(); |
22 |
|
|
extern int tmMapTIFF(); |
23 |
|
|
|
24 |
|
|
#else |
25 |
|
|
|
26 |
|
|
extern int tmCvL16(TMbright *ls, uint16 *luvs, int len); |
27 |
|
|
extern int tmCvLuv24(TMbright *ls, BYTE *cs, uint32 *luvs, int len); |
28 |
|
|
extern int tmCvLuv32(TMbright *ls, BYTE *cs, uint32 *luvs, int len); |
29 |
|
|
extern int tmLoadTIFF(TMbright **lpp, BYTE **cpp, int *xp, int *yp, |
30 |
|
|
char *fname, TIFF *tp); |
31 |
|
|
extern int tmMapTIFF(BYTE **psp, int *xp, int *yp, int flags, |
32 |
|
|
RGBPRIMP monpri, double gamval, |
33 |
|
|
double Lddyn, double Ldmax, |
34 |
|
|
char *fname, TIFF *tp); |
35 |
|
|
|
36 |
|
|
#endif |
37 |
|
|
|
38 |
|
|
#ifdef __cplusplus |
39 |
|
|
} |
40 |
|
|
#endif |