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

Comparing ray/src/px/ra_avs.c (file contents):
Revision 2.3 by greg, Fri Jun 4 14:45:59 1993 UTC vs.
Revision 2.4 by greg, Mon Jul 12 12:41:13 1993 UTC

# Line 18 | Line 18 | static char SCCSid[] = "$SunId$ LBL";
18  
19   extern char  *malloc();
20  
21 < double  gamma = 2.2;                    /* gamma correction */
21 > double  gamcor = 2.2;                   /* gamma correction */
22  
23   int  bradj = 0;                         /* brightness adjustment */
24  
# Line 41 | Line 41 | char  *argv[];
41                  if (argv[i][0] == '-')
42                          switch (argv[i][1]) {
43                          case 'g':               /* gamma correction */
44 <                                gamma = atof(argv[++i]);
44 >                                gamcor = atof(argv[++i]);
45                                  break;
46                          case 'e':               /* exposure adjustment */
47                                  if (argv[i+1][0] != '+' && argv[i+1][0] != '-')
# Line 73 | Line 73 | char  *argv[];
73          setmode(fileno(stdin), O_BINARY);
74          setmode(fileno(stdout), O_BINARY);
75   #endif
76 <        setcolrgam(gamma);              /* set up gamma correction */
76 >        setcolrgam(gamcor);             /* set up gamma correction */
77          if (reverse) {
78                                          /* get their image resolution */
79                  xmax = getint(4, stdin);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines