diff options
author | Anthony Blake <anthonix@me.com> | 2012-08-20 15:26:47 +1200 |
---|---|---|
committer | Anthony Blake <anthonix@me.com> | 2012-08-20 15:26:47 +1200 |
commit | 7877c36f6fc90bb88c8b81a05e66c0f48bf3ca02 (patch) | |
tree | 1d36e795f6fce05e40fa00b380c6f7688b8cc5ba /include/ffts.h | |
parent | 81023395c68710f8732a22ac46b511bce64e012b (diff) | |
download | ffts-7877c36f6fc90bb88c8b81a05e66c0f48bf3ca02.zip ffts-7877c36f6fc90bb88c8b81a05e66c0f48bf3ca02.tar.gz |
Full custom FFT32 works
Diffstat (limited to 'include/ffts.h')
-rw-r--r-- | include/ffts.h | 18 |
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); |