Audacity 3.2.0
|
#include <FourierTransform_pffft.h>
Public Member Functions | |
FourierTransform (int32_t newBlockSize) | |
~FourierTransform () | |
int | getSize () const |
void | forwardReal (const SamplesReal &t, SamplesComplex &c) |
void | inverseReal (const SamplesComplex &c, SamplesReal &t) |
Private Attributes | |
PFFFT_Setup * | realFftSpec = nullptr |
PFFFT_Setup * | complexFftSpec = nullptr |
float * | _pffft_scratch = nullptr |
const int32_t | _blockSize |
int32_t | _order = 0 |
Definition at line 14 of file FourierTransform_pffft.h.
staffpad::audio::FourierTransform::FourierTransform | ( | int32_t | newBlockSize | ) |
Definition at line 7 of file FourierTransform_pffft.cpp.
References _blockSize, _pffft_scratch, and realFftSpec.
staffpad::audio::FourierTransform::~FourierTransform | ( | ) |
Definition at line 14 of file FourierTransform_pffft.cpp.
References _pffft_scratch, and realFftSpec.
void staffpad::audio::FourierTransform::forwardReal | ( | const SamplesReal & | t, |
SamplesComplex & | c | ||
) |
Definition at line 28 of file FourierTransform_pffft.cpp.
References _blockSize, _pffft_scratch, staffpad::SamplesFloat< T >::getNumChannels(), staffpad::SamplesFloat< T >::getNumSamples(), staffpad::SamplesFloat< T >::getPtr(), and realFftSpec.
|
inline |
void staffpad::audio::FourierTransform::inverseReal | ( | const SamplesComplex & | c, |
SamplesReal & | t | ||
) |
Definition at line 46 of file FourierTransform_pffft.cpp.
References _blockSize, _pffft_scratch, staffpad::SamplesFloat< T >::assignSamples(), staffpad::SamplesFloat< T >::getNumChannels(), staffpad::SamplesFloat< T >::getNumSamples(), staffpad::SamplesFloat< T >::getPtr(), and realFftSpec.
|
private |
Definition at line 30 of file FourierTransform_pffft.h.
Referenced by forwardReal(), FourierTransform(), getSize(), and inverseReal().
|
private |
Definition at line 31 of file FourierTransform_pffft.h.
|
private |
Definition at line 28 of file FourierTransform_pffft.h.
Referenced by forwardReal(), FourierTransform(), inverseReal(), and ~FourierTransform().
|
private |
Definition at line 27 of file FourierTransform_pffft.h.
|
private |
Definition at line 26 of file FourierTransform_pffft.h.
Referenced by forwardReal(), FourierTransform(), inverseReal(), and ~FourierTransform().