tizen 2.0 init
[framework/multimedia/gst-plugins-base0.10.git] / gst-libs / gst / fft / gstfft.h
1 /* GStreamer
2  * Copyright (C) <2007> Sebastian Dröge <slomo@circular-chaos.org>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  */
19
20 #include <glib.h>
21 #include <math.h>
22
23 #ifndef __GST_FFT_H__
24 #define __GST_FFT_H__
25
26 G_BEGIN_DECLS
27
28 /**
29  * GstFFTWindow:
30  * @GST_FFT_WINDOW_RECTANGULAR: Rectangular window
31  * @GST_FFT_WINDOW_HAMMING: Hamming window
32  * @GST_FFT_WINDOW_HANN: Hann (sometimes also called Hanning) window
33  * @GST_FFT_WINDOW_BARTLETT: Bartlett window
34  * @GST_FFT_WINDOW_BLACKMAN: Blackman window
35  *
36  * The various window functions available.
37  */
38 typedef enum
39 {
40   GST_FFT_WINDOW_RECTANGULAR,
41   GST_FFT_WINDOW_HAMMING,
42   GST_FFT_WINDOW_HANN,
43   GST_FFT_WINDOW_BARTLETT,
44   GST_FFT_WINDOW_BLACKMAN
45 } GstFFTWindow;
46
47 /* Functions */
48
49 gint gst_fft_next_fast_length (gint n) G_GNUC_CONST;
50
51 G_END_DECLS
52
53 #endif /* __GST_FFT_H__ */