FFT Class Reference

#include <fourier.h>

Inherited by CrossfadeFFT.

Collaboration diagram for FFT:

Collaboration graph
[legend]

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_descmy_fftw_plan

Static Public Attributes

static fftw_plan_descfftw_plans = 0
static Mutex plans_lock = Mutex()

Detailed Description

Definition at line 18 of file fourier.h.


Constructor & Destructor Documentation

FFT::FFT (  ) 

Definition at line 16 of file fourier.C.

FFT::~FFT (  ) 

Definition at line 20 of file fourier.C.


Member Function Documentation

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().

Here is the call graph for this function:

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  ) 

Definition at line 125 of file fourier.C.

Referenced by do_fft().

unsigned int FFT::reverse_bits ( unsigned int  index,
unsigned int  bits 
)

Definition at line 137 of file fourier.C.

Referenced by do_fft().

int FFT::update_progress ( int  current_position  )  [virtual]

Definition at line 120 of file fourier.C.

int FFT::ready_fftw ( unsigned int  samples  ) 

int FFT::do_fftw_inplace ( unsigned int  samples,
int  inverse,
fftw_complex *  data 
)


Field Documentation

Definition at line 35 of file fourier.h.

Referenced by do_fftw_inplace(), and ready_fftw().

Definition at line 42 of file fourier.h.

Referenced by ready_fftw().

Mutex FFT::plans_lock = Mutex() [static]

Definition at line 43 of file fourier.h.


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:24:36 2008 for Cinelerra by  doxygen 1.5.5