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