File: fft.h

package info (click to toggle)
xoscope 2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,772 kB
  • sloc: ansic: 5,644; sh: 1,080; xml: 281; makefile: 61
file content (23 lines) | stat: -rw-r--r-- 486 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* -*- mode: C++; indent-tabs-mode: nil; fill-column: 100; c-basic-offset: 4; -*-
 *
 * Prototypes for the routines in fft.c
 *
 */
 
#include <fftw3.h>

#if 0
#define TIME_FFT
#endif

extern int fftLenIn;   
extern int fftLenOut;
 
void InitializeFFTW(int fftlen);
void fftW(short *in, short *out, int inLen);
void EndFFTW(void);
int  floor2(int num);
int  FFTactive(Signal *source, Signal *dest, int rateChange);
void displayFFT(fftw_complex *cp, short *out);
void initGraphX(void);