FS#8961 - Anti-Aliased Fonts.
[kugel-rb/myfork.git] / apps / codecs / libspeex / smallft.h
blob4ef9e58c7d4647dd83312dcf00fc081f43183c2a
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 ********************************************************************
13 function: fft transform
14 last mod: $Id$
16 ********************************************************************/
17 /**
18 @file smallft.h
19 @brief Discrete Rotational Fourier Transform (DRFT)
22 #ifndef _V_SMFT_H_
23 #define _V_SMFT_H_
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
30 /** Discrete Rotational Fourier Transform lookup */
31 struct drft_lookup{
32 int n;
33 float *trigcache;
34 int *splitcache;
37 extern void spx_drft_forward(struct drft_lookup *l,float *data);
38 extern void spx_drft_backward(struct drft_lookup *l,float *data);
39 extern void spx_drft_init(struct drft_lookup *l,int n);
40 extern void spx_drft_clear(struct drft_lookup *l);
42 #ifdef __cplusplus
44 #endif
46 #endif