diff options
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/d_imayer_tables.h')
-rw-r--r-- | apps/plugins/pdbox/PDa/src/d_imayer_tables.h | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/PDa/src/d_imayer_tables.h b/apps/plugins/pdbox/PDa/src/d_imayer_tables.h new file mode 100644 index 0000000000..e02d62490b --- /dev/null +++ b/apps/plugins/pdbox/PDa/src/d_imayer_tables.h | |||
@@ -0,0 +1,100 @@ | |||
1 | /* Tables for fixed point lookup with 18 bit precision*/ | ||
2 | |||
3 | static int fsintab[TRIG_TAB_SIZE]= { | ||
4 | 262144, | ||
5 | 185363, | ||
6 | 100318, | ||
7 | 51141, | ||
8 | 25694, | ||
9 | 12862, | ||
10 | 6433, | ||
11 | 3216, | ||
12 | 1608, | ||
13 | 804, | ||
14 | 402, | ||
15 | 201, | ||
16 | 100, | ||
17 | 50, | ||
18 | 25, | ||
19 | 12, | ||
20 | 6, | ||
21 | 3, | ||
22 | 0, | ||
23 | 0, | ||
24 | 0, | ||
25 | 0 }; | ||
26 | |||
27 | |||
28 | static int fcostab[TRIG_TAB_SIZE]= { | ||
29 | 0, | ||
30 | 185363, | ||
31 | 242189, | ||
32 | 257106, | ||
33 | 260881, | ||
34 | 261828, | ||
35 | 262065, | ||
36 | 262124, | ||
37 | 262139, | ||
38 | 262142, | ||
39 | 262143, | ||
40 | 262143, | ||
41 | 262143, | ||
42 | 262143, | ||
43 | 262143, | ||
44 | 262143, | ||
45 | 262143, | ||
46 | 262143, | ||
47 | 0, | ||
48 | 0, | ||
49 | 0, | ||
50 | 0 }; | ||
51 | /* Tables for fixed point lookup with 18 bit precision*/ | ||
52 | |||
53 | static int fsintab[TRIG_TAB_SIZE]= { | ||
54 | 262144, | ||
55 | 185363, | ||
56 | 100318, | ||
57 | 51141, | ||
58 | 25694, | ||
59 | 12862, | ||
60 | 6433, | ||
61 | 3216, | ||
62 | 1608, | ||
63 | 804, | ||
64 | 402, | ||
65 | 201, | ||
66 | 100, | ||
67 | 50, | ||
68 | 25, | ||
69 | 12, | ||
70 | 6, | ||
71 | 3, | ||
72 | 0, | ||
73 | 0, | ||
74 | 0, | ||
75 | 0 }; | ||
76 | |||
77 | |||
78 | static int fcostab[TRIG_TAB_SIZE]= { | ||
79 | 0, | ||
80 | 185363, | ||
81 | 242189, | ||
82 | 257106, | ||
83 | 260881, | ||
84 | 261828, | ||
85 | 262065, | ||
86 | 262124, | ||
87 | 262139, | ||
88 | 262142, | ||
89 | 262143, | ||
90 | 262143, | ||
91 | 262143, | ||
92 | 262143, | ||
93 | 262143, | ||
94 | 262143, | ||
95 | 262143, | ||
96 | 262143, | ||
97 | 0, | ||
98 | 0, | ||
99 | 0, | ||
100 | 0 }; | ||