summaryrefslogtreecommitdiff
path: root/src/sms/OOURA.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sms/OOURA.h')
-rw-r--r--src/sms/OOURA.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/sms/OOURA.h b/src/sms/OOURA.h
new file mode 100644
index 0000000..d7c60ad
--- /dev/null
+++ b/src/sms/OOURA.h
@@ -0,0 +1,23 @@
+#ifndef _OOURA_H
+#define _OOURA_H
+
+#define sfloat double
+/*#define sfloat float*/
+
+#define NMAX 8192
+#define NMAXSQRT 64
+
+void rdft(int n, int isgn, sfloat *a, int *ip, sfloat *w);
+
+void makewt(int nw, int *ip, sfloat *w);
+void makect(int nc, int *ip, sfloat *c);
+void bitrv2(int n, int *ip, sfloat *a);
+void cftfsub(int n, sfloat *a, sfloat *w);
+void cftbsub(int n, sfloat *a, sfloat *w);
+void rftfsub(int n, sfloat *a, int nc, sfloat *c);
+void rftbsub(int n, sfloat *a, int nc, sfloat *c);
+
+void cft1st(int n, sfloat *a, sfloat *w);
+void cftmdl(int n, int l, sfloat *a, sfloat *w);
+
+#endif /* _OURA_H */