gst_plugins_base/gst-libs/gst/fft/gstfft.h
changeset 0 0e761a78d257
equal deleted inserted replaced
-1:000000000000 0:0e761a78d257
       
     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 /**
       
    27  * GstFFTWindow:
       
    28  * @GST_FFT_WINDOW_RECTANGULAR: Rectangular window
       
    29  * @GST_FFT_WINDOW_HAMMING: Hamming window
       
    30  * @GST_FFT_WINDOW_HANN: Hann (sometimes also called Hanning) window
       
    31  * @GST_FFT_WINDOW_BARTLETT: Bartlett window
       
    32  * @GST_FFT_WINDOW_BLACKMAN: Blackman window
       
    33  *
       
    34  * The various window functions available.
       
    35  */
       
    36 typedef enum
       
    37 {
       
    38   GST_FFT_WINDOW_RECTANGULAR,
       
    39   GST_FFT_WINDOW_HAMMING,
       
    40   GST_FFT_WINDOW_HANN,
       
    41   GST_FFT_WINDOW_BARTLETT,
       
    42   GST_FFT_WINDOW_BLACKMAN
       
    43 } GstFFTWindow;
       
    44 
       
    45 /* Functions */
       
    46 #ifdef __SYMBIAN32__
       
    47 IMPORT_C
       
    48 #endif
       
    49 
       
    50 
       
    51 gint gst_fft_next_fast_length (gint n);
       
    52 
       
    53 #endif /* __GST_FFT_H__ */