vrshoot

diff libs/vorbis/smallft.h @ 0:b2f14e535253

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 01 Feb 2014 19:58:19 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libs/vorbis/smallft.h	Sat Feb 01 19:58:19 2014 +0200
     1.3 @@ -0,0 +1,34 @@
     1.4 +/********************************************************************
     1.5 + *                                                                  *
     1.6 + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
     1.7 + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
     1.8 + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
     1.9 + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
    1.10 + *                                                                  *
    1.11 + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007             *
    1.12 + * by the Xiph.Org Foundation http://www.xiph.org/                  *
    1.13 + *                                                                  *
    1.14 + ********************************************************************
    1.15 +
    1.16 + function: fft transform
    1.17 + last mod: $Id: smallft.h 13293 2007-07-24 00:09:47Z xiphmont $
    1.18 +
    1.19 + ********************************************************************/
    1.20 +
    1.21 +#ifndef _V_SMFT_H_
    1.22 +#define _V_SMFT_H_
    1.23 +
    1.24 +#include "vorbis/codec.h"
    1.25 +
    1.26 +typedef struct {
    1.27 +  int n;
    1.28 +  float *trigcache;
    1.29 +  int *splitcache;
    1.30 +} drft_lookup;
    1.31 +
    1.32 +extern void drft_forward(drft_lookup *l,float *data);
    1.33 +extern void drft_backward(drft_lookup *l,float *data);
    1.34 +extern void drft_init(drft_lookup *l,int n);
    1.35 +extern void drft_clear(drft_lookup *l);
    1.36 +
    1.37 +#endif