xoreos
0.0.5
|
(Inverse) Fast Fourier Transform. More...
#include <cassert>
#include <cstring>
#include "src/common/maths.h"
#include "src/common/cosinetables.h"
#include "src/common/util.h"
#include "src/common/fft.h"
Go to the source code of this file.
Namespaces | |
Common | |
Macros | |
#define | sqrthalf (float)M_SQRT1_2 |
#define | BF(x, y, a, b) |
#define | BUTTERFLIES(a0, a1, a2, a3) |
#define | BUTTERFLIES_BIG(a0, a1, a2, a3) |
#define | TRANSFORM(a0, a1, a2, a3, wre, wim) |
#define | TRANSFORM_ZERO(a0, a1, a2, a3) |
#define | PASS(name) |
#define | BUTTERFLIES BUTTERFLIES_BIG |
#define | DECL_FFT(t, n, n2, n4) |
#define | pass pass_big |
Functions | |
static void | Common::pass (Complex *z, const float *wre, unsigned int n) |
static void | Common::pass_big (Complex *z, const float *wre, unsigned int n) |
static void | Common::fft4 (Complex *z) |
static void | Common::fft8 (Complex *z) |
static void | Common::fft16 (Complex *z) |
static void | Common::fft32 (Complex *z) |
static void | Common::fft64 (Complex *z) |
static void | Common::fft128 (Complex *z) |
static void | Common::fft256 (Complex *z) |
static void | Common::fft512 (Complex *z) |
static void | Common::fft1024 (Complex *z) |
static void | Common::fft2048 (Complex *z) |
static void | Common::fft4096 (Complex *z) |
static void | Common::fft8192 (Complex *z) |
static void | Common::fft16384 (Complex *z) |
static void | Common::fft32768 (Complex *z) |
static void | Common::fft65536 (Complex *z) |
Variables | |
static void(*const | Common::fft_dispatch [])(Complex *) |
(Inverse) Fast Fourier Transform.
Definition in file fft.cpp.
#define BF | ( | x, | |
y, | |||
a, | |||
b | |||
) |
Definition at line 123 of file fft.cpp.
Referenced by Common::fft4(), and Common::fft8().
#define BUTTERFLIES | ( | a0, | |
a1, | |||
a2, | |||
a3 | |||
) |
#define BUTTERFLIES BUTTERFLIES_BIG |
#define BUTTERFLIES_BIG | ( | a0, | |
a1, | |||
a2, | |||
a3 | |||
) |
#define DECL_FFT | ( | t, | |
n, | |||
n2, | |||
n4 | |||
) |
#define PASS | ( | name | ) |
#define pass pass_big |
Definition at line 257 of file fft.cpp.
Referenced by Graphics::Shader::ShaderDescriptor::addPass(), Graphics::Aurora::HighlightableText::render(), Graphics::Aurora::HighlightableGUIQuad::render(), Graphics::Aurora::SubSceneQuad::render(), Graphics::Aurora::FPS::render(), Graphics::Aurora::KotORDialogFrame::render(), Engines::Trigger::render(), Engines::Sonic::AreaBackground::render(), Graphics::Aurora::BorderQuad::render(), Graphics::Aurora::CubeSide::render(), Engines::Jade::GUIBackground::render(), Engines::KotOR::GUIBackground::render(), Graphics::Aurora::FadeQuad::render(), Graphics::Aurora::GeometryObject::render(), Graphics::Aurora::Walkmesh::render(), Engines::NWN::Scrollbar::render(), Engines::NWN::NewGameFog::render(), Engines::NWN::Portrait::render(), Graphics::Aurora::Text::render(), Graphics::Aurora::GUIQuad::render(), Engines::NWN::FadeModel::render(), Graphics::Aurora::Model_Sonic::render(), Engines::ConsoleWindow::render(), Video::VideoDecoder::render(), Engines::NWN::DialogBox::render(), Graphics::Aurora::Model::render(), and Graphics::Aurora::ModelNode::render().
#define sqrthalf (float)M_SQRT1_2 |
Definition at line 121 of file fft.cpp.
Referenced by Common::fft16(), and Common::fft8().
#define TRANSFORM | ( | a0, | |
a1, | |||
a2, | |||
a3, | |||
wre, | |||
wim | |||
) |
Definition at line 150 of file fft.cpp.
Referenced by Common::fft16(), and Common::fft8().
#define TRANSFORM_ZERO | ( | a0, | |
a1, | |||
a2, | |||
a3 | |||
) |
Definition at line 158 of file fft.cpp.
Referenced by Common::fft16().