ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/tmaptiff.h
Revision: 3.6
Committed: Fri May 20 02:06:38 2011 UTC (12 years, 11 months ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: rad5R4, rad5R2, rad4R2P2, rad5R0, rad5R1, rad4R2, rad4R1, rad4R2P1, rad5R3, HEAD
Changes since 3.5: +5 -5 lines
Log Message:
Changed every instance of BYTE to uby8 to avoid conflicts

File Contents

# User Rev Content
1 greg 3.6 /* RCSid $Id: tmaptiff.h,v 3.5 2005/01/07 20:33:02 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 greg 3.5 extern int tmCvL16(TMstruct *tms, TMbright *ls, uint16 *luvs, int len);
16 greg 3.6 extern int tmCvLuv24(TMstruct *tms, TMbright *ls, uby8 *cs,
17 greg 3.5 uint32 *luvs, int len);
18 greg 3.6 extern int tmCvLuv32(TMstruct *tms, TMbright *ls, uby8 *cs,
19 greg 3.5 uint32 *luvs, int len);
20 greg 3.6 extern int tmLoadTIFF(TMstruct *tms, TMbright **lpp, uby8 **cpp,
21 greg 3.5 int *xp, int *yp, char *fname, TIFF *tp);
22 greg 3.6 extern int tmMapTIFF(uby8 **psp, int *xp, int *yp,
23 greg 3.5 int flags, RGBPRIMP monpri, double gamval,
24 greg 3.1 double Lddyn, double Ldmax,
25     char *fname, TIFF *tp);
26    
27     #ifdef __cplusplus
28     }
29     #endif
30 schorsch 3.3 #endif /* _RAD_TMAPTIFF_H_ */
31