diff options
Diffstat (limited to 'sms/OOURA.h')
-rw-r--r-- | sms/OOURA.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sms/OOURA.h b/sms/OOURA.h new file mode 100644 index 0000000..a1087cd --- /dev/null +++ b/sms/OOURA.h @@ -0,0 +1,26 @@ +#ifndef _OOURA_H +#define _OOURA_H + +#ifdef DOUBLE_PRECISION +#define sfloat double +#else +#define sfloat float +#endif + +#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 */ |