From 49554c0feae58191e10b184dfd539dc4e28492d8 Mon Sep 17 00:00:00 2001 From: Anthony Blake Date: Fri, 25 Jan 2013 10:42:55 +1300 Subject: Changes to ND code --- src/ffts_nd.c | 105 ++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 69 insertions(+), 36 deletions(-) (limited to 'src/ffts_nd.c') diff --git a/src/ffts_nd.c b/src/ffts_nd.c index af1423d..a23ad7f 100644 --- a/src/ffts_nd.c +++ b/src/ffts_nd.c @@ -58,45 +58,11 @@ void ffts_free_nd(ffts_plan_t *p) { free(p->transpose_buf); free(p); } -#define TSIZE 32 +#define TSIZE 8 #include void ffts_transpose(uint64_t *in, uint64_t *out, int w, int h, uint64_t *buf) { #ifdef __ARM_NEON__ - uint64_t tmp[TSIZE*TSIZE] __attribute__((aligned(64))); - int tx, ty; - int x, y; - int tw = w / TSIZE; - int th = h / TSIZE; - for (ty=0;ty