Include dependency graph for frequency.c:
Classes | |
| struct | sFrequencyState |
Defines | |
| #define | FFT_BUFFER_SIZE_LOG 9 |
| #define | FFT_BUFFER_SIZE (1 << FFT_BUFFER_SIZE_LOG) |
| #define | PI 3.14159265358979323846 |
Typedefs | |
| typedef short int | sound_sample |
Functions | |
| static void | FrequencyPrepare (const sound_sample *input, float *re, float *im) |
| static void | FrequencyCalculate (float *re, float *im) |
| static void | FrequencyOutput (const float *re, const float *im, float *output) |
| static int | reverseBits (unsigned int initial) |
| sFrequencyState * | fft_init (void) |
| void | fft_perform (const sound_sample *input, float *output, sFrequencyState *state) |
| void | fft_close (sFrequencyState *state) |
| static void | calc_stereo_pcm (short dest[2][512], short src[2][512], int nch) |
| static void | calc_mono_pcm (short dest[2][512], short src[2][512], int nch) |
| static void | calc_freq (short *dest, short *src) |
| static void | calc_mono_freq (short dest[2][256], short src[2][512], int nch) |
| static void | calc_stereo_freq (short dest[2][256], short src[2][512], int nch) |
| HRESULT | ISS_AudioConvertPCMToFrequency (unsigned int uiDesiredChannels, unsigned int uiPCMChannels, short ucPCMAudioData[2][512], short ucFrequencyBuffer[2][256]) |
Variables | |
| static unsigned int | bitReverse [FFT_BUFFER_SIZE] |
| static float | sintable [FFT_BUFFER_SIZE/2] |
| static float | costable [FFT_BUFFER_SIZE/2] |
| #define FFT_BUFFER_SIZE (1 << FFT_BUFFER_SIZE_LOG) |
| #define FFT_BUFFER_SIZE_LOG 9 |
| #define PI 3.14159265358979323846 |
| typedef short int sound_sample |
| static void calc_freq | ( | short * | dest, | |
| short * | src | |||
| ) | [static] |
| static void calc_mono_freq | ( | short | dest[2][256], | |
| short | src[2][512], | |||
| int | nch | |||
| ) | [static] |
| static void calc_mono_pcm | ( | short | dest[2][512], | |
| short | src[2][512], | |||
| int | nch | |||
| ) | [static] |
| static void calc_stereo_freq | ( | short | dest[2][256], | |
| short | src[2][512], | |||
| int | nch | |||
| ) | [static] |
| static void calc_stereo_pcm | ( | short | dest[2][512], | |
| short | src[2][512], | |||
| int | nch | |||
| ) | [static] |
| void fft_close | ( | sFrequencyState * | state | ) |
| sFrequencyState* fft_init | ( | void | ) |
| void fft_perform | ( | const sound_sample * | input, | |
| float * | output, | |||
| sFrequencyState * | state | |||
| ) |
| static void FrequencyCalculate | ( | float * | re, | |
| float * | im | |||
| ) | [static] |
| static void FrequencyOutput | ( | const float * | re, | |
| const float * | im, | |||
| float * | output | |||
| ) | [static] |
| static void FrequencyPrepare | ( | const sound_sample * | input, | |
| float * | re, | |||
| float * | im | |||
| ) | [static] |
| HRESULT ISS_AudioConvertPCMToFrequency | ( | unsigned int | uiDesiredChannels, | |
| unsigned int | uiPCMChannels, | |||
| short | ucPCMAudioData[2][512], | |||
| short | ucFrequencyBuffer[2][256] | |||
| ) |
empty
| static int reverseBits | ( | unsigned int | initial | ) | [static] |
unsigned int bitReverse[FFT_BUFFER_SIZE] [static] |
float costable[FFT_BUFFER_SIZE/2] [static] |
float sintable[FFT_BUFFER_SIZE/2] [static] |
1.5.1-p1