fft.c File Reference

Include dependency graph for fft.c:


Defines

#define PI   3.14159265358979323846

Functions

static void fft_prepare (const sound_sample *input, float *re, float *im, const unsigned int *bitReverse)
static void fft_calculate (float *re, float *im, const float *costable, const float *sintable)
static void fft_output (const float *re, const float *im, float *output)
static int reverseBits (unsigned int initial)
fft_statevisual_fft_init (void)
void fft_perform (const sound_sample *input, float *output, fft_state *state)
void fft_close (fft_state *state)

Define Documentation

#define PI   3.14159265358979323846

Referenced by visual_fft_init().


Function Documentation

static void fft_calculate ( float *  re,
float *  im,
const float *  costable,
const float *  sintable 
) [static]

References FFT_BUFFER_SIZE, FFT_BUFFER_SIZE_LOG, and i.

Referenced by fft_perform().

void fft_close ( fft_state state  ) 

Referenced by spectrometer_Run(), and spectrum_Run().

static void fft_output ( const float *  re,
const float *  im,
float *  output 
) [static]

References FFT_BUFFER_SIZE.

Referenced by fft_perform().

void fft_perform ( const sound_sample input,
float *  output,
fft_state state 
)

static void fft_prepare ( const sound_sample input,
float *  re,
float *  im,
const unsigned int *  bitReverse 
) [static]

References FFT_BUFFER_SIZE, and i.

Referenced by fft_perform().

static int reverseBits ( unsigned int  initial  )  [static]

References FFT_BUFFER_SIZE_LOG.

Referenced by visual_fft_init().

fft_state* visual_fft_init ( void   ) 


Generated on Tue May 25 08:05:15 2010 for VLC by  doxygen 1.5.6