1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-08 17:46:03 -05:00
sdrangel/sdrbase/dsp/kissengine.h

27 lines
515 B
C
Raw Normal View History

#ifndef INCLUDE_KISSENGINE_H
#define INCLUDE_KISSENGINE_H
#include "dsp/fftengine.h"
#include "dsp/kissfft.h"
#include "export.h"
2018-03-03 14:23:38 -05:00
class SDRBASE_API KissEngine : public FFTEngine {
public:
2020-03-13 02:46:08 -04:00
virtual void configure(int n, bool inverse);
virtual void transform();
2020-03-13 02:46:08 -04: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