* Make the FFT size a bit larger.
[matthijs/projects/montium-fft.git] / FFT.h
diff --git a/FFT.h b/FFT.h
index bb9d766363ac96c8a85bd016bad6c58c2c63cde0..b94386e6f4e0d82bbe6f651f9aeaafc89ca930f4 100644 (file)
--- a/FFT.h
+++ b/FFT.h
@@ -8,9 +8,11 @@
 /* 2log of number of tiles */\r
 #define PARAM_q 2\r
 /** 2log of total FFT size */\r
-#define PARAM_n 4\r
+#define PARAM_n 12\r
 \r
-/* Note that the FFT size on each tile 2^(n-q) must be at least 8! */\r
+/* Note that the FFT size on each tile 2^(n-q) must be at least\r
+ * 8 and always a multiple of 4. The number of stages on each \r
+ * tile (n-q) must also be a multiple of 2. */\r
 \r
 /* But don't change these: */\r
 /* Number of tiles */\r
        /* Values for the cycle_odd argument */\r
 #define EVEN_CYCLE 0\r
 #define ODD_CYCLE 1\r
+       \r
+enum in_strategy {     \r
+       REGULAR_IN,\r
+       DISTRIBUTED_IN,\r
+};\r
+\r
+enum out_strategy {\r
+       REGULAR_OUT,\r
+       DISTRIBUTED_OUT,\r
+       BITREVERSED_OUT,\r
+};\r
 \r
 #endif // !FFT_H_INCLUDED\r