nuclear@0: /******************************************************************** nuclear@0: * * nuclear@0: * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * nuclear@0: * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * nuclear@0: * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * nuclear@0: * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * nuclear@0: * * nuclear@0: * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 * nuclear@0: * by the Xiph.Org Foundation http://www.xiph.org/ * nuclear@0: * * nuclear@0: ******************************************************************** nuclear@0: nuclear@0: function: fft transform nuclear@0: last mod: $Id: smallft.h 13293 2007-07-24 00:09:47Z xiphmont $ nuclear@0: nuclear@0: ********************************************************************/ nuclear@0: nuclear@0: #ifndef _V_SMFT_H_ nuclear@0: #define _V_SMFT_H_ nuclear@0: nuclear@0: #include "vorbis/codec.h" nuclear@0: nuclear@0: typedef struct { nuclear@0: int n; nuclear@0: float *trigcache; nuclear@0: int *splitcache; nuclear@0: } drft_lookup; nuclear@0: nuclear@0: extern void drft_forward(drft_lookup *l,float *data); nuclear@0: extern void drft_backward(drft_lookup *l,float *data); nuclear@0: extern void drft_init(drft_lookup *l,int n); nuclear@0: extern void drft_clear(drft_lookup *l); nuclear@0: nuclear@0: #endif