Back to index

radiance  4R0+20100331
tmaptiff.h
Go to the documentation of this file.
00001 /* RCSid $Id: tmaptiff.h,v 3.5 2005/01/07 20:33:02 greg Exp $ */
00002 /*
00003  *  tmaptiff.h
00004  *
00005  *  Header file for TIFF tone-mapping routines.
00006  *  Include after "tiffio.h" and "tonemap.h".
00007  *
00008  */
00009 #ifndef _RAD_TMAPTIFF_H_
00010 #define _RAD_TMAPTIFF_H_
00011 #ifdef __cplusplus
00012 extern "C" {
00013 #endif
00014 
00015 extern int    tmCvL16(TMstruct *tms, TMbright *ls, uint16 *luvs, int len);
00016 extern int    tmCvLuv24(TMstruct *tms, TMbright *ls, BYTE *cs,
00017                             uint32 *luvs, int len);
00018 extern int    tmCvLuv32(TMstruct *tms, TMbright *ls, BYTE *cs,
00019                             uint32 *luvs, int len);
00020 extern int    tmLoadTIFF(TMstruct *tms, TMbright **lpp, BYTE **cpp,
00021                             int *xp, int *yp, char *fname, TIFF *tp);
00022 extern int    tmMapTIFF(BYTE **psp, int *xp, int *yp,
00023                             int flags, RGBPRIMP monpri, double gamval,
00024                             double Lddyn, double Ldmax,
00025                             char *fname, TIFF *tp);
00026 
00027 #ifdef __cplusplus
00028 }
00029 #endif
00030 #endif /* _RAD_TMAPTIFF_H_ */
00031