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