2014-05-18 15:52:39 +00:00
|
|
|
#ifndef INCLUDE_KISSENGINE_H
|
|
|
|
#define INCLUDE_KISSENGINE_H
|
|
|
|
|
|
|
|
#include "dsp/fftengine.h"
|
|
|
|
#include "dsp/kissfft.h"
|
2018-03-20 12:49:21 +00:00
|
|
|
#include "export.h"
|
2014-05-18 15:52:39 +00:00
|
|
|
|
2018-03-03 19:23:38 +00:00
|
|
|
class SDRBASE_API KissEngine : public FFTEngine {
|
2014-05-18 15:52:39 +00:00
|
|
|
public:
|
|
|
|
void configure(int n, bool inverse);
|
|
|
|
void transform();
|
|
|
|
|
|
|
|
Complex* in();
|
|
|
|
Complex* out();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
typedef kissfft<Real, Complex> KissFFT;
|
|
|
|
KissFFT m_fft;
|
|
|
|
|
|
|
|
std::vector<Complex> m_in;
|
|
|
|
std::vector<Complex> m_out;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // INCLUDE_KISSENGINE_H
|