doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
smallft.h
Go to the documentation of this file.
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-2002 *
9  * by the XIPHOPHORUS Company http://www.xiph.org/ *
10  * *
11  ********************************************************************
12 
13  function: fft transform
14  last mod: $Id: smallft.h,v 1.12 2002/07/11 06:40:50 xiphmont Exp $
15 
16  ********************************************************************/
17 
18 #ifndef _V_SMFT_H_
19 #define _V_SMFT_H_
20 
21 #include "../vorbis/codec.h"
22 
23 typedef struct {
24  int n;
25  float *trigcache;
26  int *splitcache;
27 } drft_lookup;
28 
29 extern void drft_forward(drft_lookup *l,float *data);
30 extern void drft_backward(drft_lookup *l,float *data);
31 extern void drft_init(drft_lookup *l,int n);
32 extern void drft_clear(drft_lookup *l);
33 
34 #endif
int * splitcache
Definition: smallft.h:26
GLenum GLsizei n
Definition: glext.h:3705
void drft_backward(drft_lookup *l, float *data)
Definition: smallft.c:1236
list l
Definition: prepare.py:17
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: glext.h:2853
void drft_init(drft_lookup *l, int n)
Definition: smallft.c:1241
void drft_forward(drft_lookup *l, float *data)
Definition: smallft.c:1231
float * trigcache
Definition: smallft.h:25
void drft_clear(drft_lookup *l)
Definition: smallft.c:1248