summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox/PDa/src/d_imayer_tables.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/d_imayer_tables.h')
-rw-r--r--apps/plugins/pdbox/PDa/src/d_imayer_tables.h100
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 0000000..e02d624
--- /dev/null
+++ b/apps/plugins/pdbox/PDa/src/d_imayer_tables.h
@@ -0,0 +1,100 @@
+/* Tables for fixed point lookup with 18 bit precision*/
+
+static int fsintab[TRIG_TAB_SIZE]= {
+262144,
+185363,
+100318,
+51141,
+25694,
+12862,
+6433,
+3216,
+1608,
+804,
+402,
+201,
+100,
+50,
+25,
+12,
+6,
+3,
+0,
+0,
+0,
+0 };
+
+
+static int fcostab[TRIG_TAB_SIZE]= {
+0,
+185363,
+242189,
+257106,
+260881,
+261828,
+262065,
+262124,
+262139,
+262142,
+262143,
+262143,
+262143,
+262143,
+262143,
+262143,
+262143,
+262143,
+0,
+0,
+0,
+0 };
+/* Tables for fixed point lookup with 18 bit precision*/
+
+static int fsintab[TRIG_TAB_SIZE]= {
+262144,
+185363,
+100318,
+51141,
+25694,
+12862,
+6433,
+3216,
+1608,
+804,
+402,
+201,
+100,
+50,
+25,
+12,
+6,
+3,
+0,
+0,
+0,
+0 };
+
+
+static int fcostab[TRIG_TAB_SIZE]= {
+0,
+185363,
+242189,
+257106,
+260881,
+261828,
+262065,
+262124,
+262139,
+262142,
+262143,
+262143,
+262143,
+262143,
+262143,
+262143,
+262143,
+262143,
+0,
+0,
+0,
+0 };