ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/tonemap.c
(Generate patch)

Comparing ray/src/common/tonemap.c (file contents):
Revision 3.36 by greg, Fri Apr 22 14:35:54 2011 UTC vs.
Revision 3.37 by greg, Fri May 20 02:06:38 2011 UTC

# Line 252 | Line 252 | int
252   tmCvColors(                             /* convert float colors */
253   TMstruct        *tms,
254   TMbright        *ls,
255 < BYTE    *cs,
255 > uby8    *cs,
256   COLOR   *scan,
257   int     len
258   )
259   {
260          static const char funcName[] = "tmCvColors";
261 <        static BYTE     gamtab[1024];
261 >        static uby8     gamtab[1024];
262          static double   curgam = .0;
263          COLOR   cmon;
264          float   lum, slum, d;
# Line 555 | Line 555 | linearmap:                             /* linear tone-mapping */
555   int
556   tmMapPixels(                    /* apply tone-mapping to pixel(s) */
557   TMstruct        *tms,
558 < BYTE    *ps,
558 > uby8    *ps,
559   TMbright        *ls,
560 < BYTE    *cs,
560 > uby8    *cs,
561   int     len
562   )
563   {
# Line 651 | Line 651 | TMstruct       *tms;
651  
652   /******************** Shared but Private library routines *********************/
653  
654 < BYTE    tmMesofact[BMESUPPER-BMESLOWER];
654 > uby8    tmMesofact[BMESUPPER-BMESLOWER];
655  
656   void
657   tmMkMesofact()                          /* build mesopic lookup factor table */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines