gnomemm r1910 - in gstreamermm/trunk: . gstreamer/src gstreamerbase/src



Author: jaalburqu
Date: Mon Dec 22 23:03:43 2008
New Revision: 1910
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1910&view=rev

Log:
Increased version.

Modified:
   gstreamermm/trunk/ChangeLog
   gstreamermm/trunk/NEWS
   gstreamermm/trunk/README
   gstreamermm/trunk/configure.ac
   gstreamermm/trunk/gstreamer/src/element.hg
   gstreamermm/trunk/gstreamer/src/generate-methods.sh
   gstreamermm/trunk/gstreamer/src/index.ccg
   gstreamermm/trunk/gstreamer/src/taglist.hg
   gstreamermm/trunk/gstreamerbase/src/generate-methods.sh
   gstreamermm/trunk/gstreamerbase/src/gstbase_methods.defs

Modified: gstreamermm/trunk/NEWS
==============================================================================
--- gstreamermm/trunk/NEWS	(original)
+++ gstreamermm/trunk/NEWS	Mon Dec 22 23:03:43 2008
@@ -1,3 +1,33 @@
+0.9.8 (unstable):
+
+* Added Gst::Event::get_flags().
+* Added default name overloads for Gst::Bin::create(), Gst::Pad::create() and
+  Gst::Pipeline::create().
+* Moved const tags to namespace Gst::Tag.
+* Added a generic INSTALL file and updated the README to fix bug #556570.
+* Removed gstreamermm dependency on gstreamerbasemm to fix bug #560601.  Added
+  GstBase::init*() methods with docs that initialize both gstreamermm and
+  gstreamerbasemm to compensate so that two init() calls (one for gstreamermm
+  and another for gstreamerbasemm) are not needed.
+* Added base classes AudioFilter, AudioSink, AudioSrc, BaseAudioSink,
+  BaseAudioSrc and CddaBaseSrc in gstreamerbasemm from which many plug-ins
+  derive.
+* Added the following core plug-ins: Gst::CapsFilter, Gst::FakeSink,
+  Gst::FakeSrc, Gst::FdSink, Gst::FdSrc, Gst::FileSink, Gst::FileSrc,
+  Gst::Identity, Gst::MultiQueue, Gst::Queue, Gst::Tee and Gst::TypeFind.
+* Added the following base plug-ins: GstBase::Adder, GstBase::AlsaMixer,
+  GstBase::AlsaSink, GstBase::AlsaSrc, GstBase::AudioConvert,
+  GstBase::AudioResample, GstBase::TestSrc, GstBase::CdParanoiaSrc,
+  GstBase::ClockOverlay, GstBase::DecodeBin, Gst::FfmpegColorSpace,
+  GstBase::GioSink, GstBase::GioSrc, GstBase::GioStreamSink,
+  GstBase::GioStreamSrc, GstBase::OggDemux, GstBase::OggMux, GstBase::PlayBin2,
+  GstBase::TextOverlay, GstBase::TextRenderer, GstBase::TheoraDec,
+  GstBase::TheoraEnc, GstBase::TimeOverlay, GstBase::VideoRate,
+  GstBase::VideoScale, GstBase, VideoTestSrc, GstBase::Volume,
+  GstBase::VorbisDec, GstBase::VorbisParse, GstBase::VorbisTag,
+  GstBase::XImageSink and GstBase::XvImageSink.
+* Modified examples to use the plug-ins where possible; added plug-in tests.
+
 0.9.7 (unstable):
 
 * Added AudioClock.

Modified: gstreamermm/trunk/README
==============================================================================
--- gstreamermm/trunk/README	(original)
+++ gstreamermm/trunk/README	Mon Dec 22 23:03:43 2008
@@ -3,6 +3,9 @@
 applications that work with multi-media.  For the API docs, see the
 docs/reference/html directory after building.  
 
+Discussion of gstreamermm takes place on the gtkmm list.  Subscribing can be
+done at http://mail.gnome.org/mailman/listinfo/gtkmm-list.  
+
 Bugs may be reported using GNOME's Bugzilla tool at http://bugzilla.gnome.org/
 (select the gnomemm component of the bindings classification and then report
-the bug under the gstreamermm component.
+the bug under the gstreamermm component).

Modified: gstreamermm/trunk/configure.ac
==============================================================================
--- gstreamermm/trunk/configure.ac	(original)
+++ gstreamermm/trunk/configure.ac	Mon Dec 22 23:03:43 2008
@@ -15,7 +15,7 @@
 #We use pushdef here because we can't use shell variables before AC_INIT, but we want to use a variable with AC_INIT:
 pushdef([GSTREAMERMM_MAJOR_VERSION],     [0])
 pushdef([GSTREAMERMM_MINOR_VERSION],     [9])
-pushdef([GSTREAMERMM_MICRO_VERSION],     [7])
+pushdef([GSTREAMERMM_MICRO_VERSION],     [8])
 pushdef([GSTREAMERMM_EXTRA_VERSION],     [])
 pushdef([GSTREAMERMM_VERSION], GSTREAMERMM_MAJOR_VERSION.GSTREAMERMM_MINOR_VERSION.GSTREAMERMM_MICRO_VERSION[]GSTREAMERMM_EXTRA_VERSION)
 AC_INIT([gstreamermm], GSTREAMERMM_VERSION, [gtkmm-list gnome org])

Modified: gstreamermm/trunk/gstreamer/src/element.hg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/element.hg	(original)
+++ gstreamermm/trunk/gstreamer/src/element.hg	Mon Dec 22 23:03:43 2008
@@ -360,7 +360,7 @@
   //way the code is generated will have to be tweaked.
   //
 //#m4 _CONVERSION(`Glib::ArrayHandle<QueryType>',`const GstQueryType*',`(GstQueryType*)(($3).data())')
-  // /** Get the supported GstQueryType of this element.
+  // /** Get the supported Gst::QueryType of this element.
   //  */
   // _WRAP_VFUNC(Glib::ArrayHandle<QueryType> get_query_types(), "get_query_types")
 

Modified: gstreamermm/trunk/gstreamer/src/generate-methods.sh
==============================================================================
--- gstreamermm/trunk/gstreamer/src/generate-methods.sh	(original)
+++ gstreamermm/trunk/gstreamer/src/generate-methods.sh	Mon Dec 22 23:03:43 2008
@@ -15,7 +15,7 @@
 DIR=`dirname "$0"`
 
 h2def.py "$PREFIX"/gst/*.h "$PREFIX"/libs/gst/{base,controller,dataprotocol,\
-net,check}/*.h "$PREFIX"/plugins/elements/*.h > "$DIR/gst_methods.defs"
+net,check}/*.h > "$DIR/gst_methods.defs"
 
 #Patch generated file.
 (cd "$DIR" && patch -p0 < gst_methods.defs.patch)

Modified: gstreamermm/trunk/gstreamer/src/index.ccg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/index.ccg	(original)
+++ gstreamermm/trunk/gstreamer/src/index.ccg	Mon Dec 22 23:03:43 2008
@@ -75,7 +75,6 @@
     Glib::exception_handlers_invoke();
   }
   #endif //GLIBMM_EXCEPTIONS_ENABLED
-
 }
 
 static void Index_Resolver_gstreamermm_callback_destroy(void* data)

Modified: gstreamermm/trunk/gstreamer/src/taglist.hg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/taglist.hg	(original)
+++ gstreamermm/trunk/gstreamer/src/taglist.hg	Mon Dec 22 23:03:43 2008
@@ -366,7 +366,9 @@
           gst_tag_list_get_float,
           gst_tag_list_get_double,
           gst_tag_list_get_string,
-          gst_tag_list_get_date)
+          gst_tag_list_get_date,
+          gst_tag_list_get_pointer,
+          gst_tag_list_get_pointer_index)
 
   /** Gets the value that is at the given index for the given tag.
    * @param tag The tag to read out.

Modified: gstreamermm/trunk/gstreamerbase/src/generate-methods.sh
==============================================================================
--- gstreamermm/trunk/gstreamerbase/src/generate-methods.sh	(original)
+++ gstreamermm/trunk/gstreamerbase/src/generate-methods.sh	Mon Dec 22 23:03:43 2008
@@ -15,5 +15,4 @@
 DIR=`dirname "$0"`
 
 h2def.py "$PREFIX"/gst-libs/gst/{audio,cdda,fft,floatcast,interfaces,netbuffer,\
-riff,rtp,rtsp,sdp,tag,pbutils,video}/*.h "$PREFIX"/gst/*/*.h \
-"$PREFIX"/ext/*/*.h > "$DIR/gstbase_methods.defs"
+riff,rtp,rtsp,sdp,tag,pbutils,video}/*.h > "$DIR/gstbase_methods.defs"

Modified: gstreamermm/trunk/gstreamerbase/src/gstbase_methods.defs
==============================================================================
--- gstreamermm/trunk/gstreamerbase/src/gstbase_methods.defs	(original)
+++ gstreamermm/trunk/gstreamerbase/src/gstbase_methods.defs	Mon Dec 22 23:03:43 2008
@@ -1,19 +1,5 @@
 ;; -*- scheme -*-
 ; object definitions ...
-(define-object Adder
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstAdder")
-  (gtype-id "GST_TYPE_ADDER")
-)
-
-(define-object AlsaMixerElement
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstAlsaMixerElement")
-  (gtype-id "GST_TYPE_ALSA_MIXER_ELEMENT")
-)
-
 (define-object AudioClock
   (in-module "Gst")
   (parent "GstSystemClock")
@@ -21,13 +7,6 @@
   (gtype-id "GST_TYPE_AUDIO_CLOCK")
 )
 
-(define-object AudioConvert
-  (in-module "Gst")
-  (parent "GstBaseTransform")
-  (c-name "GstAudioConvert")
-  (gtype-id "GST_TYPE_AUDIO_CONVERT")
-)
-
 (define-object AudioFilter
   (in-module "Gst")
   (parent "GstBaseTransform")
@@ -35,13 +14,6 @@
   (gtype-id "GST_TYPE_AUDIO_FILTER")
 )
 
-(define-object AudioTestSrc
-  (in-module "Gst")
-  (parent "GstBaseSrc")
-  (c-name "GstAudioTestSrc")
-  (gtype-id "GST_TYPE_AUDIO_TEST_SRC")
-)
-
 (define-object BaseAudioSink
   (in-module "Gst")
   (parent "GstBaseSink")
@@ -56,13 +28,6 @@
   (gtype-id "GST_TYPE_AUDIO_SINK")
 )
 
-(define-object AlsaSink
-  (in-module "Gst")
-  (parent "GstAudioSink")
-  (c-name "GstAlsaSink")
-  (gtype-id "GST_TYPE_ALSA_SINK")
-)
-
 (define-object BaseAudioSrc
   (in-module "Gst")
   (parent "GstPushSrc")
@@ -77,13 +42,6 @@
   (gtype-id "GST_TYPE_AUDIO_SRC")
 )
 
-(define-object AlsaSrc
-  (in-module "Gst")
-  (parent "GstAudioSrc")
-  (c-name "GstAlsaSrc")
-  (gtype-id "GST_TYPE_ALSA_SRC")
-)
-
 (define-object BaseRTPDepayload
   (in-module "Gst")
   (parent "GstElement")
@@ -112,13 +70,6 @@
   (gtype-id "GST_TYPE_CDDA_BASE_SRC")
 )
 
-(define-object CdParanoiaSrc
-  (in-module "Gst")
-  (parent "GstCddaBaseSrc")
-  (c-name "GstCdParanoiaSrc")
-  (gtype-id "GST_TYPE_CD_PARANOIA_SRC")
-)
-
 (define-object ColorBalance
   (in-module "Gst")
   (c-name "GstColorBalance")
@@ -139,83 +90,6 @@
   (gtype-id "GST_TYPE_COLOR_BALANCE_CHANNEL")
 )
 
-(define-object FFMpegCsp
-  (in-module "Gst")
-  (parent "GstBaseTransform")
-  (c-name "GstFFMpegCsp")
-  (gtype-id "GST_TYPE_FF_MPEG_CSP")
-)
-
-(define-object GDPDepay
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstGDPDepay")
-  (gtype-id "GST_TYPE_GDP_DEPAY")
-)
-
-(define-object GDPPay
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstGDPPay")
-  (gtype-id "GST_TYPE_GDP_PAY")
-)
-
-(define-object GioBaseSink
-  (in-module "Gst")
-  (parent "GstBaseSink")
-  (c-name "GstGioBaseSink")
-  (gtype-id "GST_TYPE_GIO_BASE_SINK")
-)
-
-(define-object GioBaseSrc
-  (in-module "Gst")
-  (parent "GstBaseSrc")
-  (c-name "GstGioBaseSrc")
-  (gtype-id "GST_TYPE_GIO_BASE_SRC")
-)
-
-(define-object GioSink
-  (in-module "Gst")
-  (parent "GstGioBaseSink")
-  (c-name "GstGioSink")
-  (gtype-id "GST_TYPE_GIO_SINK")
-)
-
-(define-object GioSrc
-  (in-module "Gst")
-  (parent "GstGioBaseSrc")
-  (c-name "GstGioSrc")
-  (gtype-id "GST_TYPE_GIO_SRC")
-)
-
-(define-object GioStreamSink
-  (in-module "Gst")
-  (parent "GstGioBaseSink")
-  (c-name "GstGioStreamSink")
-  (gtype-id "GST_TYPE_GIO_STREAM_SINK")
-)
-
-(define-object GioStreamSrc
-  (in-module "Gst")
-  (parent "GstGioBaseSrc")
-  (c-name "GstGioStreamSrc")
-  (gtype-id "GST_TYPE_GIO_STREAM_SRC")
-)
-
-(define-object GnomeVFSSink
-  (in-module "Gst")
-  (parent "GstBaseSink")
-  (c-name "GstGnomeVFSSink")
-  (gtype-id "GST_TYPE_GNOME_VFS_SINK")
-)
-
-(define-object GnomeVFSSrc
-  (in-module "Gst")
-  (parent "GstBaseSrc")
-  (c-name "GstGnomeVFSSrc")
-  (gtype-id "GST_TYPE_GNOME_VFS_SRC")
-)
-
 (define-object Mixer
   (in-module "Gst")
   (c-name "GstMixer")
@@ -236,27 +110,6 @@
   (gtype-id "GST_TYPE_MIXER_OPTIONS")
 )
 
-(define-object AlsaMixerOptions
-  (in-module "Gst")
-  (parent "GstMixerOptions")
-  (c-name "GstAlsaMixerOptions")
-  (gtype-id "GST_TYPE_ALSA_MIXER_OPTIONS")
-)
-
-(define-object AlsaMixerTrack
-  (in-module "Gst")
-  (parent "GstMixerTrack")
-  (c-name "GstAlsaMixerTrack")
-  (gtype-id "GST_TYPE_ALSA_MIXER_TRACK")
-)
-
-(define-object MultiFdSink
-  (in-module "Gst")
-  (parent "GstBaseSink")
-  (c-name "GstMultiFdSink")
-  (gtype-id "GST_TYPE_MULTI_FD_SINK")
-)
-
 (define-object NetBuffer
   (in-module "Gst")
   (parent "GstBuffer")
@@ -264,34 +117,6 @@
   (gtype-id "GST_TYPE_NET_BUFFER")
 )
 
-(define-object OggDemux
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstOggDemux")
-  (gtype-id "GST_TYPE_OGG_DEMUX")
-)
-
-(define-object OggMux
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstOggMux")
-  (gtype-id "GST_TYPE_OGG_MUX")
-)
-
-(define-object OggPad
-  (in-module "Gst")
-  (parent "GstPad")
-  (c-name "GstOggPad")
-  (gtype-id "GST_TYPE_OGG_PAD")
-)
-
-(define-object PlayBaseBin
-  (in-module "Gst")
-  (parent "GstPipeline")
-  (c-name "GstPlayBaseBin")
-  (gtype-id "GST_TYPE_PLAY_BASE_BIN")
-)
-
 (define-object RingBuffer
   (in-module "Gst")
   (parent "GstObject")
@@ -299,69 +124,6 @@
   (gtype-id "GST_TYPE_RING_BUFFER")
 )
 
-(define-object SpeexResample
-  (in-module "Gst")
-  (parent "GstBaseTransform")
-  (c-name "GstSpeexResample")
-  (gtype-id "GST_TYPE_SPEEX_RESAMPLE")
-)
-
-(define-object SsaParse
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstSsaParse")
-  (gtype-id "GST_TYPE_SSA_PARSE")
-)
-
-(define-object StreamInfo
-  (in-module "Gst")
-  (parent "GObject")
-  (c-name "GstStreamInfo")
-  (gtype-id "GST_TYPE_STREAM_INFO")
-)
-
-(define-object StreamSelector
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstStreamSelector")
-  (gtype-id "GST_TYPE_STREAM_SELECTOR")
-)
-
-(define-object SubParse
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstSubParse")
-  (gtype-id "GST_TYPE_SUB_PARSE")
-)
-
-(define-object TCPClientSink
-  (in-module "Gst")
-  (parent "GstBaseSink")
-  (c-name "GstTCPClientSink")
-  (gtype-id "GST_TYPE_TCP_CLIENT_SINK")
-)
-
-(define-object TCPClientSrc
-  (in-module "Gst")
-  (parent "GstPushSrc")
-  (c-name "GstTCPClientSrc")
-  (gtype-id "GST_TYPE_TCP_CLIENT_SRC")
-)
-
-(define-object TCPServerSink
-  (in-module "Gst")
-  (parent "GstMultiFdSink")
-  (c-name "GstTCPServerSink")
-  (gtype-id "GST_TYPE_TCP_SERVER_SINK")
-)
-
-(define-object TCPServerSrc
-  (in-module "Gst")
-  (parent "GstPushSrc")
-  (c-name "GstTCPServerSrc")
-  (gtype-id "GST_TYPE_TCP_SERVER_SRC")
-)
-
 (define-object TagDemux
   (in-module "Gst")
   (parent "GstElement")
@@ -369,55 +131,6 @@
   (gtype-id "GST_TYPE_TAG_DEMUX")
 )
 
-(define-object TextOverlay
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstTextOverlay")
-  (gtype-id "GST_TYPE_TEXT_OVERLAY")
-)
-
-(define-object ClockOverlay
-  (in-module "Gst")
-  (parent "GstTextOverlay")
-  (c-name "GstClockOverlay")
-  (gtype-id "GST_TYPE_CLOCK_OVERLAY")
-)
-
-(define-object TextRender
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstTextRender")
-  (gtype-id "GST_TYPE_TEXT_RENDER")
-)
-
-(define-object TheoraDec
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstTheoraDec")
-  (gtype-id "GST_TYPE_THEORA_DEC")
-)
-
-(define-object TheoraEnc
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstTheoraEnc")
-  (gtype-id "GST_TYPE_THEORA_ENC")
-)
-
-(define-object TheoraParse
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstTheoraParse")
-  (gtype-id "GST_TYPE_THEORA_PARSE")
-)
-
-(define-object TimeOverlay
-  (in-module "Gst")
-  (parent "GstTextOverlay")
-  (c-name "GstTimeOverlay")
-  (gtype-id "GST_TYPE_TIME_OVERLAY")
-)
-
 (define-object Tuner
   (in-module "Gst")
   (c-name "GstTuner")
@@ -459,20 +172,6 @@
   (gtype-id "GST_TYPE_VIDEO_FILTER")
 )
 
-(define-object VideoRate
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstVideoRate")
-  (gtype-id "GST_TYPE_VIDEO_RATE")
-)
-
-(define-object VideoScale
-  (in-module "Gst")
-  (parent "GstBaseTransform")
-  (c-name "GstVideoScale")
-  (gtype-id "GST_TYPE_VIDEO_SCALE")
-)
-
 (define-object VideoSink
   (in-module "Gst")
   (parent "GstBaseSink")
@@ -480,48 +179,6 @@
   (gtype-id "GST_TYPE_VIDEO_SINK")
 )
 
-(define-object VideoTestSrc
-  (in-module "Gst")
-  (parent "GstPushSrc")
-  (c-name "GstVideoTestSrc")
-  (gtype-id "GST_TYPE_VIDEO_TEST_SRC")
-)
-
-(define-object Volume
-  (in-module "Gst")
-  (parent "GstAudioFilter")
-  (c-name "GstVolume")
-  (gtype-id "GST_TYPE_VOLUME")
-)
-
-(define-object VorbisDec
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstVorbisDec")
-  (gtype-id "GST_TYPE_VORBIS_DEC")
-)
-
-(define-object VorbisEnc
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstVorbisEnc")
-  (gtype-id "GST_TYPE_VORBIS_ENC")
-)
-
-(define-object VorbisParse
-  (in-module "Gst")
-  (parent "GstElement")
-  (c-name "GstVorbisParse")
-  (gtype-id "GST_TYPE_VORBIS_PARSE")
-)
-
-(define-object VorbisTag
-  (in-module "Gst")
-  (parent "GstVorbisParse")
-  (c-name "GstVorbisTag")
-  (gtype-id "GST_TYPE_VORBIS_TAG")
-)
-
 (define-object XOverlay
   (in-module "Gst")
   (c-name "GstXOverlay")
@@ -1230,476 +887,71 @@
   )
 )
 
-(define-enum AdderFormat
-  (in-module "Gst")
-  (c-name "GstAdderFormat")
-  (gtype-id "GST_TYPE_ADDER_FORMAT")
-  (values
-    '("unset" "GST_ADDER_FORMAT_UNSET")
-    '("int" "GST_ADDER_FORMAT_INT")
-    '("float" "GST_ADDER_FORMAT_FLOAT")
-  )
-)
 
-(define-enum AudioConvertDithering
-  (in-module "Gst")
-  (c-name "GstAudioConvertDithering")
-  (gtype-id "GST_TYPE_AUDIO_CONVERT_DITHERING")
-  (values
-    '("none" "DITHER_NONE")
-    '("rpdf" "DITHER_RPDF")
-    '("tpdf" "DITHER_TPDF")
-    '("tpdf-hf" "DITHER_TPDF_HF")
-  )
-)
+;; From audio.h
 
-(define-enum AudioConvertNoiseShaping
-  (in-module "Gst")
-  (c-name "GstAudioConvertNoiseShaping")
-  (gtype-id "GST_TYPE_AUDIO_CONVERT_NOISE_SHAPING")
-  (values
-    '("none" "NOISE_SHAPING_NONE")
-    '("error-feedback" "NOISE_SHAPING_ERROR_FEEDBACK")
-    '("simple" "NOISE_SHAPING_SIMPLE")
-    '("medium" "NOISE_SHAPING_MEDIUM")
-    '("high" "NOISE_SHAPING_HIGH")
+(define-function gst_audio_frame_byte_size
+  (c-name "gst_audio_frame_byte_size")
+  (return-type "int")
+  (parameters
+    '("GstPad*" "pad")
   )
 )
 
-(define-enum AudioTestSrcWave
-  (in-module "Gst")
-  (c-name "GstAudioTestSrcWave")
-  (gtype-id "GST_TYPE_AUDIO_TEST_SRC_WAVE")
-  (values
-    '("sine" "GST_AUDIO_TEST_SRC_WAVE_SINE")
-    '("square" "GST_AUDIO_TEST_SRC_WAVE_SQUARE")
-    '("saw" "GST_AUDIO_TEST_SRC_WAVE_SAW")
-    '("triangle" "GST_AUDIO_TEST_SRC_WAVE_TRIANGLE")
-    '("silence" "GST_AUDIO_TEST_SRC_WAVE_SILENCE")
-    '("white-noise" "GST_AUDIO_TEST_SRC_WAVE_WHITE_NOISE")
-    '("pink-noise" "GST_AUDIO_TEST_SRC_WAVE_PINK_NOISE")
-    '("sine-tab" "GST_AUDIO_TEST_SRC_WAVE_SINE_TAB")
-    '("ticks" "GST_AUDIO_TEST_SRC_WAVE_TICKS")
+(define-function gst_audio_frame_length
+  (c-name "gst_audio_frame_length")
+  (return-type "long")
+  (parameters
+    '("GstPad*" "pad")
+    '("GstBuffer*" "buf")
   )
 )
 
-(define-enum AudioTestSrcFormat
-  (in-module "Gst")
-  (c-name "GstAudioTestSrcFormat")
-  (gtype-id "GST_TYPE_AUDIO_TEST_SRC_FORMAT")
-  (values
-    '("none" "GST_AUDIO_TEST_SRC_FORMAT_NONE")
-    '("s16" "GST_AUDIO_TEST_SRC_FORMAT_S16")
-    '("s32" "GST_AUDIO_TEST_SRC_FORMAT_S32")
-    '("f32" "GST_AUDIO_TEST_SRC_FORMAT_F32")
-    '("f64" "GST_AUDIO_TEST_SRC_FORMAT_F64")
+(define-function gst_audio_duration_from_pad_buffer
+  (c-name "gst_audio_duration_from_pad_buffer")
+  (return-type "GstClockTime")
+  (parameters
+    '("GstPad*" "pad")
+    '("GstBuffer*" "buf")
   )
 )
 
-(define-enum GDPDepayState
-  (in-module "Gst")
-  (c-name "GstGDPDepayState")
-  (gtype-id "GST_TYPE_GDP_DEPAY_STATE")
-  (values
-    '("header" "GST_GDP_DEPAY_STATE_HEADER")
-    '("payload" "GST_GDP_DEPAY_STATE_PAYLOAD")
-    '("buffer" "GST_GDP_DEPAY_STATE_BUFFER")
-    '("caps" "GST_GDP_DEPAY_STATE_CAPS")
-    '("event" "GST_GDP_DEPAY_STATE_EVENT")
+(define-function gst_audio_is_buffer_framed
+  (c-name "gst_audio_is_buffer_framed")
+  (return-type "gboolean")
+  (parameters
+    '("GstPad*" "pad")
+    '("GstBuffer*" "buf")
   )
 )
 
-(define-flags FactoryListType
-  (in-module "Gst")
-  (c-name "GstFactoryListType")
-  (gtype-id "GST_TYPE_FACTORY_LIST_TYPE")
-  (values
-    '("decoder" "GST_FACTORY_LIST_DECODER")
-    '("encoder" "GST_FACTORY_LIST_ENCODER")
-    '("sink" "GST_FACTORY_LIST_SINK")
-    '("src" "GST_FACTORY_LIST_SRC")
+(define-function gst_audio_structure_set_int
+  (c-name "gst_audio_structure_set_int")
+  (return-type "none")
+  (parameters
+    '("GstStructure*" "structure")
+    '("GstAudioFieldFlag" "flag")
   )
 )
 
-(define-enum AutoplugSelectResult
-  (in-module "Gst")
-  (c-name "GstAutoplugSelectResult")
-  (gtype-id "GST_TYPE_AUTOPLUG_SELECT_RESULT")
-  (values
-    '("try" "GST_AUTOPLUG_SELECT_TRY")
-    '("expose" "GST_AUTOPLUG_SELECT_EXPOSE")
-    '("skip" "GST_AUTOPLUG_SELECT_SKIP")
+(define-function gst_audio_buffer_clip
+  (c-name "gst_audio_buffer_clip")
+  (return-type "GstBuffer*")
+  (parameters
+    '("GstBuffer*" "buffer")
+    '("GstSegment*" "segment")
+    '("gint" "rate")
+    '("gint" "frame_size")
   )
 )
 
-(define-flags PlayFlags
-  (in-module "Gst")
-  (c-name "GstPlayFlags")
-  (gtype-id "GST_TYPE_PLAY_FLAGS")
-  (values
-    '("video" "GST_PLAY_FLAG_VIDEO")
-    '("audio" "GST_PLAY_FLAG_AUDIO")
-    '("text" "GST_PLAY_FLAG_TEXT")
-    '("vis" "GST_PLAY_FLAG_VIS")
-    '("soft-volume" "GST_PLAY_FLAG_SOFT_VOLUME")
-    '("native-audio" "GST_PLAY_FLAG_NATIVE_AUDIO")
-    '("native-video" "GST_PLAY_FLAG_NATIVE_VIDEO")
-  )
-)
 
-(define-enum PlaySinkType
-  (in-module "Gst")
-  (c-name "GstPlaySinkType")
-  (gtype-id "GST_TYPE_PLAY_SINK_TYPE")
-  (values
-    '("audio" "GST_PLAY_SINK_TYPE_AUDIO")
-    '("audio-raw" "GST_PLAY_SINK_TYPE_AUDIO_RAW")
-    '("video" "GST_PLAY_SINK_TYPE_VIDEO")
-    '("video-raw" "GST_PLAY_SINK_TYPE_VIDEO_RAW")
-    '("text" "GST_PLAY_SINK_TYPE_TEXT")
-    '("last" "GST_PLAY_SINK_TYPE_LAST")
-  )
-)
 
-(define-enum StreamType
-  (in-module "Gst")
-  (c-name "GstStreamType")
-  (gtype-id "GST_TYPE_STREAM_TYPE")
-  (values
-    '("unknown" "GST_STREAM_TYPE_UNKNOWN")
-    '("audio" "GST_STREAM_TYPE_AUDIO")
-    '("video" "GST_STREAM_TYPE_VIDEO")
-    '("text" "GST_STREAM_TYPE_TEXT")
-    '("subpicture" "GST_STREAM_TYPE_SUBPICTURE")
-    '("element" "GST_STREAM_TYPE_ELEMENT")
-  )
-)
+;; From gstaudioclock.h
 
-(define-enum SubParseFormat
-  (in-module "Gst")
-  (c-name "GstSubParseFormat")
-  (gtype-id "GST_TYPE_SUB_PARSE_FORMAT")
-  (values
-    '("unknown" "GST_SUB_PARSE_FORMAT_UNKNOWN")
-    '("mdvdsub" "GST_SUB_PARSE_FORMAT_MDVDSUB")
-    '("subrip" "GST_SUB_PARSE_FORMAT_SUBRIP")
-    '("mpsub" "GST_SUB_PARSE_FORMAT_MPSUB")
-    '("sami" "GST_SUB_PARSE_FORMAT_SAMI")
-    '("tmplayer" "GST_SUB_PARSE_FORMAT_TMPLAYER")
-    '("mpl2" "GST_SUB_PARSE_FORMAT_MPL2")
-    '("subviewer" "GST_SUB_PARSE_FORMAT_SUBVIEWER")
-  )
-)
-
-(define-flags MultiFdSinkFlags
-  (in-module "Gst")
-  (c-name "GstMultiFdSinkFlags")
-  (gtype-id "GST_TYPE_MULTI_FD_SINK_FLAGS")
-  (values
-    '("open" "GST_MULTI_FD_SINK_OPEN")
-    '("flag-last" "GST_MULTI_FD_SINK_FLAG_LAST")
-  )
-)
-
-(define-enum RecoverPolicy
-  (in-module "Gst")
-  (c-name "GstRecoverPolicy")
-  (gtype-id "GST_TYPE_RECOVER_POLICY")
-  (values
-    '("none" "GST_RECOVER_POLICY_NONE")
-    '("resync-latest" "GST_RECOVER_POLICY_RESYNC_LATEST")
-    '("resync-soft-limit" "GST_RECOVER_POLICY_RESYNC_SOFT_LIMIT")
-    '("resync-keyframe" "GST_RECOVER_POLICY_RESYNC_KEYFRAME")
-  )
-)
-
-(define-enum SyncMethod
-  (in-module "Gst")
-  (c-name "GstSyncMethod")
-  (gtype-id "GST_TYPE_SYNC_METHOD")
-  (values
-    '("latest" "GST_SYNC_METHOD_LATEST")
-    '("next-keyframe" "GST_SYNC_METHOD_NEXT_KEYFRAME")
-    '("latest-keyframe" "GST_SYNC_METHOD_LATEST_KEYFRAME")
-    '("burst" "GST_SYNC_METHOD_BURST")
-    '("burst-keyframe" "GST_SYNC_METHOD_BURST_KEYFRAME")
-    '("burst-with-keyframe" "GST_SYNC_METHOD_BURST_WITH_KEYFRAME")
-  )
-)
-
-(define-enum TCPUnitType
-  (in-module "Gst")
-  (c-name "GstTCPUnitType")
-  (gtype-id "GST_TYPE_TCP_UNIT_TYPE")
-  (values
-    '("undefined" "GST_TCP_UNIT_TYPE_UNDEFINED")
-    '("buffers" "GST_TCP_UNIT_TYPE_BUFFERS")
-    '("time" "GST_TCP_UNIT_TYPE_TIME")
-    '("bytes" "GST_TCP_UNIT_TYPE_BYTES")
-  )
-)
-
-(define-enum ClientStatus
-  (in-module "Gst")
-  (c-name "GstClientStatus")
-  (gtype-id "GST_TYPE_CLIENT_STATUS")
-  (values
-    '("ok" "GST_CLIENT_STATUS_OK")
-    '("closed" "GST_CLIENT_STATUS_CLOSED")
-    '("removed" "GST_CLIENT_STATUS_REMOVED")
-    '("slow" "GST_CLIENT_STATUS_SLOW")
-    '("error" "GST_CLIENT_STATUS_ERROR")
-    '("duplicate" "GST_CLIENT_STATUS_DUPLICATE")
-    '("flushing" "GST_CLIENT_STATUS_FLUSHING")
-  )
-)
-
-(define-flags TCPClientSinkFlags
-  (in-module "Gst")
-  (c-name "GstTCPClientSinkFlags")
-  (gtype-id "GST_TYPE_TCP_CLIENT_SINK_FLAGS")
-  (values
-    '("open" "GST_TCP_CLIENT_SINK_OPEN")
-    '("flag-last" "GST_TCP_CLIENT_SINK_FLAG_LAST")
-  )
-)
-
-(define-flags TCPClientSrcFlags
-  (in-module "Gst")
-  (c-name "GstTCPClientSrcFlags")
-  (gtype-id "GST_TYPE_TCP_CLIENT_SRC_FLAGS")
-  (values
-    '("open" "GST_TCP_CLIENT_SRC_OPEN")
-    '("flag-last" "GST_TCP_CLIENT_SRC_FLAG_LAST")
-  )
-)
-
-(define-enum TCPProtocol
-  (in-module "Gst")
-  (c-name "GstTCPProtocol")
-  (gtype-id "GST_TYPE_TCP_PROTOCOL")
-  (values
-    '("none" "GST_TCP_PROTOCOL_NONE")
-    '("gdp" "GST_TCP_PROTOCOL_GDP")
-  )
-)
-
-(define-flags TCPServerSinkFlags
-  (in-module "Gst")
-  (c-name "GstTCPServerSinkFlags")
-  (gtype-id "GST_TYPE_TCP_SERVER_SINK_FLAGS")
-  (values
-    '("open" "GST_TCP_SERVER_SINK_OPEN")
-    '("flag-last" "GST_TCP_SERVER_SINK_FLAG_LAST")
-  )
-)
-
-(define-flags TCPServerSrcFlags
-  (in-module "Gst")
-  (c-name "GstTCPServerSrcFlags")
-  (gtype-id "GST_TYPE_TCP_SERVER_SRC_FLAGS")
-  (values
-    '("open" "GST_TCP_SERVER_SRC_OPEN")
-    '("flag-last" "GST_TCP_SERVER_SRC_FLAG_LAST")
-  )
-)
-
-(define-enum VideoScaleMethod
-  (in-module "Gst")
-  (c-name "GstVideoScaleMethod")
-  (gtype-id "GST_TYPE_VIDEO_SCALE_METHOD")
-  (values
-    '("nearest" "GST_VIDEO_SCALE_NEAREST")
-    '("bilinear" "GST_VIDEO_SCALE_BILINEAR")
-    '("4tap" "GST_VIDEO_SCALE_4TAP")
-  )
-)
-
-(define-enum VideoTestSrcPattern
-  (in-module "Gst")
-  (c-name "GstVideoTestSrcPattern")
-  (gtype-id "GST_TYPE_VIDEO_TEST_SRC_PATTERN")
-  (values
-    '("smpte" "GST_VIDEO_TEST_SRC_SMPTE")
-    '("snow" "GST_VIDEO_TEST_SRC_SNOW")
-    '("black" "GST_VIDEO_TEST_SRC_BLACK")
-    '("white" "GST_VIDEO_TEST_SRC_WHITE")
-    '("red" "GST_VIDEO_TEST_SRC_RED")
-    '("green" "GST_VIDEO_TEST_SRC_GREEN")
-    '("blue" "GST_VIDEO_TEST_SRC_BLUE")
-    '("checkers1" "GST_VIDEO_TEST_SRC_CHECKERS1")
-    '("checkers2" "GST_VIDEO_TEST_SRC_CHECKERS2")
-    '("checkers4" "GST_VIDEO_TEST_SRC_CHECKERS4")
-    '("checkers8" "GST_VIDEO_TEST_SRC_CHECKERS8")
-    '("circular" "GST_VIDEO_TEST_SRC_CIRCULAR")
-    '("blink" "GST_VIDEO_TEST_SRC_BLINK")
-    '("smpte75" "GST_VIDEO_TEST_SRC_SMPTE75")
-    '("zone-plate" "GST_VIDEO_TEST_SRC_ZONE_PLATE")
-  )
-)
-
-(define-enum VideoTestSrcColorSpec
-  (in-module "Gst")
-  (c-name "GstVideoTestSrcColorSpec")
-  (gtype-id "GST_TYPE_VIDEO_TEST_SRC_COLOR_SPEC")
-  (values
-    '("bt601" "GST_VIDEO_TEST_SRC_BT601")
-    '("bt709" "GST_VIDEO_TEST_SRC_BT709")
-  )
-)
-
-(define-flags AlsaMixerDirection
-  (in-module "Gst")
-  (c-name "GstAlsaMixerDirection")
-  (gtype-id "GST_TYPE_ALSA_MIXER_DIRECTION")
-  (values
-    '("capture" "GST_ALSA_MIXER_CAPTURE")
-    '("playback" "GST_ALSA_MIXER_PLAYBACK")
-    '("all" "GST_ALSA_MIXER_ALL")
-  )
-)
-
-(define-enum OggPadMode
-  (in-module "Gst")
-  (c-name "GstOggPadMode")
-  (gtype-id "GST_TYPE_OGG_PAD_MODE")
-  (values
-    '("init" "GST_OGG_PAD_MODE_INIT")
-    '("streaming" "GST_OGG_PAD_MODE_STREAMING")
-  )
-)
-
-(define-enum OggPadState
-  (in-module "Gst")
-  (c-name "GstOggPadState")
-  (gtype-id "GST_TYPE_OGG_PAD_STATE")
-  (values
-    '("control" "GST_OGG_PAD_STATE_CONTROL")
-    '("data" "GST_OGG_PAD_STATE_DATA")
-  )
-)
-
-(define-enum TextOverlayVAlign
-  (in-module "Gst")
-  (c-name "GstTextOverlayVAlign")
-  (gtype-id "GST_TYPE_TEXT_OVERLAY_VALIGN")
-  (values
-    '("baseline" "GST_TEXT_OVERLAY_VALIGN_BASELINE")
-    '("bottom" "GST_TEXT_OVERLAY_VALIGN_BOTTOM")
-    '("top" "GST_TEXT_OVERLAY_VALIGN_TOP")
-  )
-)
-
-(define-enum TextOverlayHAlign
-  (in-module "Gst")
-  (c-name "GstTextOverlayHAlign")
-  (gtype-id "GST_TYPE_TEXT_OVERLAY_HALIGN")
-  (values
-    '("left" "GST_TEXT_OVERLAY_HALIGN_LEFT")
-    '("center" "GST_TEXT_OVERLAY_HALIGN_CENTER")
-    '("right" "GST_TEXT_OVERLAY_HALIGN_RIGHT")
-  )
-)
-
-(define-enum TextOverlayWrapMode
-  (in-module "Gst")
-  (c-name "GstTextOverlayWrapMode")
-  (gtype-id "GST_TYPE_TEXT_OVERLAY_WRAP_MODE")
-  (values
-    '("none" "GST_TEXT_OVERLAY_WRAP_MODE_NONE")
-    '("word" "GST_TEXT_OVERLAY_WRAP_MODE_WORD")
-    '("char" "GST_TEXT_OVERLAY_WRAP_MODE_CHAR")
-    '("word-char" "GST_TEXT_OVERLAY_WRAP_MODE_WORD_CHAR")
-  )
-)
-
-(define-enum TextOverlayLineAlign
-  (in-module "Gst")
-  (c-name "GstTextOverlayLineAlign")
-  (gtype-id "GST_TYPE_TEXT_OVERLAY_LINE_ALIGN")
-  (values
-    '("left" "GST_TEXT_OVERLAY_LINE_ALIGN_LEFT")
-    '("center" "GST_TEXT_OVERLAY_LINE_ALIGN_CENTER")
-    '("right" "GST_TEXT_OVERLAY_LINE_ALIGN_RIGHT")
-  )
-)
-
-(define-enum TheoraEncBorderMode
-  (in-module "Gst")
-  (c-name "GstTheoraEncBorderMode")
-  (gtype-id "GST_TYPE_THEORA_ENC_BORDER_MODE")
-  (values
-    '("none" "BORDER_NONE")
-    '("black" "BORDER_BLACK")
-    '("mirror" "BORDER_MIRROR")
-  )
-)
-
-
-;; From audio.h
-
-(define-function gst_audio_frame_byte_size
-  (c-name "gst_audio_frame_byte_size")
-  (return-type "int")
-  (parameters
-    '("GstPad*" "pad")
-  )
-)
-
-(define-function gst_audio_frame_length
-  (c-name "gst_audio_frame_length")
-  (return-type "long")
-  (parameters
-    '("GstPad*" "pad")
-    '("GstBuffer*" "buf")
-  )
-)
-
-(define-function gst_audio_duration_from_pad_buffer
-  (c-name "gst_audio_duration_from_pad_buffer")
-  (return-type "GstClockTime")
-  (parameters
-    '("GstPad*" "pad")
-    '("GstBuffer*" "buf")
-  )
-)
-
-(define-function gst_audio_is_buffer_framed
-  (c-name "gst_audio_is_buffer_framed")
-  (return-type "gboolean")
-  (parameters
-    '("GstPad*" "pad")
-    '("GstBuffer*" "buf")
-  )
-)
-
-(define-function gst_audio_structure_set_int
-  (c-name "gst_audio_structure_set_int")
-  (return-type "none")
-  (parameters
-    '("GstStructure*" "structure")
-    '("GstAudioFieldFlag" "flag")
-  )
-)
-
-(define-function gst_audio_buffer_clip
-  (c-name "gst_audio_buffer_clip")
-  (return-type "GstBuffer*")
-  (parameters
-    '("GstBuffer*" "buffer")
-    '("GstSegment*" "segment")
-    '("gint" "rate")
-    '("gint" "frame_size")
-  )
-)
-
-
-
-;; From gstaudioclock.h
-
-(define-function gst_audio_clock_get_type
-  (c-name "gst_audio_clock_get_type")
-  (return-type "GType")
+(define-function gst_audio_clock_get_type
+  (c-name "gst_audio_clock_get_type")
+  (return-type "GType")
 )
 
 (define-function gst_audio_clock_new
@@ -6618,2811 +5870,3 @@
 )
 
 
-
-;; From gstadder.h
-
-(define-function gst_adder_get_type
-  (c-name "gst_adder_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From audioconvert.h
-
-(define-function audio_convert_clean_fmt
-  (c-name "audio_convert_clean_fmt")
-  (return-type "gboolean")
-  (parameters
-    '("AudioConvertFmt*" "fmt")
-  )
-)
-
-(define-function audio_convert_prepare_context
-  (c-name "audio_convert_prepare_context")
-  (return-type "gboolean")
-  (parameters
-    '("AudioConvertCtx*" "ctx")
-    '("AudioConvertFmt*" "in")
-    '("AudioConvertFmt*" "out")
-    '("GstAudioConvertDithering" "dither")
-    '("GstAudioConvertNoiseShaping" "ns")
-  )
-)
-
-(define-function audio_convert_get_sizes
-  (c-name "audio_convert_get_sizes")
-  (return-type "gboolean")
-  (parameters
-    '("AudioConvertCtx*" "ctx")
-    '("gint" "samples")
-    '("gint*" "srcsize")
-    '("gint*" "dstsize")
-  )
-)
-
-(define-function audio_convert_clean_context
-  (c-name "audio_convert_clean_context")
-  (return-type "gboolean")
-  (parameters
-    '("AudioConvertCtx*" "ctx")
-  )
-)
-
-(define-function audio_convert_convert
-  (c-name "audio_convert_convert")
-  (return-type "gboolean")
-  (parameters
-    '("AudioConvertCtx*" "ctx")
-    '("gpointer" "src")
-    '("gpointer" "dst")
-    '("gint" "samples")
-    '("gboolean" "src_writable")
-  )
-)
-
-
-
-;; From gstaudioconvert.h
-
-
-
-;; From gstaudioquantize.h
-
-(define-function gst_audio_quantize_setup
-  (c-name "gst_audio_quantize_setup")
-  (return-type "gboolean")
-  (parameters
-    '("AudioConvertCtx*" "ctx")
-  )
-)
-
-(define-function gst_audio_quantize_reset
-  (c-name "gst_audio_quantize_reset")
-  (return-type "none")
-  (parameters
-    '("AudioConvertCtx*" "ctx")
-  )
-)
-
-(define-function gst_audio_quantize_free
-  (c-name "gst_audio_quantize_free")
-  (return-type "none")
-  (parameters
-    '("AudioConvertCtx*" "ctx")
-  )
-)
-
-
-
-;; From gstchannelmix.h
-
-(define-function gst_channel_mix_unset_matrix
-  (c-name "gst_channel_mix_unset_matrix")
-  (return-type "none")
-  (parameters
-    '("AudioConvertCtx*" "this")
-  )
-)
-
-(define-function gst_channel_mix_setup_matrix
-  (c-name "gst_channel_mix_setup_matrix")
-  (return-type "none")
-  (parameters
-    '("AudioConvertCtx*" "this")
-  )
-)
-
-(define-function gst_channel_mix_passthrough
-  (c-name "gst_channel_mix_passthrough")
-  (return-type "gboolean")
-  (parameters
-    '("AudioConvertCtx*" "this")
-  )
-)
-
-(define-function gst_channel_mix_mix_int
-  (c-name "gst_channel_mix_mix_int")
-  (return-type "none")
-  (parameters
-    '("AudioConvertCtx*" "this")
-    '("gint32*" "in_data")
-    '("gint32*" "out_data")
-    '("gint" "samples")
-  )
-)
-
-(define-function gst_channel_mix_mix_float
-  (c-name "gst_channel_mix_mix_float")
-  (return-type "none")
-  (parameters
-    '("AudioConvertCtx*" "this")
-    '("gdouble*" "in_data")
-    '("gdouble*" "out_data")
-    '("gint" "samples")
-  )
-)
-
-
-
-;; From gstfastrandom.h
-
-
-
-;; From plugin.h
-
-(define-function gst_audio_convert_get_type
-  (c-name "gst_audio_convert_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gstaudiotestsrc.h
-
-(define-function gst_audio_test_src_get_type
-  (c-name "gst_audio_test_src_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From avcodec.h
-
-(define-function get_pix_fmt_info
-  (c-name "get_pix_fmt_info")
-  (return-type "PixFmtInfo*")
-  (parameters
-    '("enum-PixelFormat" "format")
-  )
-)
-
-(define-function avpicture_get_size
-  (c-name "avpicture_get_size")
-  (return-type "int")
-  (parameters
-    '("int" "pix_fmt")
-    '("int" "width")
-    '("int" "height")
-  )
-)
-
-(define-function avcodec_get_chroma_sub_sample
-  (c-name "avcodec_get_chroma_sub_sample")
-  (return-type "none")
-  (parameters
-    '("int" "pix_fmt")
-    '("int*" "h_shift")
-    '("int*" "v_shift")
-  )
-)
-
-(define-function avcodec_get_pix_fmt_name
-  (c-name "avcodec_get_pix_fmt_name")
-  (return-type "const-char*")
-  (parameters
-    '("int" "pix_fmt")
-  )
-)
-
-(define-function avcodec_set_dimensions
-  (c-name "avcodec_set_dimensions")
-  (return-type "none")
-  (parameters
-    '("AVCodecContext*" "s")
-    '("int" "width")
-    '("int" "height")
-  )
-)
-
-(define-function avcodec_get_pix_fmt_loss
-  (c-name "avcodec_get_pix_fmt_loss")
-  (return-type "int")
-  (parameters
-    '("int" "dst_pix_fmt")
-    '("int" "src_pix_fmt")
-    '("int" "has_alpha")
-  )
-)
-
-(define-function avcodec_find_best_pix_fmt
-  (c-name "avcodec_find_best_pix_fmt")
-  (return-type "int")
-  (parameters
-    '("int" "pix_fmt_mask")
-    '("int" "src_pix_fmt")
-    '("int" "has_alpha")
-    '("int*" "loss_ptr")
-  )
-)
-
-(define-function img_get_alpha_info
-  (c-name "img_get_alpha_info")
-  (return-type "int")
-  (parameters
-    '("const-AVPicture*" "src")
-    '("int" "pix_fmt")
-    '("int" "width")
-    '("int" "height")
-  )
-)
-
-(define-function img_convert
-  (c-name "img_convert")
-  (return-type "int")
-  (parameters
-    '("AVPicture*" "dst")
-    '("int" "dst_pix_fmt")
-    '("const-AVPicture*" "src")
-    '("int" "pix_fmt")
-    '("int" "width")
-    '("int" "height")
-  )
-)
-
-(define-function avcodec_init
-  (c-name "avcodec_init")
-  (return-type "none")
-)
-
-(define-function avcodec_get_context_defaults
-  (c-name "avcodec_get_context_defaults")
-  (return-type "none")
-  (parameters
-    '("AVCodecContext*" "s")
-  )
-)
-
-(define-function avcodec_alloc_context
-  (c-name "avcodec_alloc_context")
-  (return-type "AVCodecContext*")
-)
-
-(define-function av_malloc
-  (c-name "av_malloc")
-  (return-type "void*")
-  (parameters
-    '("unsigned-int" "size")
-  )
-)
-
-(define-function av_mallocz
-  (c-name "av_mallocz")
-  (return-type "void*")
-  (parameters
-    '("unsigned-int" "size")
-  )
-)
-
-(define-function av_realloc
-  (c-name "av_realloc")
-  (return-type "void*")
-  (parameters
-    '("void*" "ptr")
-    '("unsigned-int" "size")
-  )
-)
-
-(define-function av_free
-  (c-name "av_free")
-  (return-type "none")
-  (parameters
-    '("void*" "ptr")
-  )
-)
-
-(define-function av_strdup
-  (c-name "av_strdup")
-  (return-type "char*")
-  (parameters
-    '("const-char*" "s")
-  )
-)
-
-(define-function av_freep
-  (c-name "av_freep")
-  (return-type "none")
-  (parameters
-    '("void*" "ptr")
-  )
-)
-
-(define-function av_fast_realloc
-  (c-name "av_fast_realloc")
-  (return-type "void*")
-  (parameters
-    '("void*" "ptr")
-    '("unsigned-int*" "size")
-    '("unsigned-int" "min_size")
-  )
-)
-
-(define-function av_free_static
-  (c-name "av_free_static")
-  (return-type "none")
-)
-
-(define-function av_mallocz_static
-  (c-name "av_mallocz_static")
-  (return-type "void*")
-  (parameters
-    '("unsigned-int" "size")
-  )
-)
-
-
-
-;; From dsputil.h
-
-(define-function dsputil_static_init
-  (c-name "dsputil_static_init")
-  (return-type "none")
-)
-
-
-
-;; From gstffmpegcodecmap.h
-
-(define-function gst_ffmpegcsp_codectype_to_caps
-  (c-name "gst_ffmpegcsp_codectype_to_caps")
-  (return-type "GstCaps*")
-  (parameters
-    '("enum-CodecType" "codec_type")
-    '("AVCodecContext*" "context")
-  )
-)
-
-(define-function gst_ffmpegcsp_caps_with_codectype
-  (c-name "gst_ffmpegcsp_caps_with_codectype")
-  (return-type "none")
-  (parameters
-    '("enum-CodecType" "type")
-    '("const-GstCaps*" "caps")
-    '("AVCodecContext*" "context")
-  )
-)
-
-(define-function gst_ffmpegcsp_avpicture_fill
-  (c-name "gst_ffmpegcsp_avpicture_fill")
-  (return-type "int")
-  (parameters
-    '("AVPicture*" "picture")
-    '("uint8_t*" "ptr")
-    '("enum-PixelFormat" "pix_fmt")
-    '("int" "width")
-    '("int" "height")
-  )
-)
-
-
-
-;; From gstffmpegcolorspace.h
-
-
-
-;; From imgconvert_template.h
-
-
-
-;; From gstgdpdepay.h
-
-(define-function gst_gdp_depay_plugin_init
-  (c-name "gst_gdp_depay_plugin_init")
-  (return-type "gboolean")
-  (parameters
-    '("GstPlugin*" "plugin")
-  )
-)
-
-
-
-;; From gstgdppay.h
-
-(define-function gst_gdp_pay_plugin_init
-  (c-name "gst_gdp_pay_plugin_init")
-  (return-type "gboolean")
-  (parameters
-    '("GstPlugin*" "plugin")
-  )
-)
-
-
-
-;; From gstfactorylists.h
-
-(define-function gst_factory_list_is_type
-  (c-name "gst_factory_list_is_type")
-  (return-type "gboolean")
-  (parameters
-    '("GstElementFactory*" "factory")
-    '("GstFactoryListType" "type")
-  )
-)
-
-(define-function gst_factory_list_get_elements
-  (c-name "gst_factory_list_get_elements")
-  (return-type "GValueArray*")
-  (parameters
-    '("GstFactoryListType" "type")
-  )
-)
-
-(define-function gst_factory_list_debug
-  (c-name "gst_factory_list_debug")
-  (return-type "none")
-  (parameters
-    '("GValueArray*" "array")
-  )
-)
-
-(define-function gst_factory_list_filter
-  (c-name "gst_factory_list_filter")
-  (return-type "GValueArray*")
-  (parameters
-    '("GValueArray*" "array")
-    '("const-GstCaps*" "caps")
-  )
-)
-
-
-
-;; From gstplaybasebin.h
-
-(define-function gst_play_base_bin_get_type
-  (c-name "gst_play_base_bin_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gstplay-enum.h
-
-(define-function gst_autoplug_select_result_get_type
-  (c-name "gst_autoplug_select_result_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_play_flags_get_type
-  (c-name "gst_play_flags_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gstplay-marshal.h
-
-
-
-;; From gstplaysink.h
-
-(define-function gst_play_sink_get_type
-  (c-name "gst_play_sink_get_type")
-  (return-type "GType")
-)
-
-(define-method request_pad
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_request_pad")
-  (return-type "GstPad*")
-  (parameters
-    '("GstPlaySinkType" "type")
-  )
-)
-
-(define-method release_pad
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_release_pad")
-  (return-type "none")
-  (parameters
-    '("GstPad*" "pad")
-  )
-)
-
-(define-method set_video_sink
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_set_video_sink")
-  (return-type "none")
-  (parameters
-    '("GstElement*" "sink")
-  )
-)
-
-(define-method get_video_sink
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_get_video_sink")
-  (return-type "GstElement*")
-)
-
-(define-method set_audio_sink
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_set_audio_sink")
-  (return-type "none")
-  (parameters
-    '("GstElement*" "sink")
-  )
-)
-
-(define-method get_audio_sink
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_get_audio_sink")
-  (return-type "GstElement*")
-)
-
-(define-method set_vis_plugin
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_set_vis_plugin")
-  (return-type "none")
-  (parameters
-    '("GstElement*" "vis")
-  )
-)
-
-(define-method get_vis_plugin
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_get_vis_plugin")
-  (return-type "GstElement*")
-)
-
-(define-method set_volume
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_set_volume")
-  (return-type "none")
-  (parameters
-    '("gdouble" "volume")
-  )
-)
-
-(define-method get_volume
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_get_volume")
-  (return-type "gdouble")
-)
-
-(define-method set_mute
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_set_mute")
-  (return-type "none")
-  (parameters
-    '("gboolean" "mute")
-  )
-)
-
-(define-method get_mute
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_get_mute")
-  (return-type "gboolean")
-)
-
-(define-method set_flags
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_set_flags")
-  (return-type "gboolean")
-  (parameters
-    '("GstPlayFlags" "flags")
-  )
-)
-
-(define-method get_flags
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_get_flags")
-  (return-type "GstPlayFlags")
-)
-
-(define-method set_font_desc
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_set_font_desc")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "desc")
-  )
-)
-
-(define-method get_font_desc
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_get_font_desc")
-  (return-type "gchar*")
-)
-
-(define-method get_last_frame
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_get_last_frame")
-  (return-type "GstBuffer*")
-)
-
-(define-method reconfigure
-  (of-object "GstPlaySink")
-  (c-name "gst_play_sink_reconfigure")
-  (return-type "gboolean")
-)
-
-
-
-;; From gstscreenshot.h
-
-(define-function gst_play_frame_conv_convert
-  (c-name "gst_play_frame_conv_convert")
-  (return-type "GstBuffer*")
-  (parameters
-    '("GstBuffer*" "buf")
-    '("GstCaps*" "to")
-  )
-)
-
-
-
-;; From gststreaminfo.h
-
-(define-function gst_stream_info_get_type
-  (c-name "gst_stream_info_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_stream_info_new
-  (c-name "gst_stream_info_new")
-  (is-constructor-of "GstStreamInfo")
-  (return-type "GstStreamInfo*")
-  (parameters
-    '("GstObject*" "object")
-    '("GstStreamType" "type")
-    '("const-gchar*" "decoder")
-    '("const-GstCaps*" "caps")
-  )
-)
-
-(define-method set_mute
-  (of-object "GstStreamInfo")
-  (c-name "gst_stream_info_set_mute")
-  (return-type "gboolean")
-  (parameters
-    '("gboolean" "mute")
-  )
-)
-
-(define-method is_mute
-  (of-object "GstStreamInfo")
-  (c-name "gst_stream_info_is_mute")
-  (return-type "gboolean")
-)
-
-
-
-;; From gststreamselector.h
-
-(define-function gst_stream_selector_get_type
-  (c-name "gst_stream_selector_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From arch.h
-
-
-
-;; From fixed_arm4.h
-
-
-
-;; From fixed_arm5e.h
-
-
-
-;; From fixed_bfin.h
-
-
-
-;; From fixed_debug.h
-
-
-
-;; From fixed_generic.h
-
-
-
-;; From gstspeexresample.h
-
-(define-function gst_speex_resample_get_type
-  (c-name "gst_speex_resample_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From resample_sse.h
-
-
-
-;; From speex_resampler.h
-
-(define-function speex_resampler_init
-  (c-name "speex_resampler_init")
-  (return-type "SpeexResamplerState*")
-  (parameters
-    '("spx_uint32_t" "nb_channels")
-    '("spx_uint32_t" "in_rate")
-    '("spx_uint32_t" "out_rate")
-    '("int" "quality")
-    '("int*" "err")
-  )
-)
-
-(define-function speex_resampler_init_frac
-  (c-name "speex_resampler_init_frac")
-  (return-type "SpeexResamplerState*")
-  (parameters
-    '("spx_uint32_t" "nb_channels")
-    '("spx_uint32_t" "ratio_num")
-    '("spx_uint32_t" "ratio_den")
-    '("spx_uint32_t" "in_rate")
-    '("spx_uint32_t" "out_rate")
-    '("int" "quality")
-    '("int*" "err")
-  )
-)
-
-(define-function speex_resampler_destroy
-  (c-name "speex_resampler_destroy")
-  (return-type "none")
-  (parameters
-    '("SpeexResamplerState*" "st")
-  )
-)
-
-(define-function speex_resampler_process_float
-  (c-name "speex_resampler_process_float")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("spx_uint32_t" "channel_index")
-    '("const-double*" "in")
-    '("spx_uint32_t*" "in_len")
-    '("double*" "out")
-    '("spx_uint32_t*" "out_len")
-  )
-)
-
-(define-function speex_resampler_process_float
-  (c-name "speex_resampler_process_float")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("spx_uint32_t" "channel_index")
-    '("const-float*" "in")
-    '("spx_uint32_t*" "in_len")
-    '("float*" "out")
-    '("spx_uint32_t*" "out_len")
-  )
-)
-
-(define-function speex_resampler_process_int
-  (c-name "speex_resampler_process_int")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("spx_uint32_t" "channel_index")
-    '("const-spx_int16_t*" "in")
-    '("spx_uint32_t*" "in_len")
-    '("spx_int16_t*" "out")
-    '("spx_uint32_t*" "out_len")
-  )
-)
-
-(define-function speex_resampler_process_interleaved_float
-  (c-name "speex_resampler_process_interleaved_float")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("const-double*" "in")
-    '("spx_uint32_t*" "in_len")
-    '("double*" "out")
-    '("spx_uint32_t*" "out_len")
-  )
-)
-
-(define-function speex_resampler_process_interleaved_float
-  (c-name "speex_resampler_process_interleaved_float")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("const-float*" "in")
-    '("spx_uint32_t*" "in_len")
-    '("float*" "out")
-    '("spx_uint32_t*" "out_len")
-  )
-)
-
-(define-function speex_resampler_process_interleaved_int
-  (c-name "speex_resampler_process_interleaved_int")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("const-spx_int16_t*" "in")
-    '("spx_uint32_t*" "in_len")
-    '("spx_int16_t*" "out")
-    '("spx_uint32_t*" "out_len")
-  )
-)
-
-(define-function speex_resampler_set_rate
-  (c-name "speex_resampler_set_rate")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("spx_uint32_t" "in_rate")
-    '("spx_uint32_t" "out_rate")
-  )
-)
-
-(define-function speex_resampler_get_rate
-  (c-name "speex_resampler_get_rate")
-  (return-type "none")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("spx_uint32_t*" "in_rate")
-    '("spx_uint32_t*" "out_rate")
-  )
-)
-
-(define-function speex_resampler_set_rate_frac
-  (c-name "speex_resampler_set_rate_frac")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("spx_uint32_t" "ratio_num")
-    '("spx_uint32_t" "ratio_den")
-    '("spx_uint32_t" "in_rate")
-    '("spx_uint32_t" "out_rate")
-  )
-)
-
-(define-function speex_resampler_get_ratio
-  (c-name "speex_resampler_get_ratio")
-  (return-type "none")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("spx_uint32_t*" "ratio_num")
-    '("spx_uint32_t*" "ratio_den")
-  )
-)
-
-(define-function speex_resampler_set_quality
-  (c-name "speex_resampler_set_quality")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("int" "quality")
-  )
-)
-
-(define-function speex_resampler_get_quality
-  (c-name "speex_resampler_get_quality")
-  (return-type "none")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("int*" "quality")
-  )
-)
-
-(define-function speex_resampler_set_input_stride
-  (c-name "speex_resampler_set_input_stride")
-  (return-type "none")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("spx_uint32_t" "stride")
-  )
-)
-
-(define-function speex_resampler_get_input_stride
-  (c-name "speex_resampler_get_input_stride")
-  (return-type "none")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("spx_uint32_t*" "stride")
-  )
-)
-
-(define-function speex_resampler_set_output_stride
-  (c-name "speex_resampler_set_output_stride")
-  (return-type "none")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("spx_uint32_t" "stride")
-  )
-)
-
-(define-function speex_resampler_get_output_stride
-  (c-name "speex_resampler_get_output_stride")
-  (return-type "none")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("spx_uint32_t*" "stride")
-  )
-)
-
-(define-function speex_resampler_get_input_latency
-  (c-name "speex_resampler_get_input_latency")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-  )
-)
-
-(define-function speex_resampler_get_output_latency
-  (c-name "speex_resampler_get_output_latency")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-  )
-)
-
-(define-function speex_resampler_skip_zeros
-  (c-name "speex_resampler_skip_zeros")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-  )
-)
-
-(define-function speex_resampler_reset_mem
-  (c-name "speex_resampler_reset_mem")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-  )
-)
-
-(define-function speex_resampler_strerror
-  (c-name "speex_resampler_strerror")
-  (return-type "const-char*")
-  (parameters
-    '("int" "err")
-  )
-)
-
-
-
-;; From speex_resampler_wrapper.h
-
-(define-function resample_float_resampler_init
-  (c-name "resample_float_resampler_init")
-  (return-type "SpeexResamplerState*")
-  (parameters
-    '("guint32" "nb_channels")
-    '("guint32" "in_rate")
-    '("guint32" "out_rate")
-    '("gint" "quality")
-    '("gint*" "err")
-  )
-)
-
-(define-function resample_float_resampler_destroy
-  (c-name "resample_float_resampler_destroy")
-  (return-type "none")
-  (parameters
-    '("SpeexResamplerState*" "st")
-  )
-)
-
-(define-function resample_float_resampler_process_interleaved_float
-  (c-name "resample_float_resampler_process_interleaved_float")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("const-guint8*" "in")
-    '("guint32*" "in_len")
-    '("guint8*" "out")
-    '("guint32*" "out_len")
-  )
-)
-
-(define-function resample_float_resampler_set_rate
-  (c-name "resample_float_resampler_set_rate")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("guint32" "in_rate")
-    '("guint32" "out_rate")
-  )
-)
-
-(define-function resample_float_resampler_get_rate
-  (c-name "resample_float_resampler_get_rate")
-  (return-type "none")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("guint32*" "in_rate")
-    '("guint32*" "out_rate")
-  )
-)
-
-(define-function resample_float_resampler_get_ratio
-  (c-name "resample_float_resampler_get_ratio")
-  (return-type "none")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("guint32*" "ratio_num")
-    '("guint32*" "ratio_den")
-  )
-)
-
-(define-function resample_float_resampler_get_input_latency
-  (c-name "resample_float_resampler_get_input_latency")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-  )
-)
-
-(define-function resample_float_resampler_set_quality
-  (c-name "resample_float_resampler_set_quality")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("gint" "quality")
-  )
-)
-
-(define-function resample_float_resampler_reset_mem
-  (c-name "resample_float_resampler_reset_mem")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-  )
-)
-
-(define-function resample_float_resampler_skip_zeros
-  (c-name "resample_float_resampler_skip_zeros")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-  )
-)
-
-(define-function resample_float_resampler_strerror
-  (c-name "resample_float_resampler_strerror")
-  (return-type "const-char*")
-  (parameters
-    '("gint" "err")
-  )
-)
-
-(define-function resample_double_resampler_init
-  (c-name "resample_double_resampler_init")
-  (return-type "SpeexResamplerState*")
-  (parameters
-    '("guint32" "nb_channels")
-    '("guint32" "in_rate")
-    '("guint32" "out_rate")
-    '("gint" "quality")
-    '("gint*" "err")
-  )
-)
-
-(define-function resample_double_resampler_destroy
-  (c-name "resample_double_resampler_destroy")
-  (return-type "none")
-  (parameters
-    '("SpeexResamplerState*" "st")
-  )
-)
-
-(define-function resample_double_resampler_process_interleaved_float
-  (c-name "resample_double_resampler_process_interleaved_float")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("const-guint8*" "in")
-    '("guint32*" "in_len")
-    '("guint8*" "out")
-    '("guint32*" "out_len")
-  )
-)
-
-(define-function resample_double_resampler_set_rate
-  (c-name "resample_double_resampler_set_rate")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("guint32" "in_rate")
-    '("guint32" "out_rate")
-  )
-)
-
-(define-function resample_double_resampler_get_rate
-  (c-name "resample_double_resampler_get_rate")
-  (return-type "none")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("guint32*" "in_rate")
-    '("guint32*" "out_rate")
-  )
-)
-
-(define-function resample_double_resampler_get_ratio
-  (c-name "resample_double_resampler_get_ratio")
-  (return-type "none")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("guint32*" "ratio_num")
-    '("guint32*" "ratio_den")
-  )
-)
-
-(define-function resample_double_resampler_get_input_latency
-  (c-name "resample_double_resampler_get_input_latency")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-  )
-)
-
-(define-function resample_double_resampler_set_quality
-  (c-name "resample_double_resampler_set_quality")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("gint" "quality")
-  )
-)
-
-(define-function resample_double_resampler_reset_mem
-  (c-name "resample_double_resampler_reset_mem")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-  )
-)
-
-(define-function resample_double_resampler_skip_zeros
-  (c-name "resample_double_resampler_skip_zeros")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-  )
-)
-
-(define-function resample_double_resampler_strerror
-  (c-name "resample_double_resampler_strerror")
-  (return-type "const-char*")
-  (parameters
-    '("gint" "err")
-  )
-)
-
-(define-function resample_int_resampler_init
-  (c-name "resample_int_resampler_init")
-  (return-type "SpeexResamplerState*")
-  (parameters
-    '("guint32" "nb_channels")
-    '("guint32" "in_rate")
-    '("guint32" "out_rate")
-    '("gint" "quality")
-    '("gint*" "err")
-  )
-)
-
-(define-function resample_int_resampler_destroy
-  (c-name "resample_int_resampler_destroy")
-  (return-type "none")
-  (parameters
-    '("SpeexResamplerState*" "st")
-  )
-)
-
-(define-function resample_int_resampler_process_interleaved_int
-  (c-name "resample_int_resampler_process_interleaved_int")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("const-guint8*" "in")
-    '("guint32*" "in_len")
-    '("guint8*" "out")
-    '("guint32*" "out_len")
-  )
-)
-
-(define-function resample_int_resampler_set_rate
-  (c-name "resample_int_resampler_set_rate")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("guint32" "in_rate")
-    '("guint32" "out_rate")
-  )
-)
-
-(define-function resample_int_resampler_get_rate
-  (c-name "resample_int_resampler_get_rate")
-  (return-type "none")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("guint32*" "in_rate")
-    '("guint32*" "out_rate")
-  )
-)
-
-(define-function resample_int_resampler_get_ratio
-  (c-name "resample_int_resampler_get_ratio")
-  (return-type "none")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("guint32*" "ratio_num")
-    '("guint32*" "ratio_den")
-  )
-)
-
-(define-function resample_int_resampler_get_input_latency
-  (c-name "resample_int_resampler_get_input_latency")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-  )
-)
-
-(define-function resample_int_resampler_set_quality
-  (c-name "resample_int_resampler_set_quality")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-    '("gint" "quality")
-  )
-)
-
-(define-function resample_int_resampler_reset_mem
-  (c-name "resample_int_resampler_reset_mem")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-  )
-)
-
-(define-function resample_int_resampler_skip_zeros
-  (c-name "resample_int_resampler_skip_zeros")
-  (return-type "int")
-  (parameters
-    '("SpeexResamplerState*" "st")
-  )
-)
-
-(define-function resample_int_resampler_strerror
-  (c-name "resample_int_resampler_strerror")
-  (return-type "const-char*")
-  (parameters
-    '("gint" "err")
-  )
-)
-
-
-
-;; From gstssaparse.h
-
-(define-function gst_ssa_parse_get_type
-  (c-name "gst_ssa_parse_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gstsubparse.h
-
-(define-function gst_sub_parse_get_type
-  (c-name "gst_sub_parse_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From mpl2parse.h
-
-(define-function parse_mpl2
-  (c-name "parse_mpl2")
-  (return-type "gchar*")
-  (parameters
-    '("ParserState*" "state")
-    '("const-gchar*" "line")
-  )
-)
-
-
-
-;; From samiparse.h
-
-(define-function parse_sami
-  (c-name "parse_sami")
-  (return-type "gchar*")
-  (parameters
-    '("ParserState*" "state")
-    '("const-gchar*" "line")
-  )
-)
-
-(define-function sami_context_init
-  (c-name "sami_context_init")
-  (return-type "none")
-  (parameters
-    '("ParserState*" "state")
-  )
-)
-
-(define-function sami_context_deinit
-  (c-name "sami_context_deinit")
-  (return-type "none")
-  (parameters
-    '("ParserState*" "state")
-  )
-)
-
-(define-function sami_context_reset
-  (c-name "sami_context_reset")
-  (return-type "none")
-  (parameters
-    '("ParserState*" "state")
-  )
-)
-
-
-
-;; From tmplayerparse.h
-
-(define-function parse_tmplayer
-  (c-name "parse_tmplayer")
-  (return-type "gchar*")
-  (parameters
-    '("ParserState*" "state")
-    '("const-gchar*" "line")
-  )
-)
-
-
-
-;; From gstmultifdsink.h
-
-(define-function gst_multi_fd_sink_get_type
-  (c-name "gst_multi_fd_sink_get_type")
-  (return-type "GType")
-)
-
-(define-method add
-  (of-object "GstMultiFdSink")
-  (c-name "gst_multi_fd_sink_add")
-  (return-type "none")
-  (parameters
-    '("int" "fd")
-  )
-)
-
-(define-method add_full
-  (of-object "GstMultiFdSink")
-  (c-name "gst_multi_fd_sink_add_full")
-  (return-type "none")
-  (parameters
-    '("int" "fd")
-    '("GstSyncMethod" "sync")
-    '("GstTCPUnitType" "min_unit")
-    '("guint64" "min_value")
-    '("GstTCPUnitType" "max_unit")
-    '("guint64" "max_value")
-  )
-)
-
-(define-method remove
-  (of-object "GstMultiFdSink")
-  (c-name "gst_multi_fd_sink_remove")
-  (return-type "none")
-  (parameters
-    '("int" "fd")
-  )
-)
-
-(define-method remove_flush
-  (of-object "GstMultiFdSink")
-  (c-name "gst_multi_fd_sink_remove_flush")
-  (return-type "none")
-  (parameters
-    '("int" "fd")
-  )
-)
-
-(define-method clear
-  (of-object "GstMultiFdSink")
-  (c-name "gst_multi_fd_sink_clear")
-  (return-type "none")
-)
-
-(define-method get_stats
-  (of-object "GstMultiFdSink")
-  (c-name "gst_multi_fd_sink_get_stats")
-  (return-type "GValueArray*")
-  (parameters
-    '("int" "fd")
-  )
-)
-
-
-
-;; From gsttcpclientsink.h
-
-(define-function gst_tcp_client_sink_get_type
-  (c-name "gst_tcp_client_sink_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gsttcpclientsrc.h
-
-(define-function gst_tcp_client_src_get_type
-  (c-name "gst_tcp_client_src_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gsttcp-enumtypes.h
-
-(define-function gst_tcp_protocol_get_type
-  (c-name "gst_tcp_protocol_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gsttcp.h
-
-(define-function gst_tcp_host_to_ip
-  (c-name "gst_tcp_host_to_ip")
-  (return-type "gchar*")
-  (parameters
-    '("GstElement*" "element")
-    '("const-gchar*" "host")
-  )
-)
-
-(define-function gst_tcp_socket_write
-  (c-name "gst_tcp_socket_write")
-  (return-type "gint")
-  (parameters
-    '("int" "socket")
-    '("const-void*" "buf")
-    '("size_t" "count")
-  )
-)
-
-(define-function gst_tcp_socket_close
-  (c-name "gst_tcp_socket_close")
-  (return-type "none")
-  (parameters
-    '("GstPollFD*" "socket")
-  )
-)
-
-(define-function gst_tcp_read_buffer
-  (c-name "gst_tcp_read_buffer")
-  (return-type "GstFlowReturn")
-  (parameters
-    '("GstElement*" "this")
-    '("int" "socket")
-    '("GstPoll*" "fdset")
-    '("GstBuffer**" "buf")
-  )
-)
-
-(define-function gst_tcp_gdp_read_buffer
-  (c-name "gst_tcp_gdp_read_buffer")
-  (return-type "GstFlowReturn")
-  (parameters
-    '("GstElement*" "this")
-    '("int" "socket")
-    '("GstPoll*" "fdset")
-    '("GstBuffer**" "buf")
-  )
-)
-
-(define-function gst_tcp_gdp_read_caps
-  (c-name "gst_tcp_gdp_read_caps")
-  (return-type "GstFlowReturn")
-  (parameters
-    '("GstElement*" "this")
-    '("int" "socket")
-    '("GstPoll*" "fdset")
-    '("GstCaps**" "caps")
-  )
-)
-
-(define-function gst_tcp_gdp_read_event
-  (c-name "gst_tcp_gdp_read_event")
-  (return-type "GstEvent*")
-  (parameters
-    '("GstElement*" "elem")
-    '("int" "socket")
-    '("GstPoll*" "fdset")
-  )
-)
-
-(define-function gst_tcp_gdp_write_buffer
-  (c-name "gst_tcp_gdp_write_buffer")
-  (return-type "gboolean")
-  (parameters
-    '("GstElement*" "elem")
-    '("int" "socket")
-    '("GstBuffer*" "buffer")
-    '("gboolean" "fatal")
-    '("const-gchar*" "host")
-    '("int" "port")
-  )
-)
-
-(define-function gst_tcp_gdp_write_event
-  (c-name "gst_tcp_gdp_write_event")
-  (return-type "gboolean")
-  (parameters
-    '("GstElement*" "elem")
-    '("int" "socket")
-    '("GstEvent*" "event")
-    '("gboolean" "fatal")
-    '("const-gchar*" "host")
-    '("int" "port")
-  )
-)
-
-(define-function gst_tcp_gdp_write_caps
-  (c-name "gst_tcp_gdp_write_caps")
-  (return-type "gboolean")
-  (parameters
-    '("GstElement*" "elem")
-    '("int" "socket")
-    '("const-GstCaps*" "caps")
-    '("gboolean" "fatal")
-    '("const-gchar*" "host")
-    '("int" "port")
-  )
-)
-
-
-
-;; From gsttcp-marshal.h
-
-
-
-;; From gsttcpplugin.h
-
-
-
-;; From gsttcpserversink.h
-
-(define-function gst_tcp_server_sink_get_type
-  (c-name "gst_tcp_server_sink_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gsttcpserversrc.h
-
-(define-function gst_tcp_server_src_get_type
-  (c-name "gst_tcp_server_src_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gstvideorate.h
-
-
-
-;; From gstvideoscale.h
-
-(define-function gst_video_scale_get_type
-  (c-name "gst_video_scale_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From vs_4tap.h
-
-(define-function vs_4tap_init
-  (c-name "vs_4tap_init")
-  (return-type "none")
-)
-
-(define-function vs_scanline_resample_4tap_Y
-  (c-name "vs_scanline_resample_4tap_Y")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-    '("int" "src_width")
-    '("int*" "xacc")
-    '("int" "increment")
-  )
-)
-
-(define-function vs_scanline_merge_4tap_Y
-  (c-name "vs_scanline_merge_4tap_Y")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src1")
-    '("uint8_t*" "src2")
-    '("uint8_t*" "src3")
-    '("uint8_t*" "src4")
-    '("int" "n")
-    '("int" "acc")
-  )
-)
-
-(define-method scale_4tap_Y
-  (of-object "VSImage")
-  (c-name "vs_image_scale_4tap_Y")
-  (return-type "none")
-  (parameters
-    '("const-VSImage*" "src")
-    '("uint8_t*" "tmpbuf")
-  )
-)
-
-
-
-;; From vs_image.h
-
-(define-method scale_nearest_RGBA
-  (of-object "VSImage")
-  (c-name "vs_image_scale_nearest_RGBA")
-  (return-type "none")
-  (parameters
-    '("const-VSImage*" "src")
-    '("uint8_t*" "tmpbuf")
-  )
-)
-
-(define-method scale_linear_RGBA
-  (of-object "VSImage")
-  (c-name "vs_image_scale_linear_RGBA")
-  (return-type "none")
-  (parameters
-    '("const-VSImage*" "src")
-    '("uint8_t*" "tmpbuf")
-  )
-)
-
-(define-method scale_nearest_RGB
-  (of-object "VSImage")
-  (c-name "vs_image_scale_nearest_RGB")
-  (return-type "none")
-  (parameters
-    '("const-VSImage*" "src")
-    '("uint8_t*" "tmpbuf")
-  )
-)
-
-(define-method scale_linear_RGB
-  (of-object "VSImage")
-  (c-name "vs_image_scale_linear_RGB")
-  (return-type "none")
-  (parameters
-    '("const-VSImage*" "src")
-    '("uint8_t*" "tmpbuf")
-  )
-)
-
-(define-method scale_nearest_YUYV
-  (of-object "VSImage")
-  (c-name "vs_image_scale_nearest_YUYV")
-  (return-type "none")
-  (parameters
-    '("const-VSImage*" "src")
-    '("uint8_t*" "tmpbuf")
-  )
-)
-
-(define-method scale_linear_YUYV
-  (of-object "VSImage")
-  (c-name "vs_image_scale_linear_YUYV")
-  (return-type "none")
-  (parameters
-    '("const-VSImage*" "src")
-    '("uint8_t*" "tmpbuf")
-  )
-)
-
-(define-method scale_nearest_UYVY
-  (of-object "VSImage")
-  (c-name "vs_image_scale_nearest_UYVY")
-  (return-type "none")
-  (parameters
-    '("const-VSImage*" "src")
-    '("uint8_t*" "tmpbuf")
-  )
-)
-
-(define-method scale_linear_UYVY
-  (of-object "VSImage")
-  (c-name "vs_image_scale_linear_UYVY")
-  (return-type "none")
-  (parameters
-    '("const-VSImage*" "src")
-    '("uint8_t*" "tmpbuf")
-  )
-)
-
-(define-method scale_nearest_Y
-  (of-object "VSImage")
-  (c-name "vs_image_scale_nearest_Y")
-  (return-type "none")
-  (parameters
-    '("const-VSImage*" "src")
-    '("uint8_t*" "tmpbuf")
-  )
-)
-
-(define-method scale_linear_Y
-  (of-object "VSImage")
-  (c-name "vs_image_scale_linear_Y")
-  (return-type "none")
-  (parameters
-    '("const-VSImage*" "src")
-    '("uint8_t*" "tmpbuf")
-  )
-)
-
-(define-method scale_nearest_RGB565
-  (of-object "VSImage")
-  (c-name "vs_image_scale_nearest_RGB565")
-  (return-type "none")
-  (parameters
-    '("const-VSImage*" "src")
-    '("uint8_t*" "tmpbuf")
-  )
-)
-
-(define-method scale_linear_RGB565
-  (of-object "VSImage")
-  (c-name "vs_image_scale_linear_RGB565")
-  (return-type "none")
-  (parameters
-    '("const-VSImage*" "src")
-    '("uint8_t*" "tmpbuf")
-  )
-)
-
-(define-method scale_nearest_RGB555
-  (of-object "VSImage")
-  (c-name "vs_image_scale_nearest_RGB555")
-  (return-type "none")
-  (parameters
-    '("const-VSImage*" "src")
-    '("uint8_t*" "tmpbuf")
-  )
-)
-
-(define-method scale_linear_RGB555
-  (of-object "VSImage")
-  (c-name "vs_image_scale_linear_RGB555")
-  (return-type "none")
-  (parameters
-    '("const-VSImage*" "src")
-    '("uint8_t*" "tmpbuf")
-  )
-)
-
-
-
-;; From vs_scanline.h
-
-(define-function vs_scanline_downsample_Y
-  (c-name "vs_scanline_downsample_Y")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-  )
-)
-
-(define-function vs_scanline_resample_nearest_Y
-  (c-name "vs_scanline_resample_nearest_Y")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-    '("int*" "accumulator")
-    '("int" "increment")
-  )
-)
-
-(define-function vs_scanline_resample_linear_Y
-  (c-name "vs_scanline_resample_linear_Y")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-    '("int*" "accumulator")
-    '("int" "increment")
-  )
-)
-
-(define-function vs_scanline_merge_linear_Y
-  (c-name "vs_scanline_merge_linear_Y")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src1")
-    '("uint8_t*" "src2")
-    '("int" "n")
-    '("int" "x")
-  )
-)
-
-(define-function vs_scanline_downsample_RGBA
-  (c-name "vs_scanline_downsample_RGBA")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-  )
-)
-
-(define-function vs_scanline_resample_nearest_RGBA
-  (c-name "vs_scanline_resample_nearest_RGBA")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-    '("int*" "accumulator")
-    '("int" "increment")
-  )
-)
-
-(define-function vs_scanline_resample_linear_RGBA
-  (c-name "vs_scanline_resample_linear_RGBA")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-    '("int*" "accumulator")
-    '("int" "increment")
-  )
-)
-
-(define-function vs_scanline_merge_linear_RGBA
-  (c-name "vs_scanline_merge_linear_RGBA")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src1")
-    '("uint8_t*" "src2")
-    '("int" "n")
-    '("int" "x")
-  )
-)
-
-(define-function vs_scanline_downsample_RGB
-  (c-name "vs_scanline_downsample_RGB")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-  )
-)
-
-(define-function vs_scanline_resample_nearest_RGB
-  (c-name "vs_scanline_resample_nearest_RGB")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-    '("int*" "accumulator")
-    '("int" "increment")
-  )
-)
-
-(define-function vs_scanline_resample_linear_RGB
-  (c-name "vs_scanline_resample_linear_RGB")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-    '("int*" "accumulator")
-    '("int" "increment")
-  )
-)
-
-(define-function vs_scanline_merge_linear_RGB
-  (c-name "vs_scanline_merge_linear_RGB")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src1")
-    '("uint8_t*" "src2")
-    '("int" "n")
-    '("int" "x")
-  )
-)
-
-(define-function vs_scanline_downsample_YUYV
-  (c-name "vs_scanline_downsample_YUYV")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-  )
-)
-
-(define-function vs_scanline_resample_nearest_YUYV
-  (c-name "vs_scanline_resample_nearest_YUYV")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-    '("int*" "accumulator")
-    '("int" "increment")
-  )
-)
-
-(define-function vs_scanline_resample_linear_YUYV
-  (c-name "vs_scanline_resample_linear_YUYV")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-    '("int*" "accumulator")
-    '("int" "increment")
-  )
-)
-
-(define-function vs_scanline_merge_linear_YUYV
-  (c-name "vs_scanline_merge_linear_YUYV")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src1")
-    '("uint8_t*" "src2")
-    '("int" "n")
-    '("int" "x")
-  )
-)
-
-(define-function vs_scanline_downsample_UYVY
-  (c-name "vs_scanline_downsample_UYVY")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-  )
-)
-
-(define-function vs_scanline_resample_nearest_UYVY
-  (c-name "vs_scanline_resample_nearest_UYVY")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-    '("int*" "accumulator")
-    '("int" "increment")
-  )
-)
-
-(define-function vs_scanline_resample_linear_UYVY
-  (c-name "vs_scanline_resample_linear_UYVY")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-    '("int*" "accumulator")
-    '("int" "increment")
-  )
-)
-
-(define-function vs_scanline_merge_linear_UYVY
-  (c-name "vs_scanline_merge_linear_UYVY")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src1")
-    '("uint8_t*" "src2")
-    '("int" "n")
-    '("int" "x")
-  )
-)
-
-(define-function vs_scanline_downsample_RGB565
-  (c-name "vs_scanline_downsample_RGB565")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-  )
-)
-
-(define-function vs_scanline_resample_nearest_RGB565
-  (c-name "vs_scanline_resample_nearest_RGB565")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-    '("int*" "accumulator")
-    '("int" "increment")
-  )
-)
-
-(define-function vs_scanline_resample_linear_RGB565
-  (c-name "vs_scanline_resample_linear_RGB565")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-    '("int*" "accumulator")
-    '("int" "increment")
-  )
-)
-
-(define-function vs_scanline_merge_linear_RGB565
-  (c-name "vs_scanline_merge_linear_RGB565")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src1")
-    '("uint8_t*" "src2")
-    '("int" "n")
-    '("int" "x")
-  )
-)
-
-(define-function vs_scanline_downsample_RGB555
-  (c-name "vs_scanline_downsample_RGB555")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-  )
-)
-
-(define-function vs_scanline_resample_nearest_RGB555
-  (c-name "vs_scanline_resample_nearest_RGB555")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-    '("int*" "accumulator")
-    '("int" "increment")
-  )
-)
-
-(define-function vs_scanline_resample_linear_RGB555
-  (c-name "vs_scanline_resample_linear_RGB555")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src")
-    '("int" "n")
-    '("int*" "accumulator")
-    '("int" "increment")
-  )
-)
-
-(define-function vs_scanline_merge_linear_RGB555
-  (c-name "vs_scanline_merge_linear_RGB555")
-  (return-type "none")
-  (parameters
-    '("uint8_t*" "dest")
-    '("uint8_t*" "src1")
-    '("uint8_t*" "src2")
-    '("int" "n")
-    '("int" "x")
-  )
-)
-
-
-
-;; From gstvideotestsrc.h
-
-(define-function gst_video_test_src_get_type
-  (c-name "gst_video_test_src_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From videotestsrc.h
-
-(define-function paint_get_structure
-  (c-name "paint_get_structure")
-  (return-type "GstStructure*")
-  (parameters
-    '("struct-fourcc_list_struct*" "format")
-  )
-)
-
-(define-method get_size
-  (of-object "GstVideoTestSrc")
-  (c-name "gst_video_test_src_get_size")
-  (return-type "int")
-  (parameters
-    '("int" "w")
-    '("int" "h")
-  )
-)
-
-(define-method smpte
-  (of-object "GstVideoTestSrc")
-  (c-name "gst_video_test_src_smpte")
-  (return-type "none")
-  (parameters
-    '("unsigned-char*" "dest")
-    '("int" "w")
-    '("int" "h")
-  )
-)
-
-(define-method smpte75
-  (of-object "GstVideoTestSrc")
-  (c-name "gst_video_test_src_smpte75")
-  (return-type "none")
-  (parameters
-    '("unsigned-char*" "dest")
-    '("int" "w")
-    '("int" "h")
-  )
-)
-
-(define-method snow
-  (of-object "GstVideoTestSrc")
-  (c-name "gst_video_test_src_snow")
-  (return-type "none")
-  (parameters
-    '("unsigned-char*" "dest")
-    '("int" "w")
-    '("int" "h")
-  )
-)
-
-(define-method black
-  (of-object "GstVideoTestSrc")
-  (c-name "gst_video_test_src_black")
-  (return-type "none")
-  (parameters
-    '("unsigned-char*" "dest")
-    '("int" "w")
-    '("int" "h")
-  )
-)
-
-(define-method white
-  (of-object "GstVideoTestSrc")
-  (c-name "gst_video_test_src_white")
-  (return-type "none")
-  (parameters
-    '("unsigned-char*" "dest")
-    '("int" "w")
-    '("int" "h")
-  )
-)
-
-(define-method red
-  (of-object "GstVideoTestSrc")
-  (c-name "gst_video_test_src_red")
-  (return-type "none")
-  (parameters
-    '("unsigned-char*" "dest")
-    '("int" "w")
-    '("int" "h")
-  )
-)
-
-(define-method green
-  (of-object "GstVideoTestSrc")
-  (c-name "gst_video_test_src_green")
-  (return-type "none")
-  (parameters
-    '("unsigned-char*" "dest")
-    '("int" "w")
-    '("int" "h")
-  )
-)
-
-(define-method blue
-  (of-object "GstVideoTestSrc")
-  (c-name "gst_video_test_src_blue")
-  (return-type "none")
-  (parameters
-    '("unsigned-char*" "dest")
-    '("int" "w")
-    '("int" "h")
-  )
-)
-
-(define-method checkers1
-  (of-object "GstVideoTestSrc")
-  (c-name "gst_video_test_src_checkers1")
-  (return-type "none")
-  (parameters
-    '("unsigned-char*" "dest")
-    '("int" "w")
-    '("int" "h")
-  )
-)
-
-(define-method checkers2
-  (of-object "GstVideoTestSrc")
-  (c-name "gst_video_test_src_checkers2")
-  (return-type "none")
-  (parameters
-    '("unsigned-char*" "dest")
-    '("int" "w")
-    '("int" "h")
-  )
-)
-
-(define-method checkers4
-  (of-object "GstVideoTestSrc")
-  (c-name "gst_video_test_src_checkers4")
-  (return-type "none")
-  (parameters
-    '("unsigned-char*" "dest")
-    '("int" "w")
-    '("int" "h")
-  )
-)
-
-(define-method checkers8
-  (of-object "GstVideoTestSrc")
-  (c-name "gst_video_test_src_checkers8")
-  (return-type "none")
-  (parameters
-    '("unsigned-char*" "dest")
-    '("int" "w")
-    '("int" "h")
-  )
-)
-
-(define-method circular
-  (of-object "GstVideoTestSrc")
-  (c-name "gst_video_test_src_circular")
-  (return-type "none")
-  (parameters
-    '("unsigned-char*" "dest")
-    '("int" "w")
-    '("int" "h")
-  )
-)
-
-(define-method zoneplate
-  (of-object "GstVideoTestSrc")
-  (c-name "gst_video_test_src_zoneplate")
-  (return-type "none")
-  (parameters
-    '("unsigned-char*" "dest")
-    '("int" "w")
-    '("int" "h")
-  )
-)
-
-
-
-;; From gstvolume.h
-
-(define-function gst_volume_get_type
-  (c-name "gst_volume_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gstalsadeviceprobe.h
-
-(define-function gst_alsa_type_add_device_property_probe_interface
-  (c-name "gst_alsa_type_add_device_property_probe_interface")
-  (return-type "none")
-  (parameters
-    '("GType" "type")
-  )
-)
-
-
-
-;; From gstalsa.h
-
-(define-function gst_alsa_open_iec958_pcm
-  (c-name "gst_alsa_open_iec958_pcm")
-  (return-type "snd_pcm_t*")
-  (parameters
-    '("GstObject*" "obj")
-  )
-)
-
-(define-function gst_alsa_probe_supported_formats
-  (c-name "gst_alsa_probe_supported_formats")
-  (return-type "GstCaps*")
-  (parameters
-    '("GstObject*" "obj")
-    '("snd_pcm_t*" "handle")
-    '("const-GstCaps*" "template_caps")
-  )
-)
-
-(define-function gst_alsa_find_device_name
-  (c-name "gst_alsa_find_device_name")
-  (return-type "gchar*")
-  (parameters
-    '("GstObject*" "obj")
-    '("const-gchar*" "device")
-    '("snd_pcm_t*" "handle")
-    '("snd_pcm_stream_t" "stream")
-  )
-)
-
-
-
-;; From gstalsamixerelement.h
-
-(define-function gst_alsa_mixer_element_get_type
-  (c-name "gst_alsa_mixer_element_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gstalsamixer.h
-
-(define-function gst_alsa_mixer_new
-  (c-name "gst_alsa_mixer_new")
-  (is-constructor-of "GstAlsaMixer")
-  (return-type "GstAlsaMixer*")
-  (parameters
-    '("const-gchar*" "device")
-    '("GstAlsaMixerDirection" "dir")
-  )
-)
-
-(define-method free
-  (of-object "GstAlsaMixer")
-  (c-name "gst_alsa_mixer_free")
-  (return-type "none")
-)
-
-(define-method list_tracks
-  (of-object "GstAlsaMixer")
-  (c-name "gst_alsa_mixer_list_tracks")
-  (return-type "const-GList*")
-)
-
-(define-method set_volume
-  (of-object "GstAlsaMixer")
-  (c-name "gst_alsa_mixer_set_volume")
-  (return-type "none")
-  (parameters
-    '("GstMixerTrack*" "track")
-    '("gint*" "volumes")
-  )
-)
-
-(define-method get_volume
-  (of-object "GstAlsaMixer")
-  (c-name "gst_alsa_mixer_get_volume")
-  (return-type "none")
-  (parameters
-    '("GstMixerTrack*" "track")
-    '("gint*" "volumes")
-  )
-)
-
-(define-method set_record
-  (of-object "GstAlsaMixer")
-  (c-name "gst_alsa_mixer_set_record")
-  (return-type "none")
-  (parameters
-    '("GstMixerTrack*" "track")
-    '("gboolean" "record")
-  )
-)
-
-(define-method set_mute
-  (of-object "GstAlsaMixer")
-  (c-name "gst_alsa_mixer_set_mute")
-  (return-type "none")
-  (parameters
-    '("GstMixerTrack*" "track")
-    '("gboolean" "mute")
-  )
-)
-
-(define-method set_option
-  (of-object "GstAlsaMixer")
-  (c-name "gst_alsa_mixer_set_option")
-  (return-type "none")
-  (parameters
-    '("GstMixerOptions*" "opts")
-    '("gchar*" "value")
-  )
-)
-
-(define-method get_option
-  (of-object "GstAlsaMixer")
-  (c-name "gst_alsa_mixer_get_option")
-  (return-type "const-gchar*")
-  (parameters
-    '("GstMixerOptions*" "opts")
-  )
-)
-
-(define-method get_mixer_flags
-  (of-object "GstAlsaMixer")
-  (c-name "gst_alsa_mixer_get_mixer_flags")
-  (return-type "GstMixerFlags")
-)
-
-
-
-;; From gstalsamixeroptions.h
-
-(define-function gst_alsa_mixer_options_get_type
-  (c-name "gst_alsa_mixer_options_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_alsa_mixer_options_new
-  (c-name "gst_alsa_mixer_options_new")
-  (is-constructor-of "GstAlsaMixerOptions")
-  (return-type "GstMixerOptions*")
-  (parameters
-    '("snd_mixer_elem_t*" "element")
-    '("gint" "track_num")
-  )
-)
-
-
-
-;; From gstalsamixertrack.h
-
-(define-function gst_alsa_mixer_track_get_type
-  (c-name "gst_alsa_mixer_track_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_alsa_mixer_track_new
-  (c-name "gst_alsa_mixer_track_new")
-  (is-constructor-of "GstAlsaMixerTrack")
-  (return-type "GstMixerTrack*")
-  (parameters
-    '("snd_mixer_elem_t*" "element")
-    '("gint" "num")
-    '("gint" "track_num")
-    '("gint" "flags")
-    '("gboolean" "sw")
-    '("GstAlsaMixerTrack*" "shared_mute_track")
-    '("gboolean" "label_append_capture")
-  )
-)
-
-(define-method update
-  (of-object "GstAlsaMixerTrack")
-  (c-name "gst_alsa_mixer_track_update")
-  (return-type "none")
-)
-
-
-
-;; From gstalsasink.h
-
-(define-function gst_alsasink_get_type
-  (c-name "gst_alsasink_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gstalsasrc.h
-
-(define-function gst_alsasrc_get_type
-  (c-name "gst_alsasrc_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gstcdparanoiasrc.h
-
-(define-function gst_cd_paranoia_src_get_type
-  (c-name "gst_cd_paranoia_src_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gstgiobasesink.h
-
-(define-function gst_gio_base_sink_get_type
-  (c-name "gst_gio_base_sink_get_type")
-  (return-type "GType")
-)
-
-(define-method set_stream
-  (of-object "GstGioBaseSink")
-  (c-name "gst_gio_base_sink_set_stream")
-  (return-type "none")
-  (parameters
-    '("GOutputStream*" "stream")
-  )
-)
-
-
-
-;; From gstgiobasesrc.h
-
-(define-function gst_gio_base_src_get_type
-  (c-name "gst_gio_base_src_get_type")
-  (return-type "GType")
-)
-
-(define-method set_stream
-  (of-object "GstGioBaseSrc")
-  (c-name "gst_gio_base_src_set_stream")
-  (return-type "none")
-  (parameters
-    '("GInputStream*" "stream")
-  )
-)
-
-
-
-;; From gstgio.h
-
-(define-function gst_gio_error
-  (c-name "gst_gio_error")
-  (return-type "gboolean")
-  (parameters
-    '("gpointer" "element")
-    '("const-gchar*" "func_name")
-    '("GError**" "err")
-    '("GstFlowReturn*" "ret")
-  )
-)
-
-(define-function gst_gio_seek
-  (c-name "gst_gio_seek")
-  (return-type "GstFlowReturn")
-  (parameters
-    '("gpointer" "element")
-    '("GSeekable*" "stream")
-    '("guint64" "offset")
-    '("GCancellable*" "cancel")
-  )
-)
-
-(define-function gst_gio_uri_handler_do_init
-  (c-name "gst_gio_uri_handler_do_init")
-  (return-type "none")
-  (parameters
-    '("GType" "type")
-  )
-)
-
-
-
-;; From gstgiosink.h
-
-(define-function gst_gio_sink_get_type
-  (c-name "gst_gio_sink_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gstgiosrc.h
-
-(define-function gst_gio_src_get_type
-  (c-name "gst_gio_src_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gstgiostreamsink.h
-
-(define-function gst_gio_stream_sink_get_type
-  (c-name "gst_gio_stream_sink_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gstgiostreamsrc.h
-
-(define-function gst_gio_stream_src_get_type
-  (c-name "gst_gio_stream_src_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gstgnomevfs.h
-
-(define-function gst_gnome_vfs_uri_get_type
-  (c-name "gst_gnome_vfs_uri_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_gnome_vfs_handle_get_type
-  (c-name "gst_gnome_vfs_handle_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_gnome_vfs_location_to_uri_string
-  (c-name "gst_gnome_vfs_location_to_uri_string")
-  (return-type "gchar*")
-  (parameters
-    '("const-gchar*" "location")
-  )
-)
-
-
-
-;; From gstgnomevfssink.h
-
-(define-function gst_gnome_vfs_sink_get_type
-  (c-name "gst_gnome_vfs_sink_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gstgnomevfssrc.h
-
-(define-function gst_gnome_vfs_src_get_type
-  (c-name "gst_gnome_vfs_src_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gstgnomevfsuri.h
-
-(define-function gst_gnomevfs_get_supported_uris
-  (c-name "gst_gnomevfs_get_supported_uris")
-  (return-type "gchar**")
-)
-
-
-
-;; From gstoggdemux.h
-
-
-
-;; From gstoggmux.h
-
-(define-function gst_ogg_mux_get_type
-  (c-name "gst_ogg_mux_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gstclockoverlay.h
-
-(define-function gst_clock_overlay_get_type
-  (c-name "gst_clock_overlay_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gsttextoverlay.h
-
-(define-function gst_text_overlay_get_type
-  (c-name "gst_text_overlay_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gsttextrender.h
-
-(define-function gst_text_render_get_type
-  (c-name "gst_text_render_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gsttimeoverlay.h
-
-(define-function gst_time_overlay_get_type
-  (c-name "gst_time_overlay_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From gsttheoradec.h
-
-
-
-;; From gsttheoraenc.h
-
-
-
-;; From gsttheoraparse.h
-
-(define-function gst_theora_parse_get_type
-  (c-name "gst_theora_parse_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From vorbisdec.h
-
-(define-function gst_vorbis_dec_get_type
-  (c-name "gst_vorbis_dec_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From vorbisenc.h
-
-(define-function gst_vorbis_enc_get_type
-  (c-name "gst_vorbis_enc_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From vorbisparse.h
-
-(define-function gst_vorbis_parse_get_type
-  (c-name "gst_vorbis_parse_get_type")
-  (return-type "GType")
-)
-
-
-
-;; From vorbistag.h
-
-(define-function gst_vorbis_tag_get_type
-  (c-name "gst_vorbis_tag_get_type")
-  (return-type "GType")
-)
-
-



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]