|
xine-lib
1.2.9
|
Macros | |
| #define | SINE(x) (fft->SineTable[(x)]) |
| #define | COSINE(x) (fft->CosineTable[(x)]) |
| #define | WINDOW(x) (fft->WinTable[(x)]) |
| #define | PERMUTE(x, y) reverse((x), (y)) |
| #define | SAMPLES (1 << bits) |
| #define | REAL(x) wave[(x)].re |
| #define | IMAG(x) wave[(x)].im |
| #define | ALPHA 0.54 |
Functions | |
| static const unsigned int | reverse (unsigned int val, int bits) |
| void | fft_compute (fft_t *fft, complex_t wave[]) |
| fft_t * | fft_new (int bits) |
| void | fft_dispose (fft_t *fft) |
| void | fft_window (fft_t *fft, complex_t wave[]) |
| double | fft_amp (int n, complex_t wave[], int bits) |
| void | fft_scale (complex_t wave[], int bits) |
| #define ALPHA 0.54 |
Referenced by fft_new().
| #define COSINE | ( | x | ) | (fft->CosineTable[(x)]) |
Referenced by fft_compute().
| #define IMAG | ( | x | ) | wave[(x)].im |
Referenced by fft_amp(), fft_compute(), and fft_window().
| #define PERMUTE | ( | x, | |
| y | |||
| ) | reverse((x), (y)) |
Referenced by fft_amp(), and fft_compute().
| #define REAL | ( | x | ) | wave[(x)].re |
Referenced by fft_amp(), fft_compute(), and fft_window().
| #define SAMPLES (1 << bits) |
Referenced by fft_compute(), fft_new(), fft_scale(), and fft_window().
| #define SINE | ( | x | ) | (fft->SineTable[(x)]) |
Referenced by fft_compute().
| #define WINDOW | ( | x | ) | (fft->WinTable[(x)]) |
Referenced by fft_window().
| double fft_amp | ( | int | n, |
| complex_t | wave[], | ||
| int | bits | ||
| ) |
References bits, IMAG, PERMUTE, and REAL.
Referenced by draw_fftgraph(), and draw_fftscope().
References fft_s::bits, bits, COSINE, IMAG, PERMUTE, REAL, SAMPLES, and SINE.
Referenced by draw_fftgraph(), and draw_fftscope().
| void fft_dispose | ( | fft_t * | fft | ) |
References fft_s::CosineTable, fft_s::SineTable, and fft_s::WinTable.
Referenced by fftgraph_port_close(), and fftscope_port_close().
| fft_t* fft_new | ( | int | bits | ) |
References ALPHA, fft_s::bits, bits, fft_s::CosineTable, NULL, SAMPLES, fft_s::SineTable, and fft_s::WinTable.
Referenced by fftgraph_port_open(), and fftscope_port_open().
| void fft_scale | ( | complex_t | wave[], |
| int | bits | ||
| ) |
References complex_s::im, complex_s::re, and SAMPLES.
Referenced by draw_fftgraph(), and draw_fftscope().
References fft_s::bits, bits, IMAG, REAL, SAMPLES, and WINDOW.
Referenced by draw_fftgraph(), and draw_fftscope().
|
inlinestatic |
References bits.
1.8.14