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

Comparing ray/src/px/aedimage.c (file contents):
Revision 1.5 by greg, Fri Oct 20 20:35:57 1989 UTC vs.
Revision 1.7 by greg, Fri Jan 26 08:17:29 1990 UTC

# Line 169 | Line 169 | userr:
169   checkhead(line)                         /* deal with line from header */
170   char  *line;
171   {
172 <        if (!strncmp(line, "EXPOSURE=", 9))
173 <                exposure *= atof(line+9);
172 >        if (isexpos(line))
173 >                exposure *= exposval(line);
174   }
175  
176  
# Line 400 | Line 400 | register rgbpixel  *l3;
400                                                          /* read scanline */
401          getscan(y);
402                                                          /* convert scanline */
403 <        normcolrs(scanline, xmax);
403 >        normcolrs(scanline, xmax, 0);
404          for (i = 0; i < xmax; i++) {
405                  l3[i].r = scanline[i][RED];
406                  l3[i].g = scanline[i][GRN];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines