summaryrefslogtreecommitdiffstats
path: root/include/ffts.h
diff options
context:
space:
mode:
authorAnthony Blake <anthonix@me.com>2012-08-20 15:26:47 +1200
committerAnthony Blake <anthonix@me.com>2012-08-20 15:26:47 +1200
commit7877c36f6fc90bb88c8b81a05e66c0f48bf3ca02 (patch)
tree1d36e795f6fce05e40fa00b380c6f7688b8cc5ba /include/ffts.h
parent81023395c68710f8732a22ac46b511bce64e012b (diff)
downloadffts-7877c36f6fc90bb88c8b81a05e66c0f48bf3ca02.zip
ffts-7877c36f6fc90bb88c8b81a05e66c0f48bf3ca02.tar.gz
Full custom FFT32 works
Diffstat (limited to 'include/ffts.h')
-rw-r--r--include/ffts.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/include/ffts.h b/include/ffts.h
index 9bd0dbe..ba3d858 100644
--- a/include/ffts.h
+++ b/include/ffts.h
@@ -41,18 +41,24 @@
typedef size_t transform_index_t;
+
struct _ffts_plan_t {
- ptrdiff_t *is;
ptrdiff_t *offsets;
- void __attribute__ ((aligned(32))) **ws;
+ void __attribute__ ((aligned(32))) *ws;
+ void __attribute__ ((aligned(32))) *other_ws;
+ ptrdiff_t *is;
+ size_t *ws_is;
void (*firstpass)(const float * restrict, float * restrict, struct _ffts_plan_t * restrict);
- size_t i0, i1, i2;
- uint64_t n_bits, leaftime;
-
+ size_t i0, i1, n_luts;
+ size_t N;
+ void *lastlut;
transform_index_t *transforms;
+ //transform_func_t transform;
+ void (*transform)(struct _ffts_plan_t * restrict, const float * restrict, float * restrict);
+ void *transform_base;
+ size_t transform_size;
};
-
typedef struct _ffts_plan_t ffts_plan_t;
void ffts_execute(ffts_plan_t * restrict, const void * restrict, const void * restrict);
OpenPOWER on IntegriCloud