summaryrefslogtreecommitdiff
path: root/vapi/gstreamer-fft-1.0.vapi
blob: 4b226a4ada0e9ec6f2c68850579685e2e2ec5fad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/* gstreamer-fft-1.0.vapi generated by vapigen, do not modify. */

[CCode (cprefix = "Gst", gir_namespace = "GstFft", gir_version = "1.0", lower_case_cprefix = "gst_")]
namespace Gst {
	namespace FFT {
		[CCode (cheader_filename = "gst/fft/fft.h", has_type_id = false)]
		[Compact]
		[GIR (name = "FFTF32")]
		public class F32 {
			public F32 (int len, bool inverse);
			public void fft (float timedata, Gst.FFT.F32Complex freqdata);
			public void free ();
			public void inverse_fft (Gst.FFT.F32Complex freqdata, float timedata);
			public void window (float timedata, Gst.FFT.Window window);
		}
		[CCode (cheader_filename = "gst/fft/fft.h", has_type_id = false)]
		[Compact]
		[GIR (name = "FFTF64")]
		public class F64 {
			public F64 (int len, bool inverse);
			public void fft (double timedata, Gst.FFT.F64Complex freqdata);
			public void free ();
			public void inverse_fft (Gst.FFT.F64Complex freqdata, double timedata);
			public void window (double timedata, Gst.FFT.Window window);
		}
		[CCode (cheader_filename = "gst/fft/fft.h", has_type_id = false)]
		[Compact]
		[GIR (name = "FFTS16")]
		public class S16 {
			public S16 (int len, bool inverse);
			public void fft (int16 timedata, Gst.FFT.S16Complex freqdata);
			public void free ();
			public void inverse_fft (Gst.FFT.S16Complex freqdata, int16 timedata);
			public void window (int16 timedata, Gst.FFT.Window window);
		}
		[CCode (cheader_filename = "gst/fft/fft.h", has_type_id = false)]
		[Compact]
		[GIR (name = "FFTS32")]
		public class S32 {
			public S32 (int len, bool inverse);
			public void fft (int32 timedata, Gst.FFT.S32Complex freqdata);
			public void free ();
			public void inverse_fft (Gst.FFT.S32Complex freqdata, int32 timedata);
			public void window (int32 timedata, Gst.FFT.Window window);
		}
		[CCode (cheader_filename = "gst/fft/fft.h", has_type_id = false)]
		[GIR (name = "FFTF32Complex")]
		public struct F32Complex {
			public float r;
			public float i;
		}
		[CCode (cheader_filename = "gst/fft/fft.h", has_type_id = false)]
		[GIR (name = "FFTF64Complex")]
		public struct F64Complex {
			public double r;
			public double i;
		}
		[CCode (cheader_filename = "gst/fft/fft.h", has_type_id = false)]
		[GIR (name = "FFTS16Complex")]
		public struct S16Complex {
			public int16 r;
			public int16 i;
		}
		[CCode (cheader_filename = "gst/fft/fft.h", has_type_id = false)]
		[GIR (name = "FFTS32Complex")]
		public struct S32Complex {
			public int32 r;
			public int32 i;
		}
		[CCode (cheader_filename = "gst/fft/fft.h", cprefix = "GST_FFT_WINDOW_", has_type_id = false)]
		[GIR (name = "FFTWindow")]
		public enum Window {
			RECTANGULAR,
			HAMMING,
			HANN,
			BARTLETT,
			BLACKMAN
		}
		[CCode (cheader_filename = "gst/fft/fft.h", cname = "gst_fft_next_fast_length")]
		public static int fft_next_fast_length (int n);
	}
}