dbf-halloween2015
annotate libs/vorbis/smallft.h @ 3:c37fe5d8a4ed
windows port
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 01 Nov 2015 06:04:28 +0200 |
parents | |
children |
rev | line source |
---|---|
nuclear@1 | 1 /******************************************************************** |
nuclear@1 | 2 * * |
nuclear@1 | 3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * |
nuclear@1 | 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * |
nuclear@1 | 5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * |
nuclear@1 | 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * |
nuclear@1 | 7 * * |
nuclear@1 | 8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 * |
nuclear@1 | 9 * by the Xiph.Org Foundation http://www.xiph.org/ * |
nuclear@1 | 10 * * |
nuclear@1 | 11 ******************************************************************** |
nuclear@1 | 12 |
nuclear@1 | 13 function: fft transform |
nuclear@1 | 14 last mod: $Id: smallft.h 13293 2007-07-24 00:09:47Z xiphmont $ |
nuclear@1 | 15 |
nuclear@1 | 16 ********************************************************************/ |
nuclear@1 | 17 |
nuclear@1 | 18 #ifndef _V_SMFT_H_ |
nuclear@1 | 19 #define _V_SMFT_H_ |
nuclear@1 | 20 |
nuclear@1 | 21 #include "vorbis/codec.h" |
nuclear@1 | 22 |
nuclear@1 | 23 typedef struct { |
nuclear@1 | 24 int n; |
nuclear@1 | 25 float *trigcache; |
nuclear@1 | 26 int *splitcache; |
nuclear@1 | 27 } drft_lookup; |
nuclear@1 | 28 |
nuclear@1 | 29 extern void drft_forward(drft_lookup *l,float *data); |
nuclear@1 | 30 extern void drft_backward(drft_lookup *l,float *data); |
nuclear@1 | 31 extern void drft_init(drft_lookup *l,int n); |
nuclear@1 | 32 extern void drft_clear(drft_lookup *l); |
nuclear@1 | 33 |
nuclear@1 | 34 #endif |