From 7877c36f6fc90bb88c8b81a05e66c0f48bf3ca02 Mon Sep 17 00:00:00 2001 From: Anthony Blake Date: Mon, 20 Aug 2012 15:26:47 +1200 Subject: Full custom FFT32 works --- include/ffts.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'include/ffts.h') 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); -- cgit v1.1