00001 /******************************************************************** 00002 * * 00003 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * 00004 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 00005 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 00006 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 00007 * * 00008 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 * 00009 * by the XIPHOPHORUS Company http://www.xiph.org/ * 00010 * * 00011 ******************************************************************** 00012 00013 function: fft transform 00014 last mod: $Id: smallft.h 7187 2004-07-20 07:24:27Z xiphmont $ 00015 00016 ********************************************************************/ 00017 00018 #ifndef _V_SMFT_H_ 00019 #define _V_SMFT_H_ 00020 00021 #include "vorbis/codec.h" 00022 00023 typedef struct { 00024 int n; 00025 float *trigcache; 00026 int *splitcache; 00027 } drft_lookup; 00028 00029 extern void drft_forward(drft_lookup *l,float *data); 00030 extern void drft_backward(drft_lookup *l,float *data); 00031 extern void drft_init(drft_lookup *l,int n); 00032 extern void drft_clear(drft_lookup *l); 00033 00034 #endif