1 |
/* RCSid $Id: tmaptiff.h,v 3.3 2003/06/06 16:38:47 schorsch Exp $ */ |
2 |
/* |
3 |
* tmaptiff.h |
4 |
* |
5 |
* Header file for TIFF tone-mapping routines. |
6 |
* Include after "tiffio.h" and "tonemap.h". |
7 |
* |
8 |
*/ |
9 |
#ifndef _RAD_TMAPTIFF_H_ |
10 |
#define _RAD_TMAPTIFF_H_ |
11 |
#ifdef __cplusplus |
12 |
extern "C" { |
13 |
#endif |
14 |
|
15 |
extern int tmCvL16(TMbright *ls, uint16 *luvs, int len); |
16 |
extern int tmCvLuv24(TMbright *ls, BYTE *cs, uint32 *luvs, int len); |
17 |
extern int tmCvLuv32(TMbright *ls, BYTE *cs, uint32 *luvs, int len); |
18 |
extern int tmLoadTIFF(TMbright **lpp, BYTE **cpp, int *xp, int *yp, |
19 |
char *fname, TIFF *tp); |
20 |
extern int tmMapTIFF(BYTE **psp, int *xp, int *yp, int flags, |
21 |
RGBPRIMP monpri, double gamval, |
22 |
double Lddyn, double Ldmax, |
23 |
char *fname, TIFF *tp); |
24 |
|
25 |
#ifdef __cplusplus |
26 |
} |
27 |
#endif |
28 |
#endif /* _RAD_TMAPTIFF_H_ */ |
29 |
|