1 /* gstreamer-interfaces-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", gir_namespace = "GstInterfaces", gir_version = "0.10", lower_case_cprefix = "gst_")]
4 [Version (deprecated = true, replacement = "gstreamer-1.0")]
6 [CCode (cheader_filename = "gst/interfaces/colorbalance.h")]
7 public class ColorBalanceChannel : GLib.Object {
8 public weak string label;
11 [CCode (has_construct_function = false)]
12 protected ColorBalanceChannel ();
13 public virtual signal void value_changed (int value);
15 [CCode (cheader_filename = "gst/interfaces/mixer.h")]
16 public class MixerOptions : Gst.MixerTrack {
17 [CCode (has_construct_function = false)]
18 protected MixerOptions ();
19 public unowned GLib.List<string> get_values ();
20 public static void list_changed (Gst.Mixer mixer, Gst.MixerOptions opts);
22 [CCode (cheader_filename = "gst/interfaces/mixer.h")]
23 public class MixerTrack : GLib.Object {
24 [CCode (has_construct_function = false)]
25 protected MixerTrack ();
27 public uint flags { get; }
29 public uint index { get; construct; }
31 public string label { owned get; }
33 public int max_volume { get; }
35 public int min_volume { get; }
37 public int num_channels { get; }
39 public string untranslated_label { owned get; construct; }
41 [CCode (cheader_filename = "gst/interfaces/tuner.h")]
42 public class TunerChannel : GLib.Object {
43 public Gst.TunerChannelFlags flags;
44 public float freq_multiplicator;
45 public weak string label;
46 public ulong max_frequency;
47 public int max_signal;
48 public ulong min_frequency;
49 public int min_signal;
50 [CCode (has_construct_function = false)]
51 protected TunerChannel ();
52 public static void changed (Gst.Tuner tuner, Gst.TunerChannel channel);
53 public virtual signal void frequency_changed (ulong frequency);
54 public virtual signal void signal_changed (int @signal);
56 [CCode (cheader_filename = "gst/interfaces/tuner.h")]
57 public class TunerNorm : GLib.Object {
58 public Gst.Value framerate;
59 public weak string label;
60 [CCode (has_construct_function = false)]
61 protected TunerNorm ();
62 public static void changed (Gst.Tuner tuner, Gst.TunerNorm norm);
64 [CCode (cheader_filename = "gst/interfaces/colorbalance.h")]
65 public interface ColorBalance : Gst.ImplementsInterface, Gst.Element {
66 public Gst.ColorBalanceType get_balance_type ();
67 public abstract int get_value (Gst.ColorBalanceChannel channel);
68 public abstract unowned GLib.List<Gst.ColorBalanceChannel> list_channels ();
69 public abstract void set_value (Gst.ColorBalanceChannel channel, int value);
71 public signal void value_changed (Gst.ColorBalanceChannel channel, int value);
73 [CCode (cheader_filename = "gst/interfaces/mixer.h")]
74 public interface Mixer : Gst.ImplementsInterface, Gst.Element {
75 public abstract Gst.MixerFlags get_mixer_flags ();
76 public Gst.MixerType get_mixer_type ();
77 public abstract unowned string get_option (Gst.MixerOptions opts);
78 public abstract void get_volume (Gst.MixerTrack track, int volumes);
79 public abstract unowned GLib.List<Gst.MixerTrack> list_tracks ();
80 public static Gst.MixerMessageType message_get_type (Gst.Message message);
81 public static void message_parse_mute_toggled (Gst.Message message, out unowned Gst.MixerTrack track, bool mute);
82 public static void message_parse_option_changed (Gst.Message message, out unowned Gst.MixerOptions options, string value);
83 public static void message_parse_options_list_changed (Gst.Message message, out unowned Gst.MixerOptions options);
84 public static void message_parse_record_toggled (Gst.Message message, out unowned Gst.MixerTrack track, bool record);
85 public static void message_parse_volume_changed (Gst.Message message, out unowned Gst.MixerTrack track, int volumes, int num_channels);
86 public void mixer_changed ();
87 public abstract void set_mute (Gst.MixerTrack track, bool mute);
88 public abstract void set_option (Gst.MixerOptions opts, string value);
89 public abstract void set_record (Gst.MixerTrack track, bool record);
90 public abstract void set_volume (Gst.MixerTrack track, int volumes);
92 [CCode (cheader_filename = "gst/interfaces/navigation.h")]
93 public interface Navigation : Gst.Element {
94 public static Gst.NavigationEventType event_get_type (Gst.Event event);
95 public static bool event_parse_command (Gst.Event event, Gst.NavigationCommand command);
96 public static bool event_parse_key_event (Gst.Event event, string key);
97 public static bool event_parse_mouse_button_event (Gst.Event event, int button, double x, double y);
98 public static bool event_parse_mouse_move_event (Gst.Event event, double x, double y);
99 public static Gst.NavigationMessageType message_get_type (Gst.Message message);
100 public static unowned Gst.Message message_new_angles_changed (Gst.Object src, uint cur_angle, uint n_angles);
101 public static unowned Gst.Message message_new_commands_changed (Gst.Object src);
102 public static unowned Gst.Message message_new_mouse_over (Gst.Object src, bool active);
103 public static bool message_parse_angles_changed (Gst.Message message, uint cur_angle, uint n_angles);
104 public static bool message_parse_mouse_over (Gst.Message message, bool active);
105 public static Gst.NavigationQueryType query_get_type (Gst.Query query);
106 public static unowned Gst.Query query_new_angles ();
107 public static unowned Gst.Query query_new_commands ();
108 public static bool query_parse_angles (Gst.Query query, uint cur_angle, uint n_angles);
109 public static bool query_parse_commands_length (Gst.Query query, uint n_cmds);
110 public static bool query_parse_commands_nth (Gst.Query query, uint nth, Gst.NavigationCommand cmd);
111 public static void query_set_angles (Gst.Query query, uint cur_angle, uint n_angles);
112 public static void query_set_commands (Gst.Query query, int n_cmds);
113 public static void query_set_commandsv (Gst.Query query, int n_cmds, Gst.NavigationCommand cmds);
114 public void send_command (Gst.NavigationCommand command);
115 public abstract void send_event (Gst.Structure structure);
116 public void send_key_event (string event, string key);
117 public void send_mouse_event (string event, int button, double x, double y);
119 [CCode (cheader_filename = "gst/interfaces/propertyprobe.h")]
120 public interface PropertyProbe {
121 public abstract unowned GLib.List<string> get_properties ();
122 public unowned GLib.ParamSpec get_property (string name);
123 public abstract unowned GLib.ValueArray get_values (GLib.ParamSpec pspec);
124 public unowned GLib.ValueArray get_values_name (string name);
125 public abstract bool needs_probe (GLib.ParamSpec pspec);
126 public bool needs_probe_name (string name);
127 public unowned GLib.ValueArray probe_and_get_values (GLib.ParamSpec pspec);
128 public unowned GLib.ValueArray probe_and_get_values_name (string name);
129 public abstract void probe_property (GLib.ParamSpec pspec);
130 public void probe_property_name (string name);
131 public signal void probe_needed (void* pspec);
133 [CCode (cheader_filename = "gst/interfaces/streamvolume.h")]
134 public interface StreamVolume : GLib.Object {
135 public static double convert_volume (Gst.StreamVolumeFormat from, Gst.StreamVolumeFormat to, double val);
136 public bool get_mute ();
137 public double get_volume (Gst.StreamVolumeFormat format);
138 public void set_mute (bool mute);
139 public void set_volume (Gst.StreamVolumeFormat format, double val);
140 public bool mute { get; set; }
141 public double volume { get; set; }
143 [CCode (cheader_filename = "gst/interfaces/tuner.h")]
144 public interface Tuner : Gst.ImplementsInterface, Gst.Element {
145 public unowned Gst.TunerChannel find_channel_by_name (string channel);
146 public unowned Gst.TunerNorm find_norm_by_name (string norm);
147 public abstract unowned Gst.TunerChannel get_channel ();
148 public abstract ulong get_frequency (Gst.TunerChannel channel);
149 public abstract unowned Gst.TunerNorm get_norm ();
150 public abstract unowned GLib.List<Gst.TunerChannel> list_channels ();
151 public abstract unowned GLib.List<Gst.TunerNorm> list_norms ();
152 public abstract void set_channel (Gst.TunerChannel channel);
153 public abstract void set_frequency (Gst.TunerChannel channel, ulong frequency);
154 public abstract void set_norm (Gst.TunerNorm norm);
155 public abstract int signal_strength (Gst.TunerChannel channel);
156 public signal void channel_changed (Gst.TunerChannel channel);
158 public signal void frequency_changed (Gst.TunerChannel channel, ulong frequency);
159 public signal void norm_changed (Gst.TunerNorm norm);
161 public signal void signal_changed (Gst.TunerChannel channel, int @signal);
163 [CCode (cheader_filename = "gst/interfaces/videoorientation.h")]
164 public interface VideoOrientation : Gst.ImplementsInterface, Gst.Element {
165 public abstract bool get_hcenter (int center);
166 public abstract bool get_hflip (bool flip);
167 public abstract bool get_vcenter (int center);
168 public abstract bool get_vflip (bool flip);
169 public abstract bool set_hcenter (int center);
170 public abstract bool set_hflip (bool flip);
171 public abstract bool set_vcenter (int center);
172 public abstract bool set_vflip (bool flip);
174 [CCode (cheader_filename = "gst/interfaces/xoverlay.h", lower_case_csuffix = "x_overlay")]
175 public interface XOverlay : Gst.ImplementsInterface, Gst.Element {
176 [CCode (cname = "gst_x_overlay_expose")]
177 public abstract void expose ();
178 [CCode (cname = "gst_x_overlay_got_window_handle")]
179 public void got_window_handle (uint handle);
180 [CCode (cname = "gst_x_overlay_got_xwindow_id")]
181 public void got_xwindow_id (ulong xwindow_id);
182 [CCode (cname = "gst_x_overlay_handle_events")]
183 public abstract void handle_events (bool handle_events);
184 [CCode (cname = "gst_x_overlay_prepare_xwindow_id")]
185 public void prepare_xwindow_id ();
186 [CCode (cname = "gst_x_overlay_set_render_rectangle")]
187 public abstract void set_render_rectangle (int x, int y, int width, int height);
188 [CCode (cname = "gst_x_overlay_set_window_handle")]
189 public abstract void set_window_handle (uint handle);
190 [CCode (cname = "gst_x_overlay_set_xwindow_id")]
191 public abstract void set_xwindow_id (ulong xwindow_id);
193 [CCode (cheader_filename = "gst/interfaces/colorbalance.h", cprefix = "GST_COLOR_BALANCE_")]
194 public enum ColorBalanceType {
198 [CCode (cheader_filename = "gst/interfaces/mixer.h", cprefix = "GST_MIXER_FLAG_")]
200 public enum MixerFlags {
206 [CCode (cheader_filename = "gst/interfaces/mixer.h", cprefix = "GST_MIXER_MESSAGE_")]
207 public enum MixerMessageType {
213 OPTIONS_LIST_CHANGED,
216 [CCode (cheader_filename = "gst/interfaces/mixertrack.h", cprefix = "GST_MIXER_TRACK_")]
218 public enum MixerTrackFlags {
231 [CCode (cheader_filename = "gst/interfaces/mixer.h", cprefix = "GST_MIXER_")]
232 public enum MixerType {
236 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_NAVIGATION_COMMAND_")]
237 public enum NavigationCommand {
254 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_NAVIGATION_EVENT_")]
255 public enum NavigationEventType {
260 MOUSE_BUTTON_RELEASE,
264 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_NAVIGATION_MESSAGE_")]
265 public enum NavigationMessageType {
271 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_NAVIGATION_QUERY_")]
272 public enum NavigationQueryType {
277 [CCode (cheader_filename = "gst/interfaces/streamvolume.h", cprefix = "GST_STREAM_VOLUME_FORMAT_")]
278 public enum StreamVolumeFormat {
283 [CCode (cheader_filename = "gst/interfaces/tuner.h", cprefix = "GST_TUNER_CHANNEL_")]
285 public enum TunerChannelFlags {