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