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-2001 * 00009 * by the XIPHOPHORUS Company http://www.xiph.org/ * 00010 * * 00011 ******************************************************************** 00012 00013 function: fft transform 00014 last mod: $Id: smallft.h,v 1.3 2003/09/16 18:35:45 jm Exp $ 00015 00016 ********************************************************************/ 00017 00018 #ifndef _V_SMFT_H_ 00019 #define _V_SMFT_H_ 00020 00021 /*#include "vorbis/codec.h"*/ 00022 00023 #ifdef __cplusplus 00024 extern "C" { 00025 #endif 00026 00027 struct drft_lookup{ 00028 int n; 00029 float *trigcache; 00030 int *splitcache; 00031 }; 00032 00033 extern void drft_forward(struct drft_lookup *l,float *data); 00034 extern void drft_backward(struct drft_lookup *l,float *data); 00035 extern void drft_init(struct drft_lookup *l,int n); 00036 extern void drft_clear(struct drft_lookup *l); 00037 00038 #ifdef __cplusplus 00039 } 00040 #endif 00041 00042 #endif