X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fprocsignal.h;h=14b8f6f85390139007efab727ca8e5ba73b40dfe;hp=dcb98a22b5c0b9f2e1dd24f709b6d07c82b77f84;hb=d42d3d062dd1aca92b5a2552a1f474aab0bee610;hpb=c953cbb6ffc2fd50e736230f4e6976a025983cff diff --git a/include/procsignal.h b/include/procsignal.h index dcb98a2..14b8f6f 100644 --- a/include/procsignal.h +++ b/include/procsignal.h @@ -9,7 +9,7 @@ ** 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 @@ -33,8 +33,7 @@ #include "config.h" #endif #ifdef HAVE_FFTW -#include -#include +#include #endif #include @@ -109,6 +108,7 @@ class ProcessSignal { static void finiteFourierTransform (const std::complex input[], std::complex output[], const int n, const int direction); static void finiteFourierTransform (const std::complex input[], double output[], const int n, const int direction); + static int addZeropadFactor (int n, int iZeropad); private: std::string m_nameFilterMethod; @@ -151,9 +151,9 @@ class ProcessSignal { 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