19 lines
702 B
C
19 lines
702 B
C
#ifndef __PDR_FFT_H__
|
|
#define __PDR_FFT_H__
|
|
|
|
/* Header File Including ------------------------------------------------------------------------ */
|
|
#include <stdint.h>
|
|
#include <math.h>
|
|
#include "Complex.h"
|
|
|
|
/* Macro Declaration ---------------------------------------------------------------------------- */
|
|
#define M_PI 3.14159265358979323846 /* pi */
|
|
|
|
/* Structure Declaration ------------------------------------------------------------------------ */
|
|
|
|
/* Function Declaration ------------------------------------------------------------------------- */
|
|
extern int FFT_Dft(Complex_t *fft, float *signal, int length);
|
|
extern int FFT_Fft(Complex_t *fft, float *signal, int length);
|
|
|
|
#endif
|