blob: 50dd8e6979b369fe5cc04ac112d8df89507ab107 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef INCLUDE_FFTSEngine_H
#define INCLUDE_FFTSEngine_H
#include <QMutex>
#include <ffts/ffts.h>
#include <list>
#include "dsp/fftengine.h"
class FFTSEngine : public FFTEngine {
public:
FFTSEngine();
~FFTSEngine();
void configure(int n, bool inverse);
void transform();
Complex* in();
Complex* out();
protected:
void allocate(int n);
ffts_plan_t* m_currentplan;
void *imem;
void *iptr;
void *omem;
void *optr;
};
#endif // INCLUDE_FFTSEngine_H
|