SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
sdrbase
dsp
fftwengine.h
Go to the documentation of this file.
1
#ifndef INCLUDE_FFTWENGINE_H
2
#define INCLUDE_FFTWENGINE_H
3
4
#include <QMutex>
5
#include <fftw3.h>
6
#include <list>
7
#include "
dsp/fftengine.h
"
8
#include "
export.h
"
9
10
class
SDRBASE_API
FFTWEngine
:
public
FFTEngine
{
11
public
:
12
FFTWEngine
();
13
~
FFTWEngine
();
14
15
void
configure
(
int
n,
bool
inverse);
16
void
transform
();
17
18
Complex
*
in
();
19
Complex
*
out
();
20
21
protected
:
22
static
QMutex
m_globalPlanMutex
;
23
24
struct
Plan
{
25
int
n
;
26
bool
inverse
;
27
fftwf_plan
plan
;
28
fftwf_complex*
in
;
29
fftwf_complex*
out
;
30
};
31
typedef
std::list<Plan*>
Plans
;
32
Plans
m_plans
;
33
Plan
*
m_currentPlan
;
34
35
void
freeAll();
36
};
37
38
#endif // INCLUDE_FFTWENGINE_H
FFTWEngine::Plan::in
fftwf_complex * in
Definition:
fftwengine.h:28
FFTEngine::in
virtual Complex * in()=0
FFTWEngine
Definition:
fftwengine.h:10
FFTWEngine::m_currentPlan
Plan * m_currentPlan
Definition:
fftwengine.h:33
export.h
FFTWEngine::Plan
Definition:
fftwengine.h:24
FFTEngine::transform
virtual void transform()=0
fftengine.h
FFTEngine::configure
virtual void configure(int n, bool inverse)=0
FFTEngine
Definition:
fftengine.h:7
FFTWEngine::Plan::n
int n
Definition:
fftwengine.h:25
FFTWEngine::Plan::out
fftwf_complex * out
Definition:
fftwengine.h:29
FFTWEngine::Plans
std::list< Plan * > Plans
Definition:
fftwengine.h:31
FFTEngine::out
virtual Complex * out()=0
FFTWEngine::m_globalPlanMutex
static QMutex m_globalPlanMutex
Definition:
fftwengine.h:22
FFTWEngine::Plan::plan
fftwf_plan plan
Definition:
fftwengine.h:27
SDRBASE_API
#define SDRBASE_API
Definition:
export.h:40
Complex
std::complex< Real > Complex
Definition:
dsptypes.h:43
FFTWEngine::Plan::inverse
bool inverse
Definition:
fftwengine.h:26
FFTWEngine::m_plans
Plans m_plans
Definition:
fftwengine.h:32
Generated on Fri Aug 2 2019 17:56:33 for SDRAngel by
1.8.13