fft.h

Go to the documentation of this file.
00001 /*
00002  * WMA compatible decoder
00003  * Copyright (c) 2002 The FFmpeg Project.
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Lesser General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Lesser General Public
00016  * License along with this library; if not, write to the Free Software
00017  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018  */
00019 
00020 #ifndef WMA_FFT_H
00021 #define WMA_FFT_H 1
00022 
00023 #include <inttypes.h>
00024 
00025 typedef int32_t FFTSample;
00026 
00027 typedef struct FFTComplex
00028 {
00029     int32_t re, im;
00030 }
00031 FFTComplex;
00032 
00033 typedef struct FFTContext
00034 {
00035     int nbits;
00036     int inverse;
00037     uint16_t *revtab;
00038     FFTComplex *exptab;
00039     FFTComplex *exptab1; /* only used by SSE code */
00040     int (*fft_calc)(struct FFTContext *s, FFTComplex *z);
00041 }
00042 FFTContext;
00043 
00044 int fft_calc_unscaled(FFTContext *s, FFTComplex *z);
00045 int fft_init_global(void);
00046 
00047 #endif

Generated on Tue May 25 08:04:54 2010 for VLC by  doxygen 1.5.6