diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-09-22 07:51:54 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-09-22 07:51:54 +0200 |
commit | cf3ccdc914b35a985abdc31c476e7d78d50e7f98 (patch) | |
tree | fb393799984791737890f2801f921e04334a6c6a | |
parent | 7f309400501fbec2cc00f01211994af38821ca1f (diff) |
Start of Gst.Base.{Byte,Bit}Reader bindings
-rw-r--r-- | gstreamer-sharp/Gstreamer.metadata | 9 | ||||
-rw-r--r-- | gstreamer-sharp/gstreamer-api.raw | 493 | ||||
-rw-r--r-- | source/gstreamer-sharp-source.xml | 2 |
3 files changed, 502 insertions, 2 deletions
diff --git a/gstreamer-sharp/Gstreamer.metadata b/gstreamer-sharp/Gstreamer.metadata index f3963e0..61a0d58 100644 --- a/gstreamer-sharp/Gstreamer.metadata +++ b/gstreamer-sharp/Gstreamer.metadata @@ -1060,6 +1060,15 @@ <attr path="/api/namespace/object[@cname='GstPushSrc']/virtual_method[@cname='create']/parameters/parameter[@name='buf']" name="owned">true</attr> <attr path="/api/namespace/object[@cname='GstPushSrc']/virtual_method[@cname='create']/parameters/parameter[@name='buf']" name="pass_as">out</attr> + <attr path="/api/namespace/struct[@cname='GstBitReader']/field" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstBitReader']/method[@cname='gst_bit_reader_init']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstBitReader']/method[@cname='gst_bit_reader_init_from_buffer']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstBitReader']/constructor[@cname='gst_bit_reader_new']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/field" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_init']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_init_from_buffer']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/constructor[@cname='gst_byte_reader_new']" name="hidden">1</attr> + <!-- FIXME: Why can't this be parsed?! --> <add-node path="/api/namespace[@name='Gst.Base']"> <class name="TypeFindHelper" cname="GstTypeFindHelper" disable_void_ctor="1"> diff --git a/gstreamer-sharp/gstreamer-api.raw b/gstreamer-sharp/gstreamer-api.raw index 456d943..412b0f7 100644 --- a/gstreamer-sharp/gstreamer-api.raw +++ b/gstreamer-sharp/gstreamer-api.raw @@ -7373,6 +7373,499 @@ <return-type type="GType" /> </method> </object> + <struct name="BitReader" cname="GstBitReader" opaque="true"> + <field name="Data" cname="data" type="const-guint8*" access="public" writeable="true" /> + <field name="Size" cname="size" type="guint" access="public" writeable="true" /> + <field name="Byte" cname="byte" type="guint" access="public" writeable="true" /> + <field name="Bit" cname="bit" type="guint" access="public" writeable="true" /> + <method name="Free" cname="gst_bit_reader_free"> + <return-type type="void" /> + </method> + <method name="GetBitsUint16" cname="gst_bit_reader_get_bits_uint16"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint16*" name="val" /> + <parameter type="guint" name="nbits" /> + </parameters> + </method> + <method name="GetBitsUint32" cname="gst_bit_reader_get_bits_uint32"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint32*" name="val" /> + <parameter type="guint" name="nbits" /> + </parameters> + </method> + <method name="GetBitsUint64" cname="gst_bit_reader_get_bits_uint64"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint64*" name="val" /> + <parameter type="guint" name="nbits" /> + </parameters> + </method> + <method name="GetBitsUint8" cname="gst_bit_reader_get_bits_uint8"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint8*" name="val" /> + <parameter type="guint" name="nbits" /> + </parameters> + </method> + <method name="GetPos" cname="gst_bit_reader_get_pos"> + <return-type type="guint" /> + </method> + <method name="GetRemaining" cname="gst_bit_reader_get_remaining"> + <return-type type="guint" /> + </method> + <method name="Init" cname="gst_bit_reader_init"> + <return-type type="void" /> + <parameters> + <parameter type="const-guint8*" name="data" /> + <parameter type="guint" name="size" /> + </parameters> + </method> + <method name="InitFromBuffer" cname="gst_bit_reader_init_from_buffer"> + <return-type type="void" /> + <parameters> + <parameter type="const-GstBuffer*" name="buffer" /> + </parameters> + </method> + <constructor cname="gst_bit_reader_new"> + <parameters> + <parameter type="const-guint8*" name="data" /> + <parameter type="guint" name="size" /> + </parameters> + </constructor> + <constructor cname="gst_bit_reader_new_from_buffer"> + <parameters> + <parameter type="const-GstBuffer*" name="buffer" /> + </parameters> + </constructor> + <method name="PeekBitsUint16" cname="gst_bit_reader_peek_bits_uint16"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint16*" name="val" /> + <parameter type="guint" name="nbits" /> + </parameters> + </method> + <method name="PeekBitsUint32" cname="gst_bit_reader_peek_bits_uint32"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint32*" name="val" /> + <parameter type="guint" name="nbits" /> + </parameters> + </method> + <method name="PeekBitsUint64" cname="gst_bit_reader_peek_bits_uint64"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint64*" name="val" /> + <parameter type="guint" name="nbits" /> + </parameters> + </method> + <method name="PeekBitsUint8" cname="gst_bit_reader_peek_bits_uint8"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint8*" name="val" /> + <parameter type="guint" name="nbits" /> + </parameters> + </method> + <method name="SetPos" cname="gst_bit_reader_set_pos"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint" name="pos" /> + </parameters> + </method> + <method name="Skip" cname="gst_bit_reader_skip"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint" name="nbits" /> + </parameters> + </method> + <method name="SkipToByte" cname="gst_bit_reader_skip_to_byte"> + <return-type type="gboolean" /> + </method> + </struct> + <struct name="ByteReader" cname="GstByteReader" opaque="true"> + <field name="Data" cname="data" type="const-guint8*" access="public" writeable="true" /> + <field name="Size" cname="size" type="guint" access="public" writeable="true" /> + <field name="Byte" cname="byte" type="guint" access="public" writeable="true" /> + <method name="DupData" cname="gst_byte_reader_dup_data"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint" name="size" /> + <parameter type="guint8**" name="val" /> + </parameters> + </method> + <method name="DupStringUtf16" cname="gst_byte_reader_dup_string_utf16"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint16**" name="str" /> + </parameters> + </method> + <method name="DupStringUtf32" cname="gst_byte_reader_dup_string_utf32"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint32**" name="str" /> + </parameters> + </method> + <method name="DupStringUtf8" cname="gst_byte_reader_dup_string_utf8"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gchar**" name="str" /> + </parameters> + </method> + <method name="Free" cname="gst_byte_reader_free"> + <return-type type="void" /> + </method> + <method name="GetData" cname="gst_byte_reader_get_data"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint" name="size" /> + <parameter type="const-guint8**" name="val" /> + </parameters> + </method> + <method name="GetFloat32Be" cname="gst_byte_reader_get_float32_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gfloat*" name="val" /> + </parameters> + </method> + <method name="GetFloat32Le" cname="gst_byte_reader_get_float32_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gfloat*" name="val" /> + </parameters> + </method> + <method name="GetFloat64Be" cname="gst_byte_reader_get_float64_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gdouble*" name="val" /> + </parameters> + </method> + <method name="GetFloat64Le" cname="gst_byte_reader_get_float64_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gdouble*" name="val" /> + </parameters> + </method> + <method name="GetInt16Be" cname="gst_byte_reader_get_int16_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint16*" name="val" /> + </parameters> + </method> + <method name="GetInt16Le" cname="gst_byte_reader_get_int16_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint16*" name="val" /> + </parameters> + </method> + <method name="GetInt24Be" cname="gst_byte_reader_get_int24_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint32*" name="val" /> + </parameters> + </method> + <method name="GetInt24Le" cname="gst_byte_reader_get_int24_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint32*" name="val" /> + </parameters> + </method> + <method name="GetInt32Be" cname="gst_byte_reader_get_int32_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint32*" name="val" /> + </parameters> + </method> + <method name="GetInt32Le" cname="gst_byte_reader_get_int32_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint32*" name="val" /> + </parameters> + </method> + <method name="GetInt64Be" cname="gst_byte_reader_get_int64_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint64*" name="val" /> + </parameters> + </method> + <method name="GetInt64Le" cname="gst_byte_reader_get_int64_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint64*" name="val" /> + </parameters> + </method> + <method name="GetInt8" cname="gst_byte_reader_get_int8"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint8*" name="val" /> + </parameters> + </method> + <method name="GetPos" cname="gst_byte_reader_get_pos"> + <return-type type="guint" /> + </method> + <method name="GetRemaining" cname="gst_byte_reader_get_remaining"> + <return-type type="guint" /> + </method> + <method name="GetStringUtf8" cname="gst_byte_reader_get_string_utf8"> + <return-type type="gboolean" /> + <parameters> + <parameter type="const-gchar**" name="str" /> + </parameters> + </method> + <method name="GetUint16Be" cname="gst_byte_reader_get_uint16_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint16*" name="val" /> + </parameters> + </method> + <method name="GetUint16Le" cname="gst_byte_reader_get_uint16_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint16*" name="val" /> + </parameters> + </method> + <method name="GetUint24Be" cname="gst_byte_reader_get_uint24_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint32*" name="val" /> + </parameters> + </method> + <method name="GetUint24Le" cname="gst_byte_reader_get_uint24_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint32*" name="val" /> + </parameters> + </method> + <method name="GetUint32Be" cname="gst_byte_reader_get_uint32_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint32*" name="val" /> + </parameters> + </method> + <method name="GetUint32Le" cname="gst_byte_reader_get_uint32_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint32*" name="val" /> + </parameters> + </method> + <method name="GetUint64Be" cname="gst_byte_reader_get_uint64_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint64*" name="val" /> + </parameters> + </method> + <method name="GetUint64Le" cname="gst_byte_reader_get_uint64_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint64*" name="val" /> + </parameters> + </method> + <method name="GetUint8" cname="gst_byte_reader_get_uint8"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint8*" name="val" /> + </parameters> + </method> + <method name="Init" cname="gst_byte_reader_init"> + <return-type type="void" /> + <parameters> + <parameter type="const-guint8*" name="data" /> + <parameter type="guint" name="size" /> + </parameters> + </method> + <method name="InitFromBuffer" cname="gst_byte_reader_init_from_buffer"> + <return-type type="void" /> + <parameters> + <parameter type="const-GstBuffer*" name="buffer" /> + </parameters> + </method> + <method name="MaskedScanUint32" cname="gst_byte_reader_masked_scan_uint32"> + <return-type type="guint" /> + <parameters> + <parameter type="guint32" name="mask" /> + <parameter type="guint32" name="pattern" /> + <parameter type="guint" name="offset" /> + <parameter type="guint" name="size" /> + </parameters> + </method> + <constructor cname="gst_byte_reader_new"> + <parameters> + <parameter type="const-guint8*" name="data" /> + <parameter type="guint" name="size" /> + </parameters> + </constructor> + <constructor cname="gst_byte_reader_new_from_buffer"> + <parameters> + <parameter type="const-GstBuffer*" name="buffer" /> + </parameters> + </constructor> + <method name="PeekData" cname="gst_byte_reader_peek_data"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint" name="size" /> + <parameter type="const-guint8**" name="val" /> + </parameters> + </method> + <method name="PeekFloat32Be" cname="gst_byte_reader_peek_float32_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gfloat*" name="val" /> + </parameters> + </method> + <method name="PeekFloat32Le" cname="gst_byte_reader_peek_float32_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gfloat*" name="val" /> + </parameters> + </method> + <method name="PeekFloat64Be" cname="gst_byte_reader_peek_float64_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gdouble*" name="val" /> + </parameters> + </method> + <method name="PeekFloat64Le" cname="gst_byte_reader_peek_float64_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gdouble*" name="val" /> + </parameters> + </method> + <method name="PeekInt16Be" cname="gst_byte_reader_peek_int16_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint16*" name="val" /> + </parameters> + </method> + <method name="PeekInt16Le" cname="gst_byte_reader_peek_int16_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint16*" name="val" /> + </parameters> + </method> + <method name="PeekInt24Be" cname="gst_byte_reader_peek_int24_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint32*" name="val" /> + </parameters> + </method> + <method name="PeekInt24Le" cname="gst_byte_reader_peek_int24_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint32*" name="val" /> + </parameters> + </method> + <method name="PeekInt32Be" cname="gst_byte_reader_peek_int32_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint32*" name="val" /> + </parameters> + </method> + <method name="PeekInt32Le" cname="gst_byte_reader_peek_int32_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint32*" name="val" /> + </parameters> + </method> + <method name="PeekInt64Be" cname="gst_byte_reader_peek_int64_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint64*" name="val" /> + </parameters> + </method> + <method name="PeekInt64Le" cname="gst_byte_reader_peek_int64_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint64*" name="val" /> + </parameters> + </method> + <method name="PeekInt8" cname="gst_byte_reader_peek_int8"> + <return-type type="gboolean" /> + <parameters> + <parameter type="gint8*" name="val" /> + </parameters> + </method> + <method name="PeekStringUtf8" cname="gst_byte_reader_peek_string_utf8"> + <return-type type="gboolean" /> + <parameters> + <parameter type="const-gchar**" name="str" /> + </parameters> + </method> + <method name="PeekUint16Be" cname="gst_byte_reader_peek_uint16_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint16*" name="val" /> + </parameters> + </method> + <method name="PeekUint16Le" cname="gst_byte_reader_peek_uint16_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint16*" name="val" /> + </parameters> + </method> + <method name="PeekUint24Be" cname="gst_byte_reader_peek_uint24_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint32*" name="val" /> + </parameters> + </method> + <method name="PeekUint24Le" cname="gst_byte_reader_peek_uint24_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint32*" name="val" /> + </parameters> + </method> + <method name="PeekUint32Be" cname="gst_byte_reader_peek_uint32_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint32*" name="val" /> + </parameters> + </method> + <method name="PeekUint32Le" cname="gst_byte_reader_peek_uint32_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint32*" name="val" /> + </parameters> + </method> + <method name="PeekUint64Be" cname="gst_byte_reader_peek_uint64_be"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint64*" name="val" /> + </parameters> + </method> + <method name="PeekUint64Le" cname="gst_byte_reader_peek_uint64_le"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint64*" name="val" /> + </parameters> + </method> + <method name="PeekUint8" cname="gst_byte_reader_peek_uint8"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint8*" name="val" /> + </parameters> + </method> + <method name="SetPos" cname="gst_byte_reader_set_pos"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint" name="pos" /> + </parameters> + </method> + <method name="Skip" cname="gst_byte_reader_skip"> + <return-type type="gboolean" /> + <parameters> + <parameter type="guint" name="nbytes" /> + </parameters> + </method> + <method name="SkipStringUtf16" cname="gst_byte_reader_skip_string_utf16"> + <return-type type="gboolean" /> + </method> + <method name="SkipStringUtf32" cname="gst_byte_reader_skip_string_utf32"> + <return-type type="gboolean" /> + </method> + <method name="SkipStringUtf8" cname="gst_byte_reader_skip_string_utf8"> + <return-type type="gboolean" /> + </method> + </struct> </namespace> <namespace name="Gst.Controller" library="libgstcontroller-0.10.dll"> <enum name="InterpolateMode" cname="GstInterpolateMode" type="enum"> diff --git a/source/gstreamer-sharp-source.xml b/source/gstreamer-sharp-source.xml index 3779c24..9faceca 100644 --- a/source/gstreamer-sharp-source.xml +++ b/source/gstreamer-sharp-source.xml @@ -35,8 +35,6 @@ <!-- Needs to be bound --> <exclude>../../gstreamer/libs/gst/base/gstdataqueue.h</exclude> <exclude>../../gstreamer/libs/gst/base/gstcollectpads.h</exclude> - <exclude>../../gstreamer/libs/gst/base/gstbitreader.h</exclude> - <exclude>../../gstreamer/libs/gst/base/gstbytereader.h</exclude> </namespace> </library> <library name="libgstcontroller-0.10.dll"> |