1 /* gstreamer-interfaces-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
5 [CCode (cheader_filename = "gst/interfaces/colorbalance.h")]
6 public class ColorBalanceChannel : GLib.Object {
7 public weak string label;
10 public virtual signal void value_changed (int value);
12 [CCode (cheader_filename = "gst/interfaces/mixer.h")]
13 public class MixerOptions : Gst.MixerTrack {
14 public unowned GLib.List<string> get_values ();
15 public static void list_changed (Gst.Mixer mixer, Gst.MixerOptions opts);
17 [CCode (cheader_filename = "gst/interfaces/mixer.h")]
18 public class MixerTrack : GLib.Object {
20 public uint flags { get; }
22 public uint index { get; construct; }
24 public string label { owned get; }
26 public int max_volume { get; }
28 public int min_volume { get; }
30 public int num_channels { get; }
32 public string untranslated_label { owned get; construct; }
35 [CCode (cheader_filename = "gst/gst.h")]
36 public class PhotoSettings {
38 public float ev_compensation;
39 public uint32 exposure;
40 public Gst.FlashMode flash_mode;
41 public uint iso_speed;
42 public Gst.SceneMode scene_mode;
43 public Gst.ColourToneMode tone_mode;
44 public Gst.WhiteBalanceMode wb_mode;
48 [CCode (cheader_filename = "gst/gst.h")]
49 public class Photography {
50 public bool get_aperture (uint aperture);
51 public Gst.PhotoCaps get_capabilities ();
52 public bool get_colour_tone_mode (Gst.ColourToneMode tone_mode);
53 public bool get_config (Gst.PhotoSettings config);
54 public bool get_ev_compensation (float ev_comp);
55 public bool get_exposure (uint32 exposure);
56 public bool get_flash_mode (Gst.FlashMode flash_mode);
57 public bool get_iso_speed (uint iso_speed);
58 public bool get_scene_mode (Gst.SceneMode scene_mode);
59 public bool get_white_balance_mode (Gst.WhiteBalanceMode wb_mode);
60 public bool get_zoom (float zoom);
61 public bool prepare_for_capture (Gst.PhotoCapturePrepared func, Gst.Caps capture_caps);
62 public bool set_aperture (uint aperture);
63 public void set_autofocus (bool on);
64 public bool set_colour_tone_mode (Gst.ColourToneMode tone_mode);
65 public bool set_config (Gst.PhotoSettings config);
66 public bool set_ev_compensation (float ev_comp);
67 public bool set_exposure (uint exposure);
68 public bool set_flash_mode (Gst.FlashMode flash_mode);
69 public bool set_iso_speed (uint iso_speed);
70 public bool set_scene_mode (Gst.SceneMode scene_mode);
71 public bool set_white_balance_mode (Gst.WhiteBalanceMode wb_mode);
72 public bool set_zoom (float zoom);
74 [CCode (cheader_filename = "gst/interfaces/tuner.h")]
75 public class TunerChannel : GLib.Object {
76 public Gst.TunerChannelFlags flags;
77 public float freq_multiplicator;
78 public weak string label;
79 public ulong max_frequency;
80 public int max_signal;
81 public ulong min_frequency;
82 public int min_signal;
83 public static void changed (Gst.Tuner tuner, Gst.TunerChannel channel);
84 public virtual signal void frequency_changed (ulong frequency);
85 public virtual signal void signal_changed (int @signal);
87 [CCode (cheader_filename = "gst/interfaces/tuner.h")]
88 public class TunerNorm : GLib.Object {
89 public Gst.Value framerate;
90 public weak string label;
91 public static void changed (Gst.Tuner tuner, Gst.TunerNorm norm);
93 [CCode (cheader_filename = "gst/interfaces/colorbalance.h")]
94 public interface ColorBalance : Gst.ImplementsInterface, Gst.Element {
95 public Gst.ColorBalanceType get_balance_type ();
96 public abstract int get_value (Gst.ColorBalanceChannel channel);
97 public abstract unowned GLib.List<Gst.ColorBalanceChannel> list_channels ();
98 public abstract void set_value (Gst.ColorBalanceChannel channel, int value);
100 public signal void value_changed (Gst.ColorBalanceChannel channel, int value);
102 [CCode (cheader_filename = "gst/interfaces/mixer.h")]
103 public interface Mixer : Gst.ImplementsInterface, Gst.Element {
104 public abstract Gst.MixerFlags get_mixer_flags ();
105 public Gst.MixerType get_mixer_type ();
106 public abstract unowned string get_option (Gst.MixerOptions opts);
107 public abstract void get_volume (Gst.MixerTrack track, int volumes);
108 public abstract unowned GLib.List<Gst.MixerTrack> list_tracks ();
109 public static Gst.MixerMessageType message_get_type (Gst.Message message);
110 public static void message_parse_mute_toggled (Gst.Message message, out unowned Gst.MixerTrack track, bool mute);
111 public static void message_parse_option_changed (Gst.Message message, out unowned Gst.MixerOptions options, string value);
112 public static void message_parse_options_list_changed (Gst.Message message, out unowned Gst.MixerOptions options);
113 public static void message_parse_record_toggled (Gst.Message message, out unowned Gst.MixerTrack track, bool record);
114 public static void message_parse_volume_changed (Gst.Message message, out unowned Gst.MixerTrack track, int volumes, int num_channels);
115 public void mixer_changed ();
116 public abstract void set_mute (Gst.MixerTrack track, bool mute);
117 public abstract void set_option (Gst.MixerOptions opts, string value);
118 public abstract void set_record (Gst.MixerTrack track, bool record);
119 public abstract void set_volume (Gst.MixerTrack track, int volumes);
121 public signal void mute_toggled (Gst.MixerTrack channel, bool mute);
123 public signal void option_changed (Gst.MixerOptions opts, string option);
125 public signal void record_toggled (Gst.MixerTrack channel, bool record);
127 public signal void volume_changed (Gst.MixerTrack channel, void* volumes);
129 [CCode (cheader_filename = "gst/interfaces/navigation.h")]
130 public interface Navigation : Gst.Element {
131 public static Gst.NavigationEventType event_get_type (Gst.Event event);
132 public static bool event_parse_command (Gst.Event event, Gst.NavigationCommand command);
133 public static bool event_parse_key_event (Gst.Event event, string key);
134 public static bool event_parse_mouse_button_event (Gst.Event event, int button, double x, double y);
135 public static bool event_parse_mouse_move_event (Gst.Event event, double x, double y);
136 public static Gst.NavigationMessageType message_get_type (Gst.Message message);
137 public static unowned Gst.Message message_new_angles_changed (Gst.Object src, uint cur_angle, uint n_angles);
138 public static unowned Gst.Message message_new_commands_changed (Gst.Object src);
139 public static unowned Gst.Message message_new_mouse_over (Gst.Object src, bool active);
140 public static bool message_parse_angles_changed (Gst.Message message, uint cur_angle, uint n_angles);
141 public static bool message_parse_mouse_over (Gst.Message message, bool active);
142 public static Gst.NavigationQueryType query_get_type (Gst.Query query);
143 public static unowned Gst.Query query_new_angles ();
144 public static unowned Gst.Query query_new_commands ();
145 public static bool query_parse_angles (Gst.Query query, uint cur_angle, uint n_angles);
146 public static bool query_parse_commands_length (Gst.Query query, uint n_cmds);
147 public static bool query_parse_commands_nth (Gst.Query query, uint nth, Gst.NavigationCommand cmd);
148 public static void query_set_angles (Gst.Query query, uint cur_angle, uint n_angles);
149 public static void query_set_commands (Gst.Query query, int n_cmds);
150 public static void query_set_commandsv (Gst.Query query, int n_cmds, Gst.NavigationCommand cmds);
151 public void send_command (Gst.NavigationCommand command);
152 public abstract void send_event (Gst.Structure structure);
153 public void send_key_event (string event, string key);
154 public void send_mouse_event (string event, int button, double x, double y);
156 [CCode (cheader_filename = "gst/interfaces/propertyprobe.h")]
157 public interface PropertyProbe {
158 public abstract unowned GLib.List<string> get_properties ();
159 public unowned GLib.ParamSpec get_property (string name);
160 public abstract unowned GLib.ValueArray get_values (GLib.ParamSpec pspec);
161 public unowned GLib.ValueArray get_values_name (string name);
162 public abstract bool needs_probe (GLib.ParamSpec pspec);
163 public bool needs_probe_name (string name);
164 public unowned GLib.ValueArray probe_and_get_values (GLib.ParamSpec pspec);
165 public unowned GLib.ValueArray probe_and_get_values_name (string name);
166 public abstract void probe_property (GLib.ParamSpec pspec);
167 public void probe_property_name (string name);
168 public signal void probe_needed (void* pspec);
170 [CCode (cheader_filename = "gst/interfaces/tuner.h")]
171 public interface Tuner : Gst.ImplementsInterface, Gst.Element {
172 public unowned Gst.TunerChannel find_channel_by_name (string channel);
173 public unowned Gst.TunerNorm find_norm_by_name (string norm);
174 public abstract unowned Gst.TunerChannel get_channel ();
175 public abstract ulong get_frequency (Gst.TunerChannel channel);
176 public abstract unowned Gst.TunerNorm get_norm ();
177 public abstract unowned GLib.List<Gst.TunerChannel> list_channels ();
178 public abstract unowned GLib.List<Gst.TunerNorm> list_norms ();
179 public abstract void set_channel (Gst.TunerChannel channel);
180 public abstract void set_frequency (Gst.TunerChannel channel, ulong frequency);
181 public abstract void set_norm (Gst.TunerNorm norm);
182 public abstract int signal_strength (Gst.TunerChannel channel);
183 public signal void channel_changed (Gst.TunerChannel channel);
185 public signal void frequency_changed (Gst.TunerChannel channel, ulong frequency);
186 public signal void norm_changed (Gst.TunerNorm norm);
188 public signal void signal_changed (Gst.TunerChannel channel, int @signal);
190 [CCode (cheader_filename = "gst/interfaces/videoorientation.h")]
191 public interface VideoOrientation : Gst.ImplementsInterface, Gst.Element {
192 public abstract bool get_hcenter (int center);
193 public abstract bool get_hflip (bool flip);
194 public abstract bool get_vcenter (int center);
195 public abstract bool get_vflip (bool flip);
196 public abstract bool set_hcenter (int center);
197 public abstract bool set_hflip (bool flip);
198 public abstract bool set_vcenter (int center);
199 public abstract bool set_vflip (bool flip);
201 [CCode (cheader_filename = "gst/interfaces/xoverlay.h", lower_case_csuffix = "x_overlay")]
202 public interface XOverlay : Gst.ImplementsInterface, Gst.Element {
203 public abstract void expose ();
204 public void got_xwindow_id (ulong xwindow_id);
205 public abstract void handle_events (bool handle_events);
206 public void prepare_xwindow_id ();
207 public abstract void set_xwindow_id (ulong xwindow_id);
209 [CCode (cprefix = "GST_COLOR_BALANCE_", cheader_filename = "gst/interfaces/colorbalance.h")]
210 public enum ColorBalanceType {
214 [CCode (cprefix = "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_", has_type_id = "0", cheader_filename = "gst/gst.h")]
215 public enum ColourToneMode {
226 [CCode (cprefix = "GST_PHOTOGRAPHY_FLASH_MODE_", has_type_id = "0", cheader_filename = "gst/gst.h")]
227 public enum FlashMode {
234 [CCode (cprefix = "GST_PHOTOGRAPHY_FOCUS_STATUS_", has_type_id = "0", cheader_filename = "gst/gst.h")]
235 public enum FocusStatus {
241 [CCode (cprefix = "GST_MIXER_FLAG_", cheader_filename = "gst/interfaces/mixer.h")]
243 public enum MixerFlags {
249 [CCode (cprefix = "GST_MIXER_MESSAGE_", cheader_filename = "gst/interfaces/mixer.h")]
250 public enum MixerMessageType {
256 OPTIONS_LIST_CHANGED,
259 [CCode (cprefix = "GST_MIXER_TRACK_", cheader_filename = "gst/interfaces/mixertrack.h")]
261 public enum MixerTrackFlags {
272 [CCode (cprefix = "GST_MIXER_", cheader_filename = "gst/interfaces/mixer.h")]
273 public enum MixerType {
277 [CCode (cprefix = "GST_NAVIGATION_COMMAND_", cheader_filename = "gst/gst.h")]
278 public enum NavigationCommand {
295 [CCode (cprefix = "GST_NAVIGATION_EVENT_", cheader_filename = "gst/gst.h")]
296 public enum NavigationEventType {
301 MOUSE_BUTTON_RELEASE,
305 [CCode (cprefix = "GST_NAVIGATION_MESSAGE_", cheader_filename = "gst/gst.h")]
306 public enum NavigationMessageType {
312 [CCode (cprefix = "GST_NAVIGATION_QUERY_", cheader_filename = "gst/gst.h")]
313 public enum NavigationQueryType {
318 [CCode (cprefix = "GST_PHOTOGRAPHY_CAPS_", has_type_id = "0", cheader_filename = "gst/gst.h")]
319 public enum PhotoCaps {
333 [CCode (cprefix = "GST_PHOTOGRAPHY_SHAKE_RISK_", has_type_id = "0", cheader_filename = "gst/gst.h")]
334 public enum PhotoShakeRisk {
339 [CCode (cprefix = "GST_PHOTOGRAPHY_SCENE_MODE_", has_type_id = "0", cheader_filename = "gst/gst.h")]
340 public enum SceneMode {
349 [CCode (cprefix = "GST_TUNER_CHANNEL_", cheader_filename = "gst/interfaces/tuner.h")]
351 public enum TunerChannelFlags {
357 [CCode (cprefix = "GST_PHOTOGRAPHY_WB_MODE_", has_type_id = "0", cheader_filename = "gst/gst.h")]
358 public enum WhiteBalanceMode {
366 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
367 public delegate void PhotoCapturePrepared (void* data, Gst.Caps configured_caps);
368 [CCode (cheader_filename = "gst/gst.h")]
369 public const string PHOTOGRAPHY_AUTOFOCUS_DONE;
370 [CCode (cheader_filename = "gst/gst.h")]
371 public const string PHOTOGRAPHY_SHAKE_RISK;
372 [CCode (cheader_filename = "gst/gst.h")]
373 public static GLib.Type colour_tone_mode_get_type ();
374 [CCode (cheader_filename = "gst/gst.h")]
375 public static GLib.Type flash_mode_get_type ();
376 [CCode (cheader_filename = "gst/gst.h")]
377 public static GLib.Type focus_status_get_type ();
378 [CCode (cheader_filename = "gst/gst.h")]
379 public static GLib.Type photo_caps_get_type ();
380 [CCode (cheader_filename = "gst/gst.h")]
381 public static GLib.Type photo_shake_risk_get_type ();
382 [CCode (cheader_filename = "gst/gst.h")]
383 public static GLib.Type scene_mode_get_type ();
384 [CCode (cheader_filename = "gst/gst.h")]
385 public static GLib.Type white_balance_mode_get_type ();