]> git.mxchange.org Git - flightgear.git/blob - 3rdparty/iaxclient/lib/libspeex/smallft.h
Move IAXClient library into 3rdparty directory
[flightgear.git] / 3rdparty / iaxclient / lib / libspeex / smallft.h
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
5  * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6  * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
7  *                                                                  *
8  * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001             *
9  * by the XIPHOPHORUS Company http://www.xiph.org/                  *
10  *                                                                  *
11  ********************************************************************
12
13  function: fft transform
14  last mod: $Id: smallft.h 465 2005-05-13 19:19:47Z stevek $
15
16  ********************************************************************/
17
18 #ifndef _V_SMFT_H_
19 #define _V_SMFT_H_
20
21 /*#include "vorbis/codec.h"*/
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 struct drft_lookup{
28   int n;
29   float *trigcache;
30   int *splitcache;
31 };
32
33 extern void spx_drft_forward(struct drft_lookup *l,float *data);
34 extern void spx_drft_backward(struct drft_lookup *l,float *data);
35 extern void spx_drft_init(struct drft_lookup *l,int n);
36 extern void spx_drft_clear(struct drft_lookup *l);
37
38 #ifdef __cplusplus
39 }
40 #endif
41
42 #endif