--- ray/src/common/tonemap.h 2006/05/10 15:21:58 3.22 +++ ray/src/common/tonemap.h 2010/08/18 15:25:03 3.25 @@ -1,4 +1,4 @@ -/* RCSid $Id: tonemap.h,v 3.22 2006/05/10 15:21:58 greg Exp $ */ +/* RCSid $Id: tonemap.h,v 3.25 2010/08/18 15:25:03 greg Exp $ */ /* * Header file for tone mapping functions. * @@ -7,7 +7,7 @@ #ifndef _RAD_TONEMAP_H_ #define _RAD_TONEMAP_H_ -#include "tifftypes.h" +#include "tiff.h" /* needed for int32, etc. */ #ifdef __cplusplus extern "C" { @@ -51,7 +51,7 @@ extern "C" { /**** Conversion Constants and Table Sizes ****/ -#define TM_BRTSCALE 128 /* brightness scale factor (integer) */ +#define TM_BRTSCALE 256 /* brightness scale factor (integer) */ #define TM_NOBRT (-1<<15) /* bogus brightness value */ #define TM_NOLUM (1e-17) /* ridiculously small luminance */