** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: procsignal.h,v 1.15 2001/03/01 07:30:49 kevin Exp $
+** $Id$
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
#include "config.h"
#endif
#ifdef HAVE_FFTW
-#include <fftw.h>
-#include <rfftw.h>
+#include <fftw3.h>
#endif
#include <complex>
static void finiteFourierTransform (const std::complex<double> input[], std::complex<double> output[], const int n, const int direction);
static void finiteFourierTransform (const std::complex<double> input[], double output[], const int n, const int direction);
+ static int addZeropadFactor (int n, int iZeropad);
private:
std::string m_nameFilterMethod;
static const int s_iFilterGenerationCount;
#ifdef HAVE_FFTW
- fftw_real* m_adRealFftInput, *m_adRealFftSignal;
- rfftw_plan m_realPlanForward, m_realPlanBackward;
- fftw_complex* m_adComplexFftInput, *m_adComplexFftSignal;
+ double *m_adRealFftInput, *m_adRealFftOutput, *m_adRealFftSignal, *m_adRealFftBackwardOutput;
+ fftw_plan m_realPlanForward, m_realPlanBackward;
+ fftw_complex *m_adComplexFftInput, *m_adComplexFftOutput, *m_adComplexFftSignal, *m_adComplexFftBackwardOutput;
fftw_plan m_complexPlanForward, m_complexPlanBackward;
#endif