1 // Copyright (c) <2012> <Leif Asbrink>
2 //
3 // Permission is hereby granted, free of charge, to any person
4 // obtaining a copy of this software and associated documentation
5 // files (the "Software"), to deal in the Software without restriction,
6 // including without limitation the rights to use, copy, modify,
7 // merge, publish, distribute, sublicense, and/or sell copies of
8 // the Software, and to permit persons to whom the Software is
9 // furnished to do so, subject to the following conditions:
10 //
11 // The above copyright notice and this permission notice shall be
12 // included in all copies or substantial portions of the Software.
13 //
14 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
16 // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
18 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
19 // WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
21 // OR OTHER DEALINGS IN THE SOFTWARE.
22 
23 
24 #include "globdef.h"
25 #include "fft2def.h"
26 
27 int yieldflag_fft2_fft2;
28 float *fft2_float;
29 unsigned short int *fft2_permute;
30 float *fft2_window;
31 COSIN_TABLE *fft2_tab;
32 short int *fft2_short_int;
33 unsigned int *fft2_bigpermute;
34 MMX_COSIN_TABLE *fft2_mmxcosin;
35 short int *fft2_mmxwin;
36 
37 float *hg_fft2_pwrsum;
38 float *hg_fft2_pwr;
39 float *hg_fft2_pol;
40 int hg_floatypix;
41 int make_fft2_status;
42 
43 
44 float *fft2_power_float;
45 float *fft2_powersum_float;
46 int *fft2_power_int;
47 
48 
49 TWOCHAN_POWER *fft2_xypower;
50 TWOCHAN_POWER *fft2_xysum;
51 
52 int fft2_n;
53 int fft2_size;
54 int fft2_interleave_points;
55 int max_fft2n;
56 int fft2_pa;
57 int fft2_pt;
58 int fft2_na;
59 int fft2_nb;
60 int fft2_nc;
61 int fft2_nm;
62 int fft2_nx;
63 int fft2n_mask;
64 int fft2_blockbytes;
65 int fft2_totbytes;
66 int fft2_mask;
67 int fft2_chunk_n;
68 int fft2_chunk_counter;
69 int fft2_inc;
70 int fft2_m1;
71 int fft2_m2;
72 int fft2_new_points;
73 int fft2_att_limit;
74 int hgwat_first_xpoint;
75 int hgwat_xpoints_per_pixel;
76 int hgwat_pixels_per_xpoint;
77 int fft2_maxamp[MAX_RX_CHANNELS];
78 
79 float fft2_blocktime;
80 float fft2_bandwidth;
81 
82 float fft2_wtb;
83 float fft2_wttim;
84 
85