6 |
|
* Include after "tiffio.h" and "tonemap.h". |
7 |
|
* |
8 |
|
*/ |
9 |
< |
|
10 |
< |
#include "copyright.h" |
11 |
< |
|
9 |
> |
#ifndef _RAD_TMAPTIFF_H_ |
10 |
> |
#define _RAD_TMAPTIFF_H_ |
11 |
|
#ifdef __cplusplus |
12 |
|
extern "C" { |
13 |
|
#endif |
14 |
|
|
15 |
< |
#ifdef NOPROTO |
16 |
< |
|
17 |
< |
extern int tmCvL16(); |
18 |
< |
extern int tmCvLuv24(); |
19 |
< |
extern int tmCvLuv32(); |
20 |
< |
extern int tmLoadTIFF(); |
21 |
< |
extern int tmMapTIFF(); |
22 |
< |
|
23 |
< |
#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, |
15 |
> |
extern int tmCvL16(TMstruct *tms, TMbright *ls, uint16 *luvs, int len); |
16 |
> |
extern int tmCvLuv24(TMstruct *tms, TMbright *ls, BYTE *cs, |
17 |
> |
uint32 *luvs, int len); |
18 |
> |
extern int tmCvLuv32(TMstruct *tms, TMbright *ls, BYTE *cs, |
19 |
> |
uint32 *luvs, int len); |
20 |
> |
extern int tmLoadTIFF(TMstruct *tms, TMbright **lpp, BYTE **cpp, |
21 |
> |
int *xp, int *yp, char *fname, TIFF *tp); |
22 |
> |
extern int tmMapTIFF(BYTE **psp, int *xp, int *yp, |
23 |
> |
int flags, RGBPRIMP monpri, double gamval, |
24 |
|
double Lddyn, double Ldmax, |
25 |
|
char *fname, TIFF *tp); |
26 |
|
|
36 |
– |
#endif |
37 |
– |
|
27 |
|
#ifdef __cplusplus |
28 |
|
} |
29 |
|
#endif |
30 |
+ |
#endif /* _RAD_TMAPTIFF_H_ */ |
31 |
+ |
|