fft2048, fft4096, fft8192, fft16384, fft32768, fft65536,
};
-static void fft(struct fft_context *s, struct fft_complex *z)
-{
- fft_dispatch[s->nbits - 2] (z);
-}
-
/* complex multiplication: p = a * b */
#define CMUL(pre, pim, are, aim, bre, bim) \
{\
(pim) = _are * _bim + _aim * _bre;\
}
-/**
- * Compute the middle half of the inverse MDCT of size N = 2^nbits
- *
- * Thus excluding the parts that can be derived by symmetry.
- *
- * \param output N/2 samples.
- * \param input N/2 samples.
+/*
+ * Compute the middle half of the inverse MDCT, excluding the parts that can be
+ * derived by symmetry.
*/
static void imdct_half(struct mdct_context *s, fftsample_t *output,
const fftsample_t *input)
in1 += 2;
in2 -= 2;
}
- fft(&s->fft, z);
+ fft_dispatch[s->fft.nbits - 2](z);
/* post rotation + reordering */
for (k = 0; k < n8; k++) {