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

Comparing ray/src/px/pinterp.c (file contents):
Revision 2.50 by greg, Thu May 14 20:51:02 2020 UTC vs.
Revision 2.52 by greg, Tue Jun 11 17:23:25 2024 UTC

# Line 72 | Line 72 | COLR   backcolr = BLKCOLR;             /* background color */
72   COLOR   backcolor = BLKCOLOR;           /* background color (float) */
73   double  backz = 0.0;                    /* background z value */
74   int     normdist = 1;                   /* i/o normalized distance? */
75 < char    ourfmt[LPICFMT+1] = PICFMT;     /* original picture format */
75 > char    ourfmt[MAXFMTLEN] = PICFMT;     /* original picture format */
76   double  ourexp = -1;                    /* original picture exposure */
77   int     expadj = 0;                     /* exposure adjustment (f-stops) */
78   double  rexpadj = 1;                    /* real exposure adjustment */
# Line 1246 | Line 1246 | clearqueue(void)                               /* process queue */
1246          }
1247                                          /* mark end and get results */
1248          memset((char *)fbp, '\0', 6*sizeof(float));
1249 <        if (process(&PDesc, (char *)fbuf, (char *)fbuf,
1249 >        if (process(&PDesc, fbuf, fbuf,
1250                          4*sizeof(float)*(queuesiz+1),
1251                          6*sizeof(float)*(queuesiz+1)) !=
1252                          4*sizeof(float)*(queuesiz+1)) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines