ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/tmaptiff.h
Revision: 3.5
Committed: Fri Jan 7 20:33:02 2005 UTC (19 years, 3 months ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: rad3R7P2, rad3R7P1, rad4R0, rad3R8, rad3R9
Changes since 3.4: +10 -8 lines
Log Message:
Modernized tone-mapping routines with structure pointer r.t. stack

File Contents

# Content
1 /* RCSid $Id: tmaptiff.h,v 3.4 2003/06/27 06:53:22 greg 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(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
27 #ifdef __cplusplus
28 }
29 #endif
30 #endif /* _RAD_TMAPTIFF_H_ */
31