mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
fft: Bracket public headers
This is especially needed if the gstfftw library is used from C++ code. Fixes #665074
This commit is contained in:
parent
ed5279e3c5
commit
0a841f6712
5 changed files with 21 additions and 0 deletions
|
@ -23,6 +23,8 @@
|
|||
#ifndef __GST_FFT_H__
|
||||
#define __GST_FFT_H__
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* GstFFTWindow:
|
||||
* @GST_FFT_WINDOW_RECTANGULAR: Rectangular window
|
||||
|
@ -46,4 +48,6 @@ typedef enum
|
|||
|
||||
gint gst_fft_next_fast_length (gint n) G_GNUC_CONST;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_FFT_H__ */
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
#include "gstfft.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GstFFTF32 GstFFTF32;
|
||||
typedef struct _GstFFTF32Complex GstFFTF32Complex;
|
||||
|
||||
|
@ -72,4 +74,6 @@ void gst_fft_f32_free (GstFFTF32 *self);
|
|||
|
||||
void gst_fft_f32_window (GstFFTF32 *self, gfloat *timedata, GstFFTWindow window);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_FFT_F32_H__ */
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
#include "gstfft.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GstFFTF64 GstFFTF64;
|
||||
typedef struct _GstFFTF64Complex GstFFTF64Complex;
|
||||
|
||||
|
@ -72,4 +74,6 @@ void gst_fft_f64_free (GstFFTF64 *self);
|
|||
|
||||
void gst_fft_f64_window (GstFFTF64 *self, gdouble *timedata, GstFFTWindow window);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_FFT_F64_H__ */
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
#include "gstfft.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GstFFTS16 GstFFTS16;
|
||||
typedef struct _GstFFTS16Complex GstFFTS16Complex;
|
||||
|
||||
|
@ -71,4 +73,7 @@ void gst_fft_s16_inverse_fft (GstFFTS16 *self, const GstFFTS16Complex *freqdata,
|
|||
void gst_fft_s16_free (GstFFTS16 *self);
|
||||
|
||||
void gst_fft_s16_window (GstFFTS16 *self, gint16 *timedata, GstFFTWindow window);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_FFT_S16_H__ */
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
#include "gstfft.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GstFFTS32 GstFFTS32;
|
||||
typedef struct _GstFFTS32Complex GstFFTS32Complex;
|
||||
|
||||
|
@ -72,4 +74,6 @@ void gst_fft_s32_free (GstFFTS32 *self);
|
|||
|
||||
void gst_fft_s32_window (GstFFTS32 *self, gint32 *timedata, GstFFTWindow window);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_FFT_S32_H__ */
|
||||
|
|
Loading…
Reference in a new issue