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

Comparing ray/src/common/falsecolor.h (file contents):
Revision 3.2 by greg, Tue Nov 15 06:52:38 2005 UTC vs.
Revision 3.4 by greg, Fri May 20 02:06:38 2011 UTC

# Line 13 | Line 13 | extern "C" {
13                                  /* false color mapping data structure */
14   typedef struct {
15          TMbright        mbrmin, mbrmax; /* mapped min. & max. brightnesses */
16 <        BYTE            *lumap;         /* false color luminance map */
17 <        BYTE            (*scale)[3];    /* false color ordinal scale */
16 >        uby8            *lumap;         /* false color luminance map */
17 >        uby8            (*scale)[3];    /* false color ordinal scale */
18   } FCstruct;
19  
20 < extern BYTE     fcDefaultScale[256][3];         /* default false color scale */
20 > extern uby8     fcDefaultScale[256][3];         /* default false color scale */
21  
22   extern FCstruct *
23 < fcInit(BYTE fcscale[256][3]);
23 > fcInit(uby8 fcscale[256][3]);
24   /*
25          Allocate and initialize false color mapping data structure.
26          
# Line 53 | Line 53 | fcFixedLog(FCstruct *fcs, double Lwmin, double Lwmax);
53   */
54  
55   extern int
56 < fcLinearMapping(FCstruct *fcs, TMstruct *tms, int pctile);
56 > fcLinearMapping(FCstruct *fcs, TMstruct *tms, double pctile);
57   /*
58          Compute linear false color map.
59          
# Line 65 | Line 65 | fcLinearMapping(FCstruct *fcs, TMstruct *tms, int pcti
65   */
66  
67   extern int
68 < fcLogMapping(FCstruct *fcs, TMstruct *tms, int pctile);
68 > fcLogMapping(FCstruct *fcs, TMstruct *tms, double pctile);
69   /*
70          Compute logarithmic false color map.
71          
# Line 77 | Line 77 | fcLogMapping(FCstruct *fcs, TMstruct *tms, int pctile)
77   */
78  
79   extern int
80 < fcMapPixels(FCstruct *fcs, BYTE *ps, TMbright *ls, int len);
80 > fcMapPixels(FCstruct *fcs, uby8 *ps, TMbright *ls, int len);
81   /*
82          Apply false color mapping to pixel values.
83          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines