ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/tmaptiff.h
Revision: 3.4
Committed: Fri Jun 27 06:53:22 2003 UTC (20 years, 9 months ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: rad3R6, rad3R6P1
Changes since 3.3: +1 -6 lines
Log Message:
Broke standard.h into rtio.h, rterror.h, rtmath.h, and rtmisc.h

File Contents

# Content
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