Subversion Repositories filter_foundry

Rev

Rev 328 | Rev 439 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 328 Rev 335
Line 18... Line 18...
18
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
*/
19
*/
20
 
20
 
21
#include <math.h>
21
#include <math.h>
22
 
22
 
-
 
23
// Strict compatibility to Filter Factory by using an alternative
-
 
24
// implementation which is a 100% replica of the Filter Factory 3.0.4
-
 
25
// for Windows.
-
 
26
#ifdef WIN_ENV
-
 
27
// i,u,v intentionally not equal to Filter Factory (this has been documented).
-
 
28
//#define use_filterfactory_implementation_i
-
 
29
//#define use_filterfactory_implementation_u
-
 
30
//#define use_filterfactory_implementation_v
-
 
31
// umin,umax and vmin,vmax intentionally not equal to Filter Factory (this has been documented).
-
 
32
//#define use_filterfactory_implementation_u_minmax
-
 
33
//#define use_filterfactory_implementation_v_minmax
-
 
34
// U and V intentionally not equal to Filter Factory (this has been documented).
-
 
35
//#define use_filterfactory_implementation_U
-
 
36
//#define use_filterfactory_implementation_V
-
 
37
// dmin,dmax intentionally not equal to Filter Factory (this has been documented).
-
 
38
//#define use_filterfactory_implementation_d_minmax
-
 
39
// D intentionally not equal to Filter Factory (this has been documented).
-
 
40
//#define use_filterfactory_implementation_D
-
 
41
// get(i) intentionally not equal to Filter Factory (this has been documented).
-
 
42
//#define use_filterfactory_implementation_get
-
 
43
// Following functions are implemented as 100% replicas
-
 
44
#define use_filterfactory_implementation_rad
-
 
45
#define use_filterfactory_implementation_rnd
-
 
46
#define use_filterfactory_implementation_c2d
-
 
47
#define use_filterfactory_implementation_c2m
-
 
48
#define use_filterfactory_implementation_r2x
-
 
49
#define use_filterfactory_implementation_r2y
-
 
50
#define use_filterfactory_implementation_cos
-
 
51
#define use_filterfactory_implementation_sin
-
 
52
#define use_filterfactory_implementation_tan
-
 
53
#define use_filterfactory_implementation_sqr
-
 
54
#define use_filterfactory_implementation_d
-
 
55
#define use_filterfactory_implementation_m
-
 
56
#define use_filterfactory_implementation_M
-
 
57
#endif
-
 
58
 
23
 
59
 
24
#ifndef M_PI
60
#ifndef M_PI
25
#define M_PI 3.14159265358979323846264338327
61
#define M_PI 3.14159265358979323846264338327
26
#endif
62
#endif
27
 
63
 
Line 89... Line 125...
89
value_type ff_D();
125
value_type ff_D();
90
value_type ff_d();
126
value_type ff_d();
91
value_type ff_M();
127
value_type ff_M();
92
value_type ff_m();
128
value_type ff_m();
93
 
129
 
94
extern value_type min_channel_i;
130
extern value_type min_val_i;
95
extern value_type max_channel_i;
131
extern value_type max_val_i;
96
extern value_type min_channel_u;
132
extern value_type min_val_u;
97
extern value_type max_channel_u;
133
extern value_type max_val_u;
98
extern value_type min_channel_v;
134
extern value_type min_val_v;
99
extern value_type max_channel_v;
135
extern value_type max_val_v;
-
 
136
extern value_type min_val_d;
-
 
137
extern value_type max_val_d;
-
 
138
extern value_type val_D;
-
 
139
extern value_type val_I;
-
 
140
extern value_type val_U;
-
 
141
extern value_type val_V;