[vala] gstreamer-base-0.10: Update bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] gstreamer-base-0.10: Update bindings
- Date: Wed, 8 Apr 2009 13:49:31 -0400 (EDT)
commit 59736b10e97fb5ae5bccac432fa7b01f8e4314a8
Author: Sebastian Pölsterl <sebp k-d-w org>
Date: Tue Apr 7 18:02:02 2009 +0200
gstreamer-base-0.10: Update bindings
---
vapi/gstreamer-base-0.10.vapi | 106 ++++-
.../gstreamer-base-0.10/gstreamer-base-0.10.gi | 603 +++++++++++++++++++-
.../gstreamer-base-0.10.metadata | 11 +
3 files changed, 718 insertions(+), 2 deletions(-)
diff --git a/vapi/gstreamer-base-0.10.vapi b/vapi/gstreamer-base-0.10.vapi
index 1153f7b..bfbed1b 100644
--- a/vapi/gstreamer-base-0.10.vapi
+++ b/vapi/gstreamer-base-0.10.vapi
@@ -44,15 +44,18 @@ namespace Gst {
public virtual Gst.StateChangeReturn async_play ();
[NoWrapper]
public virtual Gst.FlowReturn buffer_alloc (uint64 offset, uint size, Gst.Caps caps, out unowned Gst.Buffer buf);
+ public Gst.FlowReturn do_preroll (Gst.MiniObject obj);
[NoWrapper]
public virtual bool event (Gst.Event event);
[NoWrapper]
public virtual void fixate (Gst.Caps caps);
+ public uint get_blocksize ();
[NoWrapper]
public virtual unowned Gst.Caps get_caps ();
public unowned Gst.Buffer get_last_buffer ();
public Gst.ClockTime get_latency ();
public int64 get_max_lateness ();
+ public Gst.ClockTime get_render_delay ();
public bool get_sync ();
[NoWrapper]
public virtual void get_times (Gst.Buffer buffer, out Gst.ClockTime start, out Gst.ClockTime end);
@@ -65,10 +68,12 @@ namespace Gst {
[NoWrapper]
public virtual Gst.FlowReturn render (Gst.Buffer buffer);
public void set_async_enabled (bool enabled);
+ public void set_blocksize (uint blocksize);
[NoWrapper]
public virtual bool set_caps (Gst.Caps caps);
public void set_max_lateness (int64 max_lateness);
public void set_qos_enabled (bool enabled);
+ public void set_render_delay (Gst.ClockTime delay);
public void set_sync (bool sync);
public void set_ts_offset (Gst.ClockTimeDiff offset);
[NoWrapper]
@@ -84,12 +89,14 @@ namespace Gst {
public Gst.FlowReturn wait_preroll ();
[NoAccessorMethod]
public bool async { get; set; }
+ public uint blocksize { get; set; }
public Gst.Buffer last_buffer { get; }
public int64 max_lateness { get; set; }
[NoAccessorMethod]
public uint preroll_queue_len { get; set construct; }
[NoAccessorMethod]
public bool qos { get; set; }
+ public uint64 render_delay { get; set; }
public bool sync { get; set; }
public int64 ts_offset { get; set; }
}
@@ -121,6 +128,7 @@ namespace Gst {
public virtual bool event (Gst.Event event);
[NoWrapper]
public virtual void fixate (Gst.Caps caps);
+ public ulong get_blocksize ();
[NoWrapper]
public virtual unowned Gst.Caps get_caps ();
public bool get_do_timestamp ();
@@ -140,6 +148,7 @@ namespace Gst {
[NoWrapper]
public virtual bool query (Gst.Query query);
public bool query_latency (bool live, out Gst.ClockTime min_latency, out Gst.ClockTime max_latency);
+ public void set_blocksize (ulong blocksize);
[NoWrapper]
public virtual bool set_caps (Gst.Caps caps);
public void set_do_timestamp (bool timestamp);
@@ -154,7 +163,6 @@ namespace Gst {
[NoWrapper]
public virtual bool unlock_stop ();
public Gst.FlowReturn wait_playing ();
- [NoAccessorMethod]
public ulong blocksize { get; set; }
public bool do_timestamp { get; set; }
[NoAccessorMethod]
@@ -182,6 +190,8 @@ namespace Gst {
public const string SINK_NAME;
public const string SRC_NAME;
[NoWrapper]
+ public virtual void before_transform (Gst.Buffer buffer);
+ [NoWrapper]
public virtual bool event (Gst.Event event);
[NoWrapper]
public virtual void fixate_caps (Gst.PadDirection direction, Gst.Caps caps, Gst.Caps othercaps);
@@ -192,6 +202,7 @@ namespace Gst {
public bool is_qos_enabled ();
[NoWrapper]
public virtual Gst.FlowReturn prepare_output_buffer (Gst.Buffer input, int size, Gst.Caps caps, out unowned Gst.Buffer buf);
+ public void reconfigure ();
[NoWrapper]
public virtual bool set_caps (Gst.Caps incaps, Gst.Caps outcaps);
public void set_gap_aware (bool gap_aware);
@@ -204,6 +215,7 @@ namespace Gst {
public virtual bool start ();
[NoWrapper]
public virtual bool stop ();
+ public void suggest (Gst.Caps caps, uint size);
[NoWrapper]
public virtual Gst.FlowReturn transform (Gst.Buffer inbuf, Gst.Buffer outbuf);
[NoWrapper]
@@ -217,6 +229,96 @@ namespace Gst {
public bool qos { get; set; }
}
[Compact]
+ [CCode (cheader_filename = "gst/gst.h")]
+ public class BitReader {
+ public uint bit;
+ public uint byte;
+ public uchar data;
+ public uint size;
+ [CCode (has_construct_function = false)]
+ public BitReader.from_buffer (Gst.Buffer buffer);
+ public bool get_bits_uint16 (out uint16 val, uint nbits);
+ public bool get_bits_uint32 (out uint32 val, uint nbits);
+ public bool get_bits_uint64 (out uint64 val, uint nbits);
+ public bool get_bits_uint8 (out uchar val, uint nbits);
+ public uint get_pos ();
+ public uint get_remaining ();
+ public void init (uchar data, uint size);
+ public void init_from_buffer (Gst.Buffer buffer);
+ [CCode (has_construct_function = false)]
+ public BitReader (uchar data, uint size);
+ public bool peek_bits_uint16 (out uint16 val, uint nbits);
+ public bool peek_bits_uint32 (out uint32 val, uint nbits);
+ public bool peek_bits_uint64 (out uint64 val, uint nbits);
+ public bool peek_bits_uint8 (out uchar val, uint nbits);
+ public bool set_pos (uint pos);
+ public bool skip (uint nbits);
+ public bool skip_to_byte ();
+ }
+ [Compact]
+ [CCode (cheader_filename = "gst/gst.h")]
+ public class ByteReader {
+ public uint byte;
+ public uchar data;
+ public uint size;
+ [CCode (has_construct_function = false)]
+ public ByteReader.from_buffer (Gst.Buffer buffer);
+ public bool get_data (uint size, out uchar val);
+ public bool get_float32_be (out float val);
+ public bool get_float32_le (out float val);
+ public bool get_float64_be (out double val);
+ public bool get_float64_le (out double val);
+ public bool get_int16_be (out int16 val);
+ public bool get_int16_le (out int16 val);
+ public bool get_int24_be (out int32 val);
+ public bool get_int24_le (out int32 val);
+ public bool get_int32_be (out int32 val);
+ public bool get_int32_le (out int32 val);
+ public bool get_int64_be (out int64 val);
+ public bool get_int64_le (out int64 val);
+ public bool get_int8 (out char val);
+ public uint get_pos ();
+ public uint get_remaining ();
+ public bool get_uint16_be (out uint16 val);
+ public bool get_uint16_le (out uint16 val);
+ public bool get_uint24_be (out uint32 val);
+ public bool get_uint24_le (out uint32 val);
+ public bool get_uint32_be (out uint32 val);
+ public bool get_uint32_le (out uint32 val);
+ public bool get_uint64_be (out uint64 val);
+ public bool get_uint64_le (out uint64 val);
+ public bool get_uint8 (out uchar val);
+ public void init (uchar data, uint size);
+ public void init_from_buffer (Gst.Buffer buffer);
+ [CCode (has_construct_function = false)]
+ public ByteReader (uchar data, uint size);
+ public bool peek_data (uint size, out uchar val);
+ public bool peek_float32_be (out float val);
+ public bool peek_float32_le (out float val);
+ public bool peek_float64_be (out double val);
+ public bool peek_float64_le (out double val);
+ public bool peek_int16_be (out int16 val);
+ public bool peek_int16_le (out int16 val);
+ public bool peek_int24_be (out int32 val);
+ public bool peek_int24_le (out int32 val);
+ public bool peek_int32_be (out int32 val);
+ public bool peek_int32_le (out int32 val);
+ public bool peek_int64_be (out int64 val);
+ public bool peek_int64_le (out int64 val);
+ public bool peek_int8 (out char val);
+ public bool peek_uint16_be (out uint16 val);
+ public bool peek_uint16_le (out uint16 val);
+ public bool peek_uint24_be (out uint32 val);
+ public bool peek_uint24_le (out uint32 val);
+ public bool peek_uint32_be (out uint32 val);
+ public bool peek_uint32_le (out uint32 val);
+ public bool peek_uint64_be (out uint64 val);
+ public bool peek_uint64_le (out uint64 val);
+ public bool peek_uint8 (out uchar val);
+ public bool set_pos (uint pos);
+ public bool skip (uint nbytes);
+ }
+ [Compact]
[CCode (cheader_filename = "gst/base/gstcollectpads.h")]
public class CollectData {
public Gst.Buffer buffer;
@@ -325,5 +427,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h")]
public static unowned Gst.Caps type_find_helper_for_buffer (Gst.Object obj, Gst.Buffer buf, Gst.TypeFindProbability prob);
[CCode (cheader_filename = "gst/gst.h")]
+ public static Gst.Caps type_find_helper_for_extension (Gst.Object obj, string extension);
+ [CCode (cheader_filename = "gst/gst.h")]
public static unowned Gst.Caps type_find_helper_get_range (Gst.Object obj, Gst.TypeFindHelperGetRangeFunction func, uint64 size, Gst.TypeFindProbability prob);
}
diff --git a/vapi/packages/gstreamer-base-0.10/gstreamer-base-0.10.gi b/vapi/packages/gstreamer-base-0.10/gstreamer-base-0.10.gi
index 1e5202c..f963e6d 100644
--- a/vapi/packages/gstreamer-base-0.10/gstreamer-base-0.10.gi
+++ b/vapi/packages/gstreamer-base-0.10/gstreamer-base-0.10.gi
@@ -16,6 +16,13 @@
<parameter name="prob" type="GstTypeFindProbability*"/>
</parameters>
</function>
+ <function name="type_find_helper_for_extension" symbol="gst_type_find_helper_for_extension">
+ <return-type type="GstCaps*"/>
+ <parameters>
+ <parameter name="obj" type="GstObject*"/>
+ <parameter name="extension" type="gchar*"/>
+ </parameters>
+ </function>
<function name="type_find_helper_get_range" symbol="gst_type_find_helper_get_range">
<return-type type="GstCaps*"/>
<parameters>
@@ -57,6 +64,531 @@
<parameter name="buffer" type="GstBuffer**"/>
</parameters>
</callback>
+ <struct name="GstBitReader">
+ <method name="free" symbol="gst_bit_reader_free">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="reader" type="GstBitReader*"/>
+ </parameters>
+ </method>
+ <method name="get_bits_uint16" symbol="gst_bit_reader_get_bits_uint16">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstBitReader*"/>
+ <parameter name="val" type="guint16*"/>
+ <parameter name="nbits" type="guint"/>
+ </parameters>
+ </method>
+ <method name="get_bits_uint32" symbol="gst_bit_reader_get_bits_uint32">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstBitReader*"/>
+ <parameter name="val" type="guint32*"/>
+ <parameter name="nbits" type="guint"/>
+ </parameters>
+ </method>
+ <method name="get_bits_uint64" symbol="gst_bit_reader_get_bits_uint64">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstBitReader*"/>
+ <parameter name="val" type="guint64*"/>
+ <parameter name="nbits" type="guint"/>
+ </parameters>
+ </method>
+ <method name="get_bits_uint8" symbol="gst_bit_reader_get_bits_uint8">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstBitReader*"/>
+ <parameter name="val" type="guint8*"/>
+ <parameter name="nbits" type="guint"/>
+ </parameters>
+ </method>
+ <method name="get_pos" symbol="gst_bit_reader_get_pos">
+ <return-type type="guint"/>
+ <parameters>
+ <parameter name="reader" type="GstBitReader*"/>
+ </parameters>
+ </method>
+ <method name="get_remaining" symbol="gst_bit_reader_get_remaining">
+ <return-type type="guint"/>
+ <parameters>
+ <parameter name="reader" type="GstBitReader*"/>
+ </parameters>
+ </method>
+ <method name="init" symbol="gst_bit_reader_init">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="reader" type="GstBitReader*"/>
+ <parameter name="data" type="guint8*"/>
+ <parameter name="size" type="guint"/>
+ </parameters>
+ </method>
+ <method name="init_from_buffer" symbol="gst_bit_reader_init_from_buffer">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="reader" type="GstBitReader*"/>
+ <parameter name="buffer" type="GstBuffer*"/>
+ </parameters>
+ </method>
+ <method name="new" symbol="gst_bit_reader_new">
+ <return-type type="GstBitReader*"/>
+ <parameters>
+ <parameter name="data" type="guint8*"/>
+ <parameter name="size" type="guint"/>
+ </parameters>
+ </method>
+ <method name="new_from_buffer" symbol="gst_bit_reader_new_from_buffer">
+ <return-type type="GstBitReader*"/>
+ <parameters>
+ <parameter name="buffer" type="GstBuffer*"/>
+ </parameters>
+ </method>
+ <method name="peek_bits_uint16" symbol="gst_bit_reader_peek_bits_uint16">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstBitReader*"/>
+ <parameter name="val" type="guint16*"/>
+ <parameter name="nbits" type="guint"/>
+ </parameters>
+ </method>
+ <method name="peek_bits_uint32" symbol="gst_bit_reader_peek_bits_uint32">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstBitReader*"/>
+ <parameter name="val" type="guint32*"/>
+ <parameter name="nbits" type="guint"/>
+ </parameters>
+ </method>
+ <method name="peek_bits_uint64" symbol="gst_bit_reader_peek_bits_uint64">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstBitReader*"/>
+ <parameter name="val" type="guint64*"/>
+ <parameter name="nbits" type="guint"/>
+ </parameters>
+ </method>
+ <method name="peek_bits_uint8" symbol="gst_bit_reader_peek_bits_uint8">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstBitReader*"/>
+ <parameter name="val" type="guint8*"/>
+ <parameter name="nbits" type="guint"/>
+ </parameters>
+ </method>
+ <method name="set_pos" symbol="gst_bit_reader_set_pos">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstBitReader*"/>
+ <parameter name="pos" type="guint"/>
+ </parameters>
+ </method>
+ <method name="skip" symbol="gst_bit_reader_skip">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstBitReader*"/>
+ <parameter name="nbits" type="guint"/>
+ </parameters>
+ </method>
+ <method name="skip_to_byte" symbol="gst_bit_reader_skip_to_byte">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstBitReader*"/>
+ </parameters>
+ </method>
+ <field name="data" type="guint8*"/>
+ <field name="size" type="guint"/>
+ <field name="byte" type="guint"/>
+ <field name="bit" type="guint"/>
+ </struct>
+ <struct name="GstByteReader">
+ <method name="free" symbol="gst_byte_reader_free">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ </parameters>
+ </method>
+ <method name="get_data" symbol="gst_byte_reader_get_data">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="size" type="guint"/>
+ <parameter name="val" type="guint8**"/>
+ </parameters>
+ </method>
+ <method name="get_float32_be" symbol="gst_byte_reader_get_float32_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gfloat*"/>
+ </parameters>
+ </method>
+ <method name="get_float32_le" symbol="gst_byte_reader_get_float32_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gfloat*"/>
+ </parameters>
+ </method>
+ <method name="get_float64_be" symbol="gst_byte_reader_get_float64_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gdouble*"/>
+ </parameters>
+ </method>
+ <method name="get_float64_le" symbol="gst_byte_reader_get_float64_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gdouble*"/>
+ </parameters>
+ </method>
+ <method name="get_int16_be" symbol="gst_byte_reader_get_int16_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint16*"/>
+ </parameters>
+ </method>
+ <method name="get_int16_le" symbol="gst_byte_reader_get_int16_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint16*"/>
+ </parameters>
+ </method>
+ <method name="get_int24_be" symbol="gst_byte_reader_get_int24_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint32*"/>
+ </parameters>
+ </method>
+ <method name="get_int24_le" symbol="gst_byte_reader_get_int24_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint32*"/>
+ </parameters>
+ </method>
+ <method name="get_int32_be" symbol="gst_byte_reader_get_int32_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint32*"/>
+ </parameters>
+ </method>
+ <method name="get_int32_le" symbol="gst_byte_reader_get_int32_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint32*"/>
+ </parameters>
+ </method>
+ <method name="get_int64_be" symbol="gst_byte_reader_get_int64_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint64*"/>
+ </parameters>
+ </method>
+ <method name="get_int64_le" symbol="gst_byte_reader_get_int64_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint64*"/>
+ </parameters>
+ </method>
+ <method name="get_int8" symbol="gst_byte_reader_get_int8">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint8*"/>
+ </parameters>
+ </method>
+ <method name="get_pos" symbol="gst_byte_reader_get_pos">
+ <return-type type="guint"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ </parameters>
+ </method>
+ <method name="get_remaining" symbol="gst_byte_reader_get_remaining">
+ <return-type type="guint"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ </parameters>
+ </method>
+ <method name="get_uint16_be" symbol="gst_byte_reader_get_uint16_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint16*"/>
+ </parameters>
+ </method>
+ <method name="get_uint16_le" symbol="gst_byte_reader_get_uint16_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint16*"/>
+ </parameters>
+ </method>
+ <method name="get_uint24_be" symbol="gst_byte_reader_get_uint24_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint32*"/>
+ </parameters>
+ </method>
+ <method name="get_uint24_le" symbol="gst_byte_reader_get_uint24_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint32*"/>
+ </parameters>
+ </method>
+ <method name="get_uint32_be" symbol="gst_byte_reader_get_uint32_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint32*"/>
+ </parameters>
+ </method>
+ <method name="get_uint32_le" symbol="gst_byte_reader_get_uint32_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint32*"/>
+ </parameters>
+ </method>
+ <method name="get_uint64_be" symbol="gst_byte_reader_get_uint64_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint64*"/>
+ </parameters>
+ </method>
+ <method name="get_uint64_le" symbol="gst_byte_reader_get_uint64_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint64*"/>
+ </parameters>
+ </method>
+ <method name="get_uint8" symbol="gst_byte_reader_get_uint8">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint8*"/>
+ </parameters>
+ </method>
+ <method name="init" symbol="gst_byte_reader_init">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="data" type="guint8*"/>
+ <parameter name="size" type="guint"/>
+ </parameters>
+ </method>
+ <method name="init_from_buffer" symbol="gst_byte_reader_init_from_buffer">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="buffer" type="GstBuffer*"/>
+ </parameters>
+ </method>
+ <method name="new" symbol="gst_byte_reader_new">
+ <return-type type="GstByteReader*"/>
+ <parameters>
+ <parameter name="data" type="guint8*"/>
+ <parameter name="size" type="guint"/>
+ </parameters>
+ </method>
+ <method name="new_from_buffer" symbol="gst_byte_reader_new_from_buffer">
+ <return-type type="GstByteReader*"/>
+ <parameters>
+ <parameter name="buffer" type="GstBuffer*"/>
+ </parameters>
+ </method>
+ <method name="peek_data" symbol="gst_byte_reader_peek_data">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="size" type="guint"/>
+ <parameter name="val" type="guint8**"/>
+ </parameters>
+ </method>
+ <method name="peek_float32_be" symbol="gst_byte_reader_peek_float32_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gfloat*"/>
+ </parameters>
+ </method>
+ <method name="peek_float32_le" symbol="gst_byte_reader_peek_float32_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gfloat*"/>
+ </parameters>
+ </method>
+ <method name="peek_float64_be" symbol="gst_byte_reader_peek_float64_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gdouble*"/>
+ </parameters>
+ </method>
+ <method name="peek_float64_le" symbol="gst_byte_reader_peek_float64_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gdouble*"/>
+ </parameters>
+ </method>
+ <method name="peek_int16_be" symbol="gst_byte_reader_peek_int16_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint16*"/>
+ </parameters>
+ </method>
+ <method name="peek_int16_le" symbol="gst_byte_reader_peek_int16_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint16*"/>
+ </parameters>
+ </method>
+ <method name="peek_int24_be" symbol="gst_byte_reader_peek_int24_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint32*"/>
+ </parameters>
+ </method>
+ <method name="peek_int24_le" symbol="gst_byte_reader_peek_int24_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint32*"/>
+ </parameters>
+ </method>
+ <method name="peek_int32_be" symbol="gst_byte_reader_peek_int32_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint32*"/>
+ </parameters>
+ </method>
+ <method name="peek_int32_le" symbol="gst_byte_reader_peek_int32_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint32*"/>
+ </parameters>
+ </method>
+ <method name="peek_int64_be" symbol="gst_byte_reader_peek_int64_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint64*"/>
+ </parameters>
+ </method>
+ <method name="peek_int64_le" symbol="gst_byte_reader_peek_int64_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint64*"/>
+ </parameters>
+ </method>
+ <method name="peek_int8" symbol="gst_byte_reader_peek_int8">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="gint8*"/>
+ </parameters>
+ </method>
+ <method name="peek_uint16_be" symbol="gst_byte_reader_peek_uint16_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint16*"/>
+ </parameters>
+ </method>
+ <method name="peek_uint16_le" symbol="gst_byte_reader_peek_uint16_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint16*"/>
+ </parameters>
+ </method>
+ <method name="peek_uint24_be" symbol="gst_byte_reader_peek_uint24_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint32*"/>
+ </parameters>
+ </method>
+ <method name="peek_uint24_le" symbol="gst_byte_reader_peek_uint24_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint32*"/>
+ </parameters>
+ </method>
+ <method name="peek_uint32_be" symbol="gst_byte_reader_peek_uint32_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint32*"/>
+ </parameters>
+ </method>
+ <method name="peek_uint32_le" symbol="gst_byte_reader_peek_uint32_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint32*"/>
+ </parameters>
+ </method>
+ <method name="peek_uint64_be" symbol="gst_byte_reader_peek_uint64_be">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint64*"/>
+ </parameters>
+ </method>
+ <method name="peek_uint64_le" symbol="gst_byte_reader_peek_uint64_le">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint64*"/>
+ </parameters>
+ </method>
+ <method name="peek_uint8" symbol="gst_byte_reader_peek_uint8">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="val" type="guint8*"/>
+ </parameters>
+ </method>
+ <method name="set_pos" symbol="gst_byte_reader_set_pos">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="pos" type="guint"/>
+ </parameters>
+ </method>
+ <method name="skip" symbol="gst_byte_reader_skip">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="reader" type="GstByteReader*"/>
+ <parameter name="nbytes" type="guint"/>
+ </parameters>
+ </method>
+ <field name="data" type="guint8*"/>
+ <field name="size" type="guint"/>
+ <field name="byte" type="guint"/>
+ </struct>
<struct name="GstCollectData">
<field name="collect" type="GstCollectPads*"/>
<field name="pad" type="GstPad*"/>
@@ -156,6 +688,19 @@
<field name="buflist_end" type="GSList*"/>
</object>
<object name="GstBaseSink" parent="GstElement" type-name="GstBaseSink" get-type="gst_base_sink_get_type">
+ <method name="do_preroll" symbol="gst_base_sink_do_preroll">
+ <return-type type="GstFlowReturn"/>
+ <parameters>
+ <parameter name="sink" type="GstBaseSink*"/>
+ <parameter name="obj" type="GstMiniObject*"/>
+ </parameters>
+ </method>
+ <method name="get_blocksize" symbol="gst_base_sink_get_blocksize">
+ <return-type type="guint"/>
+ <parameters>
+ <parameter name="sink" type="GstBaseSink*"/>
+ </parameters>
+ </method>
<method name="get_last_buffer" symbol="gst_base_sink_get_last_buffer">
<return-type type="GstBuffer*"/>
<parameters>
@@ -174,6 +719,12 @@
<parameter name="sink" type="GstBaseSink*"/>
</parameters>
</method>
+ <method name="get_render_delay" symbol="gst_base_sink_get_render_delay">
+ <return-type type="GstClockTime"/>
+ <parameters>
+ <parameter name="sink" type="GstBaseSink*"/>
+ </parameters>
+ </method>
<method name="get_sync" symbol="gst_base_sink_get_sync">
<return-type type="gboolean"/>
<parameters>
@@ -215,6 +766,13 @@
<parameter name="enabled" type="gboolean"/>
</parameters>
</method>
+ <method name="set_blocksize" symbol="gst_base_sink_set_blocksize">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="sink" type="GstBaseSink*"/>
+ <parameter name="blocksize" type="guint"/>
+ </parameters>
+ </method>
<method name="set_max_lateness" symbol="gst_base_sink_set_max_lateness">
<return-type type="void"/>
<parameters>
@@ -229,6 +787,13 @@
<parameter name="enabled" type="gboolean"/>
</parameters>
</method>
+ <method name="set_render_delay" symbol="gst_base_sink_set_render_delay">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="sink" type="GstBaseSink*"/>
+ <parameter name="delay" type="GstClockTime"/>
+ </parameters>
+ </method>
<method name="set_sync" symbol="gst_base_sink_set_sync">
<return-type type="void"/>
<parameters>
@@ -246,7 +811,7 @@
<method name="wait_clock" symbol="gst_base_sink_wait_clock">
<return-type type="GstClockReturn"/>
<parameters>
- <parameter name="basesink" type="GstBaseSink*"/>
+ <parameter name="sink" type="GstBaseSink*"/>
<parameter name="time" type="GstClockTime"/>
<parameter name="jitter" type="GstClockTimeDiff*"/>
</parameters>
@@ -266,10 +831,12 @@
</parameters>
</method>
<property name="async" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="blocksize" type="guint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="last-buffer" type="GstBuffer" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="max-lateness" type="gint64" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="preroll-queue-len" type="guint" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="qos" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="render-delay" type="guint64" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="sync" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="ts-offset" type="gint64" readable="1" writable="1" construct="0" construct-only="0"/>
<vfunc name="activate_pull">
@@ -393,6 +960,12 @@
<field name="abidata" type="gpointer"/>
</object>
<object name="GstBaseSrc" parent="GstElement" type-name="GstBaseSrc" get-type="gst_base_src_get_type">
+ <method name="get_blocksize" symbol="gst_base_src_get_blocksize">
+ <return-type type="gulong"/>
+ <parameters>
+ <parameter name="src" type="GstBaseSrc*"/>
+ </parameters>
+ </method>
<method name="get_do_timestamp" symbol="gst_base_src_get_do_timestamp">
<return-type type="gboolean"/>
<parameters>
@@ -414,6 +987,13 @@
<parameter name="max_latency" type="GstClockTime*"/>
</parameters>
</method>
+ <method name="set_blocksize" symbol="gst_base_src_set_blocksize">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="src" type="GstBaseSrc*"/>
+ <parameter name="blocksize" type="gulong"/>
+ </parameters>
+ </method>
<method name="set_do_timestamp" symbol="gst_base_src_set_do_timestamp">
<return-type type="void"/>
<parameters>
@@ -606,6 +1186,12 @@
<parameter name="trans" type="GstBaseTransform*"/>
</parameters>
</method>
+ <method name="reconfigure" symbol="gst_base_transform_reconfigure">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="trans" type="GstBaseTransform*"/>
+ </parameters>
+ </method>
<method name="set_gap_aware" symbol="gst_base_transform_set_gap_aware">
<return-type type="void"/>
<parameters>
@@ -634,6 +1220,14 @@
<parameter name="enabled" type="gboolean"/>
</parameters>
</method>
+ <method name="suggest" symbol="gst_base_transform_suggest">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="trans" type="GstBaseTransform*"/>
+ <parameter name="caps" type="GstCaps*"/>
+ <parameter name="size" type="guint"/>
+ </parameters>
+ </method>
<method name="update_qos" symbol="gst_base_transform_update_qos">
<return-type type="void"/>
<parameters>
@@ -644,6 +1238,13 @@
</parameters>
</method>
<property name="qos" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+ <vfunc name="before_transform">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="trans" type="GstBaseTransform*"/>
+ <parameter name="buffer" type="GstBuffer*"/>
+ </parameters>
+ </vfunc>
<vfunc name="event">
<return-type type="gboolean"/>
<parameters>
diff --git a/vapi/packages/gstreamer-base-0.10/gstreamer-base-0.10.metadata b/vapi/packages/gstreamer-base-0.10/gstreamer-base-0.10.metadata
index 7b5b8de..3c9feb3 100644
--- a/vapi/packages/gstreamer-base-0.10/gstreamer-base-0.10.metadata
+++ b/vapi/packages/gstreamer-base-0.10/gstreamer-base-0.10.metadata
@@ -36,5 +36,16 @@ GstDataQueueItem cheader_filename="gst/base/gstdataqueue.h"
GstDataQueueSize cheader_filename="gst/base/gstdataqueue.h"
GstPushSrc cheader_filename="gst/base/gstpushsrc.h"
GstPushSrc.* weak="0"
+gst_bit_reader_get_bits_uint*.val is_out="1"
+gst_bit_reader_peek_bits_uint*.val is_out="1"
+gst_byte_reader_get_data.val is_out="1"
+gst_byte_reader_get_float*.val is_out="1"
+gst_byte_reader_get_int*.val is_out="1"
+gst_byte_reader_get_uint*.val is_out="1"
+gst_byte_reader_peek_data.val is_out="1"
+gst_byte_reader_peek_float*.val is_out="1"
+gst_byte_reader_peek_int*.val is_out="1"
+gst_byte_reader_peek_uint*.val is_out="1"
+gst_type_find_helper_for_extension transfer_ownership="1"
GstTypeFindHelperGetRangeFunction cheader_filename="gst/base/gsttypefindhelper.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]