#include <stdlib.hch>
#include "pal_master.hch"
#include "audio.hch"
#include "weights_256.hch"
#include "configuration.hch"
#include "xilinxmult.hch"
#include "fft.hch"
Include dependency graph for fft.hcc:
Go to the source code of this file.
Defines | |
#define | DC_COMPONENT 8470527 |
Functions | |
macro proc | multiply (result, op_a, op_b) |
Procedure used for multiply-ing. | |
void | calculate_fft (unsigned 1 select_inverse) |
This routine performs the Fast Fourier Transform for calculation of the frequency spectrum. | |
void | perform_fft (signed 16 *pcm_audio) |
void | perform_ifft (signed 16 *modified_audio, unsigned 6 *ifft_info) |
void | equalize_audio (audiodata_t *audiodata) |
This routine equalizes the frequencies derived by the FFT calculation, according to the settings of the equalizer bars. | |
Variables | |
ram signed | eq_settings [16] = {0,2,4,7,10,13,16,19,22,26,30,35,41,48,55,63} |
Definition in file fft.hcc.
|
|
|
Procedure used for multiply-ing.
Definition at line 82 of file fft.hcc. Referenced by calculate_fft(), and equalize_audio(). |
|
This routine performs the Fast Fourier Transform for calculation of the frequency spectrum.
Definition at line 104 of file fft.hcc. References multiply(), NUMBER_OF_COLUMNS, NUMBER_OF_POINTS, weight_im, and weight_re. Referenced by perform_fft(), and perform_ifft(). |
Here is the call graph for this function:
|
Definition at line 259 of file fft.hcc. References calculate_fft(). |
Here is the call graph for this function:
|
Definition at line 324 of file fft.hcc. References calculate_fft(). |
Here is the call graph for this function:
|
This routine equalizes the frequencies derived by the FFT calculation, according to the settings of the equalizer bars.
Definition at line 398 of file fft.hcc. References audiodata_t::display_log, eq_settings, audiodata_t::equalizer_levels_ptr, multiply(), and NUMBER_OF_POINTS. |
Here is the call graph for this function:
|
Definition at line 64 of file fft.hcc. Referenced by equalize_audio(). |