sdrangel/sdrbase/dsp/kissengine.h

27 wiersze
515 B
C
Czysty Zwykły widok Historia

#ifndef INCLUDE_KISSENGINE_H
#define INCLUDE_KISSENGINE_H
#include "dsp/fftengine.h"
#include "dsp/kissfft.h"
#include "export.h"
2018-03-03 19:23:38 +00:00
class SDRBASE_API KissEngine : public FFTEngine {
public:
2020-03-13 06:46:08 +00:00
virtual void configure(int n, bool inverse);
virtual void transform();
2020-03-13 06:46:08 +00:00
virtual Complex* in();
virtual Complex* out();
virtual void setReuse(bool reuse);
protected:
typedef kissfft<Real, Complex> KissFFT;
KissFFT m_fft;
std::vector<Complex> m_in;
std::vector<Complex> m_out;
};
#endif // INCLUDE_KISSENGINE_H