ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/tmaptiff.h
Revision: 3.3
Committed: Fri Jun 6 16:38:47 2003 UTC (20 years, 10 months ago) by schorsch
Content type: text/plain
Branch: MAIN
Changes since 3.2: +6 -12 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 schorsch 3.3 /* RCSid $Id: tmaptiff.h,v 3.2 2003/02/25 02:47:22 greg Exp $ */
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 schorsch 3.3 #ifndef _RAD_TMAPTIFF_H_
10     #define _RAD_TMAPTIFF_H_
11 greg 3.1 #ifdef __cplusplus
12     extern "C" {
13     #endif
14    
15    
16 schorsch 3.3 #include "copyright.h"
17 greg 3.1
18    
19     extern int tmCvL16(TMbright *ls, uint16 *luvs, int len);
20     extern int tmCvLuv24(TMbright *ls, BYTE *cs, uint32 *luvs, int len);
21     extern int tmCvLuv32(TMbright *ls, BYTE *cs, uint32 *luvs, int len);
22     extern int tmLoadTIFF(TMbright **lpp, BYTE **cpp, int *xp, int *yp,
23     char *fname, TIFF *tp);
24     extern int tmMapTIFF(BYTE **psp, int *xp, int *yp, int flags,
25     RGBPRIMP monpri, double gamval,
26     double Lddyn, double Ldmax,
27     char *fname, TIFF *tp);
28    
29    
30     #ifdef __cplusplus
31     }
32     #endif
33 schorsch 3.3 #endif /* _RAD_TMAPTIFF_H_ */
34