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

Comparing ray/src/common/tonemap.h (file contents):
Revision 3.6 by gregl, Tue Jul 29 11:54:45 1997 UTC vs.
Revision 3.7 by gregl, Mon Nov 17 13:54:35 1997 UTC

# Line 73 | Line 73 | extern struct tmStruct {
73          RGBPRIMP        inppri;         /* current input primaries */
74          double          inpsf;          /* current input scalefactor */
75          COLORMAT        cmat;           /* color conversion matrix */
76 <        TMbright        brmin, brmax;   /* input brightness limits */  
76 >        TMbright        hbrmin, hbrmax; /* histogram brightness limits */      
77          int             *histo;         /* input histogram */
78 +        TMbright        mbrmin, mbrmax; /* mapped brightness limits */
79          unsigned short  *lumap;         /* computed luminance map */
80          struct tmStruct *tmprev;        /* previous tone mapping */
81          MEM_PTR         pd[TM_MAXPKG];  /* pointers to private data */
# Line 197 | Line 198 | tmAddHisto(TMbright *ls, int len, int wt);
198   extern int
199   tmComputeMapping(double gamval, double Lddyn, double Ldmax);
200   /*
201 <        Compute tone mapping function.
201 >        Compute tone mapping function.  This mapping will be used
202 >        in subsequent calls to tmMapPixels() until a new tone mapping
203 >        is computed.  I.e., calls to tmAddHisto() have no immediate effect.
204  
205          gamval  -       display gamma response (0. for default).
206          Lddyn   -       the display's dynamic range (0. for default).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines