mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
8c5646ea9e
Original commit message from CVS: * configure.ac: * gst/Makefile.am: * gst/base.defs: * gst/gst-0.10.18.ignore: * gst/gst-0.10.20.ignore: * gst/gst-pb-0.10.18.ignore: * gst/gst-types.defs: * gst/gst.defs: * gst/gstversion.override.in: * gst/interfaces.defs: update upstream API changes
937 lines
19 KiB
Scheme
937 lines
19 KiB
Scheme
;; -*- scheme -*-
|
|
|
|
(include "xoverlay.defs")
|
|
|
|
;; object definitions ...
|
|
|
|
;;
|
|
;; interface definitions ...
|
|
;;
|
|
|
|
(define-interface ColorBalance
|
|
(in-module "Gst")
|
|
(c-name "GstColorBalance")
|
|
(gtype-id "GST_TYPE_COLOR_BALANCE")
|
|
(vtable "GstColorBalanceClass")
|
|
)
|
|
|
|
(define-object ColorBalanceChannel
|
|
(in-module "Gst")
|
|
(parent "GObject")
|
|
(c-name "GstColorBalanceChannel")
|
|
(gtype-id "GST_TYPE_COLOR_BALANCE_CHANNEL")
|
|
(fields
|
|
'("gchar*" "label")
|
|
'("gint" "min_value")
|
|
'("gint" "max_value")
|
|
)
|
|
)
|
|
|
|
(define-interface Mixer
|
|
(in-module "Gst")
|
|
(c-name "GstMixer")
|
|
(gtype-id "GST_TYPE_MIXER")
|
|
(fields
|
|
'("GstMixerType" "mixer_type")
|
|
)
|
|
(vtable "GstMixerClass")
|
|
)
|
|
|
|
(define-object MixerTrack
|
|
(in-module "Gst")
|
|
(parent "GObject")
|
|
(c-name "GstMixerTrack")
|
|
(gtype-id "GST_TYPE_MIXER_TRACK")
|
|
(fields
|
|
'("gchar*" "label")
|
|
'("GstMixerTrackFlags" "flags")
|
|
'("gint" "num_channels")
|
|
'("gint" "min_volume")
|
|
'("gint" "max_volume")
|
|
)
|
|
)
|
|
|
|
(define-object MixerOptions
|
|
(in-module "Gst")
|
|
(parent "GstMixerTrack")
|
|
(c-name "GstMixerOptions")
|
|
(gtype-id "GST_TYPE_MIXER_OPTIONS")
|
|
)
|
|
|
|
(define-interface Navigation
|
|
(in-module "Gst")
|
|
(c-name "GstNavigation")
|
|
(gtype-id "GST_TYPE_NAVIGATION")
|
|
(vtable "GstNavigationInterface")
|
|
)
|
|
|
|
(define-interface PropertyProbe
|
|
(in-module "Gst")
|
|
(c-name "GstPropertyProbe")
|
|
(gtype-id "GST_TYPE_PROPERTY_PROBE")
|
|
(vtable "GstPropertyProbeInterface")
|
|
)
|
|
|
|
(define-interface Tuner
|
|
(in-module "Gst")
|
|
(c-name "GstTuner")
|
|
(gtype-id "GST_TYPE_TUNER")
|
|
(vtable "GstTunerClass")
|
|
)
|
|
|
|
(define-object TunerChannel
|
|
(in-module "Gst")
|
|
(parent "GObject")
|
|
(c-name "GstTunerChannel")
|
|
(gtype-id "GST_TYPE_TUNER_CHANNEL")
|
|
(fields
|
|
'("gchar*" "label")
|
|
'("GstTunerChannelFlags" "flags")
|
|
'("gfloat" "freq_multiplicator")
|
|
'("gulong" "min_frequency")
|
|
'("gulong" "max_frequency")
|
|
'("gint" "min_signal")
|
|
'("gint" "max_signal"))
|
|
)
|
|
|
|
(define-object TunerNorm
|
|
(in-module "Gst")
|
|
(parent "GObject")
|
|
(c-name "GstTunerNorm")
|
|
(gtype-id "GST_TYPE_TUNER_NORM")
|
|
(fields
|
|
'("gchar*" "label")
|
|
'("GValue*" "framerate"))
|
|
)
|
|
|
|
;; Enumerations and flags ...
|
|
|
|
(define-enum ColorBalanceType
|
|
(in-module "Gst")
|
|
(c-name "GstColorBalanceType")
|
|
(gtype-id "GST_TYPE_COLOR_BALANCE_TYPE")
|
|
(values
|
|
'("hardware" "GST_COLOR_BALANCE_HARDWARE")
|
|
'("software" "GST_COLOR_BALANCE_SOFTWARE")
|
|
)
|
|
)
|
|
|
|
(define-enum MixerType
|
|
(in-module "Gst")
|
|
(c-name "GstMixerType")
|
|
(gtype-id "GST_TYPE_MIXER_TYPE")
|
|
(values
|
|
'("hardware" "GST_MIXER_HARDWARE")
|
|
'("software" "GST_MIXER_SOFTWARE")
|
|
)
|
|
)
|
|
|
|
(define-enum MixerMessageType
|
|
(in-module "Gst")
|
|
(c-name "GstMixerMessageType")
|
|
(gtype-id "GST_TYPE_MIXER_MESSAGE_TYPE")
|
|
(values
|
|
'("invalid" "GST_MIXER_MESSAGE_INVALID")
|
|
'("mute-toggled" "GST_MIXER_MESSAGE_MUTE_TOGGLED")
|
|
'("record-toggled" "GST_MIXER_MESSAGE_RECORD_TOGGLED")
|
|
'("volume-changed" "GST_MIXER_MESSAGE_VOLUME_CHANGED")
|
|
'("option-changed" "GST_MIXER_MESSAGE_OPTION_CHANGED")
|
|
)
|
|
)
|
|
|
|
(define-flags MixerFlags
|
|
(in-module "Gst")
|
|
(c-name "GstMixerFlags")
|
|
(gtype-id "GST_TYPE_MIXER_FLAGS")
|
|
(values
|
|
'("none" "GST_MIXER_FLAG_NONE")
|
|
'("auto-notifications" "GST_MIXER_FLAG_AUTO_NOTIFICATIONS")
|
|
)
|
|
)
|
|
|
|
(define-flags MixerTrackFlags
|
|
(in-module "Gst")
|
|
(c-name "GstMixerTrackFlags")
|
|
(gtype-id "GST_TYPE_MIXER_TRACK_FLAGS")
|
|
(values
|
|
'("input" "GST_MIXER_TRACK_INPUT")
|
|
'("output" "GST_MIXER_TRACK_OUTPUT")
|
|
'("mute" "GST_MIXER_TRACK_MUTE")
|
|
'("record" "GST_MIXER_TRACK_RECORD")
|
|
'("master" "GST_MIXER_TRACK_MASTER")
|
|
'("software" "GST_MIXER_TRACK_SOFTWARE")
|
|
)
|
|
)
|
|
|
|
(define-flags TunerChannelFlags
|
|
(in-module "Gst")
|
|
(c-name "GstTunerChannelFlags")
|
|
(gtype-id "GST_TYPE_TUNER_CHANNEL_FLAGS")
|
|
(values
|
|
'("input" "GST_TUNER_CHANNEL_INPUT")
|
|
'("output" "GST_TUNER_CHANNEL_OUTPUT")
|
|
'("frequency" "GST_TUNER_CHANNEL_FREQUENCY")
|
|
'("audio" "GST_TUNER_CHANNEL_AUDIO")
|
|
)
|
|
)
|
|
|
|
;; From /opt/gnome/include/gstreamer-0.7/gst/colorbalance/colorbalance.h
|
|
|
|
(define-function gst_color_balance_get_type
|
|
(c-name "gst_color_balance_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-method list_colorbalance_channels
|
|
(of-object "GstColorBalance")
|
|
(c-name "gst_color_balance_list_channels")
|
|
(return-type "const-GList*")
|
|
)
|
|
|
|
(define-method set_value
|
|
(of-object "GstColorBalance")
|
|
(c-name "gst_color_balance_set_value")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstColorBalanceChannel*" "channel")
|
|
'("gint" "value")
|
|
)
|
|
)
|
|
|
|
(define-method get_value
|
|
(of-object "GstColorBalance")
|
|
(c-name "gst_color_balance_get_value")
|
|
(return-type "gint")
|
|
(parameters
|
|
'("GstColorBalanceChannel*" "channel")
|
|
)
|
|
)
|
|
|
|
(define-method value_changed
|
|
(of-object "GstColorBalance")
|
|
(c-name "gst_color_balance_value_changed")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstColorBalanceChannel*" "channel")
|
|
'("gint" "value")
|
|
)
|
|
)
|
|
|
|
(define-virtual list_channels
|
|
(of-object "GstColorBalance")
|
|
(return-type "const-GList*")
|
|
)
|
|
|
|
(define-virtual set_value
|
|
(of-object "GstColorBalance")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstColorBalanceChannel*" "channel")
|
|
'("gint" "value")
|
|
)
|
|
)
|
|
|
|
(define-virtual get_value
|
|
(of-object "GstColorBalance")
|
|
(return-type "gint")
|
|
(parameters
|
|
'("GstColorBalanceChannel*" "channel")
|
|
)
|
|
)
|
|
|
|
|
|
|
|
;; From /opt/gnome/include/gstreamer-0.7/gst/mixer/mixer.h
|
|
|
|
(define-function gst_mixer_get_type
|
|
(c-name "gst_mixer_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-method list_tracks
|
|
(of-object "GstMixer")
|
|
(c-name "gst_mixer_list_tracks")
|
|
(return-type "const-GList*")
|
|
)
|
|
|
|
(define-method set_volume
|
|
(of-object "GstMixer")
|
|
(c-name "gst_mixer_set_volume")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstMixerTrack*" "track")
|
|
'("gint*" "volumes")
|
|
)
|
|
)
|
|
|
|
(define-method get_volume
|
|
(of-object "GstMixer")
|
|
(c-name "gst_mixer_get_volume")
|
|
(return-type "tuple")
|
|
(parameters
|
|
'("GstMixerTrack*" "track")
|
|
)
|
|
)
|
|
|
|
(define-method set_mute
|
|
(of-object "GstMixer")
|
|
(c-name "gst_mixer_set_mute")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstMixerTrack*" "track")
|
|
'("gboolean" "mute")
|
|
)
|
|
)
|
|
|
|
(define-method set_record
|
|
(of-object "GstMixer")
|
|
(c-name "gst_mixer_set_record")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstMixerTrack*" "track")
|
|
'("gboolean" "record")
|
|
)
|
|
)
|
|
|
|
(define-method set_option
|
|
(of-object "GstMixer")
|
|
(c-name "gst_mixer_set_option")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstMixerOptions*" "opts")
|
|
'("gchar*" "value")
|
|
)
|
|
)
|
|
|
|
(define-method get_option
|
|
(of-object "GstMixer")
|
|
(c-name "gst_mixer_get_option")
|
|
(return-type "const-gchar*")
|
|
(parameters
|
|
'("GstMixerOptions*" "opts")
|
|
)
|
|
)
|
|
|
|
(define-method mute_toggled
|
|
(of-object "GstMixer")
|
|
(c-name "gst_mixer_mute_toggled")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstMixerTrack*" "track")
|
|
'("gboolean" "mute")
|
|
)
|
|
)
|
|
|
|
(define-method record_toggled
|
|
(of-object "GstMixer")
|
|
(c-name "gst_mixer_record_toggled")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstMixerTrack*" "track")
|
|
'("gboolean" "record")
|
|
)
|
|
)
|
|
|
|
(define-method volume_changed
|
|
(of-object "GstMixer")
|
|
(c-name "gst_mixer_volume_changed")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstMixerTrack*" "track")
|
|
'("gint*" "volumes")
|
|
)
|
|
)
|
|
|
|
(define-method option_changed
|
|
(of-object "GstMixer")
|
|
(c-name "gst_mixer_option_changed")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstMixerOptions*" "opts")
|
|
'("gchar*" "value")
|
|
)
|
|
)
|
|
|
|
(define-method get_mixer_flags
|
|
(of-object "GstMixer")
|
|
(c-name "gst_mixer_get_mixer_flags")
|
|
(return-type "GstMixerFlags")
|
|
)
|
|
|
|
(define-function mixer_message_get_type
|
|
(c-name "gst_mixer_message_get_type")
|
|
(return-type "GstMixerMessageType")
|
|
(parameters
|
|
'("GstMessage*" "message")
|
|
)
|
|
)
|
|
|
|
(define-function mixer_message_parse_mute_toggled
|
|
(c-name "gst_mixer_message_parse_mute_toggled")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstMessage*" "message")
|
|
'("GstMixerTrack**" "track")
|
|
'("gboolean*" "mute")
|
|
)
|
|
)
|
|
|
|
(define-function mixer_message_parse_record_toggled
|
|
(c-name "gst_mixer_message_parse_record_toggled")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstMessage*" "message")
|
|
'("GstMixerTrack**" "track")
|
|
'("gboolean*" "record")
|
|
)
|
|
)
|
|
|
|
(define-function mixer_message_parse_volume_changed
|
|
(c-name "gst_mixer_message_parse_volume_changed")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstMessage*" "message")
|
|
'("GstMixerTrack**" "track")
|
|
'("gint**" "volumes")
|
|
'("gint*" "num_channels")
|
|
)
|
|
)
|
|
|
|
(define-function mixer_message_parse_option_changed
|
|
(c-name "gst_mixer_message_parse_option_changed")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstMessage*" "message")
|
|
'("GstMixerOptions**" "options")
|
|
'("const-gchar**" "value")
|
|
)
|
|
)
|
|
|
|
(define-function gst_mixer_message_parse_options_list_changed
|
|
(c-name "gst_mixer_message_parse_options_list_changed")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstMessage*" "message")
|
|
'("GstMixerOptions**" "options")
|
|
)
|
|
)
|
|
|
|
(define-virtual list_tracks
|
|
(of-object "GstMixer")
|
|
(return-type "const-GList*")
|
|
)
|
|
|
|
(define-virtual set_volume
|
|
(of-object "GstMixer")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstMixerTrack*" "track")
|
|
'("gint*" "volumes")
|
|
)
|
|
)
|
|
|
|
(define-virtual get_volume
|
|
(of-object "GstMixer")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstMixerTrack*" "track")
|
|
'("gint*" "volumes")
|
|
)
|
|
)
|
|
|
|
(define-virtual set_mute
|
|
(of-object "GstMixer")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstMixerTrack*" "track")
|
|
'("gboolean" "mute")
|
|
)
|
|
)
|
|
|
|
(define-virtual set_record
|
|
(of-object "GstMixer")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstMixerTrack*" "track")
|
|
'("gboolean" "record")
|
|
)
|
|
)
|
|
|
|
|
|
;; From ../gst-plugins-base/gst-libs/gst/interfaces/mixeroptions.h
|
|
|
|
(define-function gst_mixer_options_get_type
|
|
(c-name "gst_mixer_options_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-method get_values
|
|
(of-object "GstMixerOptions")
|
|
(c-name "gst_mixer_options_get_values")
|
|
(return-type "GList*")
|
|
)
|
|
|
|
|
|
;; From /opt/gnome/include/gstreamer-0.7/gst/navigation/navigation.h
|
|
|
|
(define-function gst_navigation_get_type
|
|
(c-name "gst_navigation_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-method send_event
|
|
(of-object "GstNavigation")
|
|
(c-name "gst_navigation_send_event")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstStructure*" "structure")
|
|
)
|
|
)
|
|
|
|
(define-method send_key_event
|
|
(of-object "GstNavigation")
|
|
(c-name "gst_navigation_send_key_event")
|
|
(return-type "none")
|
|
(parameters
|
|
'("const-char*" "event")
|
|
'("const-char*" "key")
|
|
)
|
|
)
|
|
|
|
(define-method send_mouse_event
|
|
(of-object "GstNavigation")
|
|
(c-name "gst_navigation_send_mouse_event")
|
|
(return-type "none")
|
|
(parameters
|
|
'("const-char*" "event")
|
|
'("int" "button")
|
|
'("double" "x")
|
|
'("double" "y")
|
|
)
|
|
)
|
|
|
|
(define-virtual send_event
|
|
(of-object "GstNavigation")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstStructure*" "structure")
|
|
)
|
|
)
|
|
|
|
;; From /opt/gnome/include/gstreamer-0.7/gst/propertyprobe/propertyprobe.h
|
|
|
|
(define-function gst_property_probe_get_type
|
|
(c-name "gst_property_probe_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-method probe_get_properties
|
|
(of-object "GstPropertyProbe")
|
|
(c-name "gst_property_probe_get_properties")
|
|
(return-type "const-GList*")
|
|
)
|
|
|
|
(define-method probe_get_property
|
|
(of-object "GstPropertyProbe")
|
|
(c-name "gst_property_probe_get_property")
|
|
(return-type "const-GParamSpec*")
|
|
(parameters
|
|
'("const-gchar*" "name")
|
|
)
|
|
)
|
|
|
|
(define-method probe_property
|
|
(of-object "GstPropertyProbe")
|
|
(c-name "gst_property_probe_probe_property")
|
|
(return-type "none")
|
|
(parameters
|
|
'("const-GParamSpec*" "pspec")
|
|
)
|
|
)
|
|
|
|
(define-method probe_property_name
|
|
(of-object "GstPropertyProbe")
|
|
(c-name "gst_property_probe_probe_property_name")
|
|
(return-type "none")
|
|
(parameters
|
|
'("const-gchar*" "name")
|
|
)
|
|
)
|
|
|
|
(define-method needs_probe
|
|
(of-object "GstPropertyProbe")
|
|
(c-name "gst_property_probe_needs_probe")
|
|
(return-type "gboolean")
|
|
(parameters
|
|
'("const-GParamSpec*" "pspec")
|
|
)
|
|
)
|
|
|
|
(define-method needs_probe_name
|
|
(of-object "GstPropertyProbe")
|
|
(c-name "gst_property_probe_needs_probe_name")
|
|
(return-type "gboolean")
|
|
(parameters
|
|
'("const-gchar*" "name")
|
|
)
|
|
)
|
|
|
|
(define-method get_values
|
|
(of-object "GstPropertyProbe")
|
|
(c-name "gst_property_probe_get_values")
|
|
(return-type "GValueArray*")
|
|
(parameters
|
|
'("const-GParamSpec*" "pspec")
|
|
)
|
|
)
|
|
|
|
(define-method probe_get_values_name
|
|
(of-object "GstPropertyProbe")
|
|
(c-name "gst_property_probe_get_values_name")
|
|
(return-type "GValueArray*")
|
|
(parameters
|
|
'("const-gchar*" "name")
|
|
)
|
|
)
|
|
|
|
(define-method probe_and_get_values
|
|
(of-object "GstPropertyProbe")
|
|
(c-name "gst_property_probe_probe_and_get_values")
|
|
(return-type "GValueArray*")
|
|
(parameters
|
|
'("const-GParamSpec*" "pspec")
|
|
)
|
|
)
|
|
|
|
(define-method probe_and_get_values_name
|
|
(of-object "GstPropertyProbe")
|
|
(c-name "gst_property_probe_probe_and_get_values_name")
|
|
(return-type "GValueArray*")
|
|
(parameters
|
|
'("const-gchar*" "name")
|
|
)
|
|
)
|
|
|
|
(define-virtual get_properties
|
|
(of-object "GstPropertyProbe")
|
|
(return-type "const-GList*")
|
|
)
|
|
|
|
(define-virtual needs_probe
|
|
(of-object "GstPropertyProbe")
|
|
(return-type "gboolean")
|
|
(parameters
|
|
'("guint" "prop_id")
|
|
'("const-GParamSpec*" "pspec")
|
|
)
|
|
)
|
|
|
|
(define-virtual probe_property
|
|
(of-object "GstPropertyProbe")
|
|
(return-type "none")
|
|
(parameters
|
|
'("guint" "prop_id")
|
|
'("const-GParamSpec*" "pspec")
|
|
)
|
|
)
|
|
|
|
(define-virtual get_values
|
|
(of-object "GstPropertyProbe")
|
|
(return-type "GValueArray*")
|
|
(parameters
|
|
'("guint" "prop_id")
|
|
'("const-GParamSpec*" "pspec")
|
|
)
|
|
)
|
|
|
|
|
|
;; From /opt/gnome/include/gstreamer-0.7/gst/tuner/tuner.h
|
|
|
|
(define-function gst_tuner_get_type
|
|
(c-name "gst_tuner_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-method list_channels
|
|
(of-object "GstTuner")
|
|
(c-name "gst_tuner_list_channels")
|
|
(return-type "const-GList*")
|
|
)
|
|
|
|
(define-method set_channel
|
|
(of-object "GstTuner")
|
|
(c-name "gst_tuner_set_channel")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstTunerChannel*" "channel")
|
|
)
|
|
)
|
|
|
|
(define-method get_channel
|
|
(of-object "GstTuner")
|
|
(c-name "gst_tuner_get_channel")
|
|
(return-type "GstTunerChannel*")
|
|
)
|
|
|
|
(define-method list_norms
|
|
(of-object "GstTuner")
|
|
(c-name "gst_tuner_list_norms")
|
|
(return-type "const-GList*")
|
|
)
|
|
|
|
(define-method set_norm
|
|
(of-object "GstTuner")
|
|
(c-name "gst_tuner_set_norm")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstTunerNorm*" "channel")
|
|
)
|
|
)
|
|
|
|
(define-method get_norm
|
|
(of-object "GstTuner")
|
|
(c-name "gst_tuner_get_norm")
|
|
(return-type "GstTunerNorm*")
|
|
)
|
|
|
|
(define-method set_frequency
|
|
(of-object "GstTuner")
|
|
(c-name "gst_tuner_set_frequency")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstTunerChannel*" "channel")
|
|
'("gulong" "frequency")
|
|
)
|
|
)
|
|
|
|
(define-method get_frequency
|
|
(of-object "GstTuner")
|
|
(c-name "gst_tuner_get_frequency")
|
|
(return-type "gulong")
|
|
(parameters
|
|
'("GstTunerChannel*" "channel")
|
|
)
|
|
)
|
|
|
|
(define-method signal_strength
|
|
(of-object "GstTuner")
|
|
(c-name "gst_tuner_signal_strength")
|
|
(return-type "gint")
|
|
(parameters
|
|
'("GstTunerChannel*" "channel")
|
|
)
|
|
)
|
|
|
|
(define-method find_norm_by_name
|
|
(of-object "GstTuner")
|
|
(c-name "gst_tuner_find_norm_by_name")
|
|
(return-type "GstTunerNorm*")
|
|
(parameters
|
|
'("gchar*" "norm")
|
|
)
|
|
)
|
|
|
|
(define-method find_channel_by_name
|
|
(of-object "GstTuner")
|
|
(c-name "gst_tuner_find_channel_by_name")
|
|
(return-type "GstTunerChannel*")
|
|
(parameters
|
|
'("gchar*" "channel")
|
|
)
|
|
)
|
|
|
|
(define-method channel_changed
|
|
(of-object "GstTuner")
|
|
(c-name "gst_tuner_channel_changed")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstTunerChannel*" "channel")
|
|
)
|
|
)
|
|
|
|
(define-method norm_changed
|
|
(of-object "GstTuner")
|
|
(c-name "gst_tuner_norm_changed")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstTunerNorm*" "norm")
|
|
)
|
|
)
|
|
|
|
(define-method frequency_changed
|
|
(of-object "GstTuner")
|
|
(c-name "gst_tuner_frequency_changed")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstTunerChannel*" "channel")
|
|
'("gulong" "frequency")
|
|
)
|
|
)
|
|
|
|
(define-method signal_changed
|
|
(of-object "GstTuner")
|
|
(c-name "gst_tuner_signal_changed")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstTunerChannel*" "channel")
|
|
'("gint" "signal")
|
|
)
|
|
)
|
|
|
|
(define-virtual list_channels
|
|
(of-object "GstTuner")
|
|
(return-type "const-GList*")
|
|
)
|
|
|
|
(define-virtual set_channel
|
|
(of-object "GstTuner")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstTunerChannel*" "channel")
|
|
)
|
|
)
|
|
|
|
(define-virtual get_channel
|
|
(of-object "GstTuner")
|
|
(return-type "GstTunerChannel*")
|
|
)
|
|
|
|
(define-virtual list_norms
|
|
(of-object "GstTuner")
|
|
(return-type "const-GList*")
|
|
)
|
|
|
|
(define-virtual set_norm
|
|
(of-object "GstTuner")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstTunerNorm*" "channel")
|
|
)
|
|
)
|
|
|
|
(define-virtual get_norm
|
|
(of-object "GstTuner")
|
|
(return-type "GstTunerNorm*")
|
|
)
|
|
|
|
(define-virtual set_frequency
|
|
(of-object "GstTuner")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GstTunerChannel*" "channel")
|
|
'("gulong" "frequency")
|
|
)
|
|
)
|
|
|
|
(define-virtual get_frequency
|
|
(of-object "GstTuner")
|
|
(return-type "gulong")
|
|
(parameters
|
|
'("GstTunerChannel*" "channel")
|
|
)
|
|
)
|
|
|
|
(define-virtual signal_strength
|
|
(of-object "GstTuner")
|
|
(return-type "gint")
|
|
(parameters
|
|
'("GstTunerChannel*" "channel")
|
|
)
|
|
)
|
|
|
|
;; -*- scheme -*-
|
|
; object definitions ...
|
|
;; Enumerations and flags ...
|
|
|
|
|
|
;; From videoorientation.h
|
|
|
|
;;
|
|
;; interface definitions ...
|
|
;;
|
|
|
|
(define-interface VideoOrientation
|
|
(in-module "Gst")
|
|
(c-name "GstVideoOrientation")
|
|
(gtype-id "GST_TYPE_VIDEO_ORIENTATION")
|
|
(vtable "GstVideoOrientationClass")
|
|
)
|
|
|
|
(define-function gst_video_orientation_get_type
|
|
(c-name "gst_video_orientation_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-method get_hflip
|
|
(of-object "GstVideoOrientation")
|
|
(c-name "gst_video_orientation_get_hflip")
|
|
(return-type "gboolean")
|
|
(parameters
|
|
'("gboolean*" "flip")
|
|
)
|
|
)
|
|
|
|
(define-method get_vflip
|
|
(of-object "GstVideoOrientation")
|
|
(c-name "gst_video_orientation_get_vflip")
|
|
(return-type "gboolean")
|
|
(parameters
|
|
'("gboolean*" "flip")
|
|
)
|
|
)
|
|
|
|
(define-method get_hcenter
|
|
(of-object "GstVideoOrientation")
|
|
(c-name "gst_video_orientation_get_hcenter")
|
|
(return-type "gboolean")
|
|
(parameters
|
|
'("gint*" "center")
|
|
)
|
|
)
|
|
|
|
(define-method get_vcenter
|
|
(of-object "GstVideoOrientation")
|
|
(c-name "gst_video_orientation_get_vcenter")
|
|
(return-type "gboolean")
|
|
(parameters
|
|
'("gint*" "center")
|
|
)
|
|
)
|
|
|
|
(define-method set_hflip
|
|
(of-object "GstVideoOrientation")
|
|
(c-name "gst_video_orientation_set_hflip")
|
|
(return-type "gboolean")
|
|
(parameters
|
|
'("gboolean" "flip")
|
|
)
|
|
)
|
|
|
|
(define-method set_vflip
|
|
(of-object "GstVideoOrientation")
|
|
(c-name "gst_video_orientation_set_vflip")
|
|
(return-type "gboolean")
|
|
(parameters
|
|
'("gboolean" "flip")
|
|
)
|
|
)
|
|
|
|
(define-method set_hcenter
|
|
(of-object "GstVideoOrientation")
|
|
(c-name "gst_video_orientation_set_hcenter")
|
|
(return-type "gboolean")
|
|
(parameters
|
|
'("gint" "center")
|
|
)
|
|
)
|
|
|
|
(define-method set_vcenter
|
|
(of-object "GstVideoOrientation")
|
|
(c-name "gst_video_orientation_set_vcenter")
|
|
(return-type "gboolean")
|
|
(parameters
|
|
'("gint" "center")
|
|
)
|
|
)
|
|
|
|
|