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

Comparing ray/src/px/pfilt.h (file contents):
Revision 2.2 by greg, Thu Dec 7 21:15:54 2023 UTC vs.
Revision 2.3 by greg, Fri Dec 8 17:56:26 2023 UTC

# Line 32 | Line 32 | extern int  xbrad;             /* x box size */
32   extern int  ybrad;              /* y box size */
33  
34   extern int  barsize;            /* size of input scan bar */
35 < extern COLOR  **scanin;         /* input scan bar */
36 < extern COLOR  *scanout;         /* output scan line */
37 < extern COLOR  **scoutbar;       /* output scan bar (if thresh > 0) */
35 > extern COLORV  **scanin;        /* input scan bar */
36 > extern COLORV  *scanout;        /* output scan line */
37 > extern COLORV  **scoutbar;      /* output scan bar (if thresh > 0) */
38   extern float  **greybar;        /* grey-averaged input values */
39   extern int  obarsize;           /* size of output scan bar */
40   extern int  orad;               /* output window radius */
41  
42   extern int  wrapfilt;           /* wrap filter horizontally? */
43  
44 < typedef double brightfunc_t(COLOR c);
44 > typedef double brightfunc_t(SCOLOR c);
45   extern brightfunc_t *ourbright; /* brightness calculation function */
46  
47          /* defined in pf2.c */
48   extern void pass1init(void);            /* prepare for first pass */
49   extern void pass1default(void);         /* for single pass */
50 < extern void pass1scan(COLOR *scan, int  y);     /* process first pass scanline */
50 > extern void pass1scan(COLORV *scan, int  y);    /* process first pass scanline */
51   extern void pass2init(void);            /* prepare for final pass */
52 < extern void pass2scan(COLOR *scan, int  y);     /* process final pass scanline */
52 > extern void pass2scan(COLORV *scan, int  y);    /* process final pass scanline */
53  
54          /* defined in pf3.c */
55   extern void initmask(void);                     /* initialize gaussian lookup table */
56 < extern void dobox(COLOR  csum, int  xcent, int  ycent,
56 > extern void dobox(SCOLOR  csum, int  xcent, int  ycent,
57                  int  c, int  r);                /* simple box filter */
58 < extern void dogauss(COLOR  csum, int  xcent, int  ycent,
58 > extern void dogauss(SCOLOR  csum, int  xcent, int  ycent,
59                  int  c, int  r);        /* gaussian filter */
60   extern void dothresh(int  xcent, int  ycent,
61                  int  ccent, int  rcent);        /* gaussian threshold filter */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines