#include <fourier.h>
Inherited by CrossfadeFFT.

Public Member Functions | |
| FFT () | |
| ~FFT () | |
| int | do_fft (unsigned int samples, int inverse, double *real_in, double *imag_in, double *real_out, double *imag_out) |
| int | symmetry (int size, double *freq_real, double *freq_imag) |
| unsigned int | samples_to_bits (unsigned int samples) |
| unsigned int | reverse_bits (unsigned int index, unsigned int bits) |
| virtual int | update_progress (int current_position) |
| int | ready_fftw (unsigned int samples) |
| int | do_fftw_inplace (unsigned int samples, int inverse, fftw_complex *data) |
Data Fields | |
| fftw_plan_desc * | my_fftw_plan |
Static Public Attributes | |
| static fftw_plan_desc * | fftw_plans = 0 |
| static Mutex | plans_lock = Mutex() |
Definition at line 18 of file fourier.h.
| int FFT::do_fft | ( | unsigned int | samples, | |
| int | inverse, | |||
| double * | real_in, | |||
| double * | imag_in, | |||
| double * | real_out, | |||
| double * | imag_out | |||
| ) |
Definition at line 24 of file fourier.C.
References M_PI, reverse_bits(), samples_to_bits(), and EffectTV::w.
Referenced by CrossfadeFFT::process_buffer().

| int FFT::symmetry | ( | int | size, | |
| double * | freq_real, | |||
| double * | freq_imag | |||
| ) |
Definition at line 150 of file fourier.C.
References EffectTV::h.
Referenced by ParametricFFT::signal_process(), and DenoiseFFTRemove::signal_process().
| unsigned int FFT::samples_to_bits | ( | unsigned int | samples | ) |
| unsigned int FFT::reverse_bits | ( | unsigned int | index, | |
| unsigned int | bits | |||
| ) |
| int FFT::update_progress | ( | int | current_position | ) | [virtual] |
| int FFT::ready_fftw | ( | unsigned int | samples | ) |
Definition at line 162 of file fourier.C.
References fftw_plans, Mutex::lock(), my_fftw_plan, fftw_plan_desc::next, fftw_plan_desc::plan_backward, fftw_plan_desc::plan_forward, fftw_plan_desc::samples, and Mutex::unlock().
Referenced by CrossfadeFFT::set_oversample().

| int FFT::do_fftw_inplace | ( | unsigned int | samples, | |
| int | inverse, | |||
| fftw_complex * | data | |||
| ) |
Definition at line 196 of file fourier.C.
References my_fftw_plan, fftw_plan_desc::plan_backward, and fftw_plan_desc::plan_forward.
Referenced by CrossfadeFFT::process_buffer_oversample().
fftw_plan_desc * FFT::fftw_plans = 0 [static] |
Mutex FFT::plans_lock = Mutex() [static] |
1.5.5