| GStreamer Base Plugins 0.10 Library Reference Manual | ||||
|---|---|---|---|---|
#include <gst/fft/gstfft.h> enum GstFFTWindow; gint gst_fft_next_fast_length (gint n);
This library includes general definitions and functions, useful for all typed FFT classes.
typedef enum
{
GST_FFT_WINDOW_RECTANGULAR,
GST_FFT_WINDOW_HAMMING,
GST_FFT_WINDOW_HANN,
GST_FFT_WINDOW_BARTLETT,
GST_FFT_WINDOW_BLACKMAN
} GstFFTWindow;
The various window functions available.
gint gst_fft_next_fast_length (gint n);
Returns the next number to n that is entirely a product
of 2, 3 and 5. Using this as the len parameter for
the different GstFFT types will provide the best performance.
n : |
Number for which the next fast length should be returned |
| Returns : | the next fast FFT length. |