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

Comparing ray/src/px/normtiff.c (file contents):
Revision 3.13 by greg, Fri May 20 02:06:39 2011 UTC vs.
Revision 3.16 by greg, Wed Apr 7 21:13:52 2021 UTC

# Line 5 | Line 5 | static const char      RCSid[] = "$Id$";
5   * Tone map SGILOG TIFF or Radiance picture and output 24-bit RGB TIFF
6   */
7  
8 #include <stdio.h>
8   #include <math.h>
10 #include <time.h>
11 #include <string.h>
9  
10 + #include "rtio.h"
11   #include "platform.h"
12   #include "tiffio.h"
13   #include "color.h"
# Line 23 | Line 21 | int    flags = TM_F_CAMERA;            /* tone-mapping flags */
21   RGBPRIMP        rgbp = stdprims;        /* display primaries */
22   RGBPRIMS        myprims;                /* overriding display primaries */
23   double  ldmax = 100.;                   /* maximum display luminance */
24 < double  lddyn = 32.;                    /* display dynamic range */
24 > double  lddyn = 100.;                   /* display dynamic range */
25   double  gamv = 2.2;                     /* display gamma value */
26  
27   short   ortab[8] = {            /* orientation conversion table */
# Line 39 | Line 37 | short  ortab[8] = {            /* orientation conversion table */
37  
38   typedef struct {
39          FILE    *fp;            /* file pointer */
40 <        char    fmt[32];        /* picture format */
40 >        char    fmt[MAXFMTLEN]; /* picture format */
41          double  pa;             /* pixel aspect ratio */
42          RESOLU  rs;             /* picture resolution */
43   } PICTURE;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines