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

Comparing ray/src/util/ranimove.h (file contents):
Revision 3.2 by greg, Tue Feb 25 02:47:24 2003 UTC vs.
Revision 3.6 by schorsch, Fri Mar 26 21:36:20 2004 UTC

# Line 16 | Line 16
16   *
17   * See the ranimove(1) man page for further details.
18   */
19 + #ifndef _RAD_RANIMOVE_H_
20 + #define _RAD_RANIMOVE_H_
21  
20 #include "copyright.h"
21
22   #include "ray.h"
23   #include "view.h"
24   #include "vars.h"
25 +
26 + #ifdef __cplusplus
27 + extern "C" {
28 + #endif
29 +
30                                  /* input variables (alphabetical by name) */
31   #define BASENAME        0               /* output image base name */
32   #define END             1               /* number of animation frames */
# Line 104 | Line 109 | extern int             haveprio;       /* high-level saliency specified
109   extern int              gargc;          /* global argc for printargs */
110   extern char             **gargv;        /* global argv for printargs */
111  
107 VIEW    *getview();
108 int     countviews();
109 int     getmove();
110 char    *getexp(), *getoctspec(), *getobjname(), *getxf();
111 double  expspec_val(), obj_prio();
112 void    setdefaults(), setmove(), animate(), getradfile(), setrendparams();
113 void    init_frame(), filter_frame(), send_frame(), free_frame();
114 int     refine_frame();
115 double  getTime();
116
112   /*************************************************************************
113   * Frame rendering stuff (defined in ranimove1.c and ranimove2.c)
114   */
# Line 173 | Line 168 | extern double  hlsmax;         /* maximum high-level saliency
168  
169   #define ATIDIFF         7       /* error difference for time extrapolation */
170  
171 < void    write_map(), sample_pos(), comp_frame_error(), conspicuity();
172 < int     getclosest(), getambcolor(), refine_first();
173 < double  sample_wt(), estimaterr(), comperr();
171 >        /* ranimove1.c */
172 > extern void     init_frame(void);
173 > extern void filter_frame(void);
174 > extern void send_frame(void);
175 > extern void free_frame(void);
176 > extern void write_map(float     *mp, char       *fn);
177 > extern void sample_pos(double   hv[2], int      x, int  y, int  sn);
178 > extern void comp_frame_error(void);
179 > extern int      getclosest(int  *iarr, int      nc, int x, int  y);
180 > extern int getambcolor(COLOR    clr, int        obj);
181 > extern double   sample_wt(int   xo, int yo);
182 > extern double estimaterr(COLOR  cs, COLOR       cs2, int        ns, int ns0);
183 > extern double comperr(int       *neigh, int     nc, int ns0);
184 >
185 >        /* ranimove2.c */
186 > extern int refine_first();
187 > extern void conspicuity(void);
188 > extern int refine_frame(int pass);
189 >
190 >        /* ranimove.c */
191 > extern double getTime(void);
192 > extern double obj_prio(OBJECT   obj);
193 > extern int getmove(OBJECT       obj);
194 > extern char * getoctspec(int n);
195 > extern double expspec_val(char *s);
196 > extern char *getexp(int n); /* XXX partly duplicated function */
197 > extern VIEW *getview(int n); /* XXX duplicated function */
198 > double  getTime();
199 > /*
200 > int     countviews();
201 > void    setdefaults(),
202 > void setmove(),
203 > setrendparams();
204 > getradfile(),
205 > animate(),
206 > */
207 >
208 > #ifdef __cplusplus
209 > }
210 > #endif
211 > #endif /* _RAD_RANIMOVE_H_ */
212 >

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines