File: fftsg.h

package info (click to toggle)
drc 3.2.2~dfsg0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,548 kB
  • sloc: ansic: 13,575; cpp: 11,048; sh: 253; makefile: 41
file content (39 lines) | stat: -rw-r--r-- 983 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* 

Fast Fourier/Cosine/Sine Transform

Copyright Takuya OOURA, 1996-2001 
(Email: ooura@kurims.kyoto-u.ac.jp or ooura@mmm.t.u-tokyo.ac.jp) 

You may  use, copy,  modify  and  distribute  this code  for any
purpose (include commercial use) and without fee.

http://momonga.t.u-tokyo.ac.jp/~ooura/fft.html

*/

#ifndef fftsg_h
	#define fftsg_h
	
	#include "drc.h"
		
	#ifdef __cplusplus
		extern "C" {
	#endif

	#define OouraForward (-1)
	#define OouraBackward (1)	
	#define OouraRForward (1)
	#define OouraRBackward (-1)
	
	void cdft(int nx2, int dir, DRCFloat * data, int * ip, DRCFloat * w);
  void rdft(int n, int dir, DRCFloat * data, int * ip, DRCFloat * w);
  void ddct(int n, int dir, DRCFloat * data, int * ip, DRCFloat * w);
  void ddst(int n, int dir, DRCFloat * data, int * ip, DRCFloat * w);
  void dfct(int n, DRCFloat *a, DRCFloat *t, int *ip, DRCFloat *w);	
  void dfst(int n, DRCFloat *a, DRCFloat *t, int *ip, DRCFloat *w);
	
	#ifdef __cplusplus
		}
	#endif
#endif