diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2019-02-25 11:33:39 -0300 |
---|---|---|
committer | Thibault Saunier <tsaunier@igalia.com> | 2019-02-25 13:36:36 -0300 |
commit | 9f1fac402efdbc93ace3f55ff63237793bfb40f5 (patch) | |
tree | e84210369cb20916960c0d45bb302b32eff63cfa /sources | |
parent | 06ad721f910b9663837c4174ba1876e614cd4558 (diff) |
Update GStreamer with latest master
List of files in sources/meson.build is now aphabetically ordered.
Diffstat (limited to 'sources')
84 files changed, 6703 insertions, 1052 deletions
diff --git a/sources/generated/Gst.App/AppSink.cs b/sources/generated/Gst.App/AppSink.cs index 9014f53..c9434dc 100644 --- a/sources/generated/Gst.App/AppSink.cs +++ b/sources/generated/Gst.App/AppSink.cs @@ -134,6 +134,16 @@ namespace Gst.App { } } + [GLib.Signal("try-pull-sample")] + public event Gst.App.TryPullSampleEventHandler TryPullSampleEvent { + add { + this.AddSignalHandler ("try-pull-sample", value, typeof (Gst.App.TryPullSampleEventArgs)); + } + remove { + this.RemoveSignalHandler ("try-pull-sample", value); + } + } + [GLib.Signal("eos")] public event System.EventHandler Eos { add { @@ -154,13 +164,13 @@ namespace Gst.App { } } - [GLib.Signal("try-pull-sample")] - public event Gst.App.TryPullSampleEventHandler TryPullSampleEvent { + [GLib.Signal("new-preroll")] + public event Gst.App.NewPrerollHandler NewPreroll { add { - this.AddSignalHandler ("try-pull-sample", value, typeof (Gst.App.TryPullSampleEventArgs)); + this.AddSignalHandler ("new-preroll", value, typeof (Gst.App.NewPrerollArgs)); } remove { - this.RemoveSignalHandler ("try-pull-sample", value); + this.RemoveSignalHandler ("new-preroll", value); } } @@ -174,16 +184,6 @@ namespace Gst.App { } } - [GLib.Signal("new-preroll")] - public event Gst.App.NewPrerollHandler NewPreroll { - add { - this.AddSignalHandler ("new-preroll", value, typeof (Gst.App.NewPrerollArgs)); - } - remove { - this.RemoveSignalHandler ("new-preroll", value); - } - } - static EosNativeDelegate Eos_cb_delegate; static EosNativeDelegate EosVMCallback { get { diff --git a/sources/generated/Gst.App/AppSrc.cs b/sources/generated/Gst.App/AppSrc.cs index fe66610..0fb86ff 100644 --- a/sources/generated/Gst.App/AppSrc.cs +++ b/sources/generated/Gst.App/AppSrc.cs @@ -228,23 +228,13 @@ namespace Gst.App { } } - [GLib.Signal("end-of-stream")] - public event Gst.App.EndOfStreamEventHandler EndOfStreamEvent { - add { - this.AddSignalHandler ("end-of-stream", value, typeof (Gst.App.EndOfStreamEventArgs)); - } - remove { - this.RemoveSignalHandler ("end-of-stream", value); - } - } - - [GLib.Signal("push-buffer")] - public event Gst.App.PushBufferEventHandler PushBufferEvent { + [GLib.Signal("seek-data")] + public event Gst.App.SeekDataHandler SeekData { add { - this.AddSignalHandler ("push-buffer", value, typeof (Gst.App.PushBufferEventArgs)); + this.AddSignalHandler ("seek-data", value, typeof (Gst.App.SeekDataArgs)); } remove { - this.RemoveSignalHandler ("push-buffer", value); + this.RemoveSignalHandler ("seek-data", value); } } @@ -278,23 +268,33 @@ namespace Gst.App { } } - [GLib.Signal("push-buffer-list")] - public event Gst.App.PushBufferListEventHandler PushBufferListEvent { + [GLib.Signal("end-of-stream")] + public event Gst.App.EndOfStreamEventHandler EndOfStreamEvent { add { - this.AddSignalHandler ("push-buffer-list", value, typeof (Gst.App.PushBufferListEventArgs)); + this.AddSignalHandler ("end-of-stream", value, typeof (Gst.App.EndOfStreamEventArgs)); } remove { - this.RemoveSignalHandler ("push-buffer-list", value); + this.RemoveSignalHandler ("end-of-stream", value); } } - [GLib.Signal("seek-data")] - public event Gst.App.SeekDataHandler SeekData { + [GLib.Signal("push-buffer")] + public event Gst.App.PushBufferEventHandler PushBufferEvent { add { - this.AddSignalHandler ("seek-data", value, typeof (Gst.App.SeekDataArgs)); + this.AddSignalHandler ("push-buffer", value, typeof (Gst.App.PushBufferEventArgs)); } remove { - this.RemoveSignalHandler ("seek-data", value); + this.RemoveSignalHandler ("push-buffer", value); + } + } + + [GLib.Signal("push-buffer-list")] + public event Gst.App.PushBufferListEventHandler PushBufferListEvent { + add { + this.AddSignalHandler ("push-buffer-list", value, typeof (Gst.App.PushBufferListEventArgs)); + } + remove { + this.RemoveSignalHandler ("push-buffer-list", value); } } diff --git a/sources/generated/Gst.Audio/AudioBuffer.cs b/sources/generated/Gst.Audio/AudioBuffer.cs new file mode 100644 index 0000000..48f4870 --- /dev/null +++ b/sources/generated/Gst.Audio/AudioBuffer.cs @@ -0,0 +1,145 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.Audio { + + using System; + using System.Collections; + using System.Collections.Generic; + using System.Runtime.InteropServices; + +#region Autogenerated code + [StructLayout(LayoutKind.Sequential)] + public partial struct AudioBuffer : IEquatable<AudioBuffer> { + + private IntPtr _info; + public Gst.Audio.AudioInfo Info { + get { + return _info == IntPtr.Zero ? null : (Gst.Audio.AudioInfo) GLib.Opaque.GetOpaque (_info, typeof (Gst.Audio.AudioInfo), false); + } + set { + _info = value == null ? IntPtr.Zero : value.Handle; + } + } + private UIntPtr n_samples; + public ulong NSamples { + get { + return (ulong) n_samples; + } + set { + n_samples = new UIntPtr (value); + } + } + public int NPlanes; + private IntPtr _planes; + private IntPtr _buffer; + public Gst.Buffer Buffer { + get { + return _buffer == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (_buffer, typeof (Gst.Buffer), false); + } + set { + _buffer = value == null ? IntPtr.Zero : value.Handle; + } + } + private IntPtr _map_infos; + + [MarshalAs (UnmanagedType.ByValArray, SizeConst=4)] + private IntPtr[] _gstGstReserved; + + public static Gst.Audio.AudioBuffer Zero = new Gst.Audio.AudioBuffer (); + + public static Gst.Audio.AudioBuffer New(IntPtr raw) { + if (raw == IntPtr.Zero) + return Gst.Audio.AudioBuffer.Zero; + return (Gst.Audio.AudioBuffer) Marshal.PtrToStructure (raw, typeof (Gst.Audio.AudioBuffer)); + } + + [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_audio_buffer_map(IntPtr raw, IntPtr info, IntPtr gstbuffer, int flags); + + public bool Map(Gst.Audio.AudioInfo info, Gst.Buffer gstbuffer, Gst.MapFlags flags) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_audio_buffer_map(this_as_native, info == null ? IntPtr.Zero : info.Handle, gstbuffer == null ? IntPtr.Zero : gstbuffer.Handle, (int) flags); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_audio_buffer_unmap(IntPtr raw); + + public void Unmap() { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + gst_audio_buffer_unmap(this_as_native); + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + } + + [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_audio_buffer_clip(IntPtr buffer, IntPtr segment, int rate, int bpf); + + public static Gst.Buffer Clip(Gst.Buffer buffer, Gst.Segment segment, int rate, int bpf) { + buffer.Owned = false; + IntPtr native_segment = GLib.Marshaller.StructureToPtrAlloc (segment); + IntPtr raw_ret = gst_audio_buffer_clip(buffer == null ? IntPtr.Zero : buffer.Handle, native_segment, rate, bpf); + Gst.Buffer ret = raw_ret == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Buffer), true); + Marshal.FreeHGlobal (native_segment); + return ret; + } + + [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_audio_buffer_reorder_channels(IntPtr buffer, int format, int channels, int[] from, int[] to); + + public static bool ReorderChannels(Gst.Buffer buffer, Gst.Audio.AudioFormat format, int channels, Gst.Audio.AudioChannelPosition[] from, Gst.Audio.AudioChannelPosition[] to) { + int cnt_from = from == null ? 0 : from.Length; + int[] native_from = new int [cnt_from]; + for (int i = 0; i < cnt_from; i++) + native_from [i] = (int) from[i]; + int cnt_to = to == null ? 0 : to.Length; + int[] native_to = new int [cnt_to]; + for (int i = 0; i < cnt_to; i++) + native_to [i] = (int) to[i]; + bool raw_ret = gst_audio_buffer_reorder_channels(buffer == null ? IntPtr.Zero : buffer.Handle, (int) format, channels, native_from, native_to); + bool ret = raw_ret; + return ret; + } + + [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_audio_buffer_truncate(IntPtr buffer, int bpf, UIntPtr trim, UIntPtr samples); + + public static Gst.Buffer Truncate(Gst.Buffer buffer, int bpf, ulong trim, ulong samples) { + buffer.Owned = false; + IntPtr raw_ret = gst_audio_buffer_truncate(buffer == null ? IntPtr.Zero : buffer.Handle, bpf, new UIntPtr (trim), new UIntPtr (samples)); + Gst.Buffer ret = raw_ret == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Buffer), true); + return ret; + } + + static void ReadNative (IntPtr native, ref Gst.Audio.AudioBuffer target) + { + target = New (native); + } + + public bool Equals (AudioBuffer other) + { + return true && Info.Equals (other.Info) && NSamples.Equals (other.NSamples) && NPlanes.Equals (other.NPlanes) && _planes.Equals (other._planes) && Buffer.Equals (other.Buffer) && _map_infos.Equals (other._map_infos); + } + + public override bool Equals (object other) + { + return other is AudioBuffer && Equals ((AudioBuffer) other); + } + + public override int GetHashCode () + { + return this.GetType ().FullName.GetHashCode () ^ Info.GetHashCode () ^ NSamples.GetHashCode () ^ NPlanes.GetHashCode () ^ _planes.GetHashCode () ^ Buffer.GetHashCode () ^ _map_infos.GetHashCode (); + } + + private static GLib.GType GType { + get { return GLib.GType.Pointer; } + } +#endregion + } +} diff --git a/sources/generated/Gst.Audio/AudioConverter.cs b/sources/generated/Gst.Audio/AudioConverter.cs index 1732cfd..eb1b075 100644 --- a/sources/generated/Gst.Audio/AudioConverter.cs +++ b/sources/generated/Gst.Audio/AudioConverter.cs @@ -97,6 +97,21 @@ namespace Gst.Audio { } [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_audio_converter_is_passthrough(IntPtr raw); + + public bool IsPassthrough { + get { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_audio_converter_is_passthrough(this_as_native); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + } + + [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_audio_converter_reset(IntPtr raw); public void Reset() { diff --git a/sources/generated/Gst.Audio/AudioDecoder.cs b/sources/generated/Gst.Audio/AudioDecoder.cs index 0855b8a..fa9c917 100644 --- a/sources/generated/Gst.Audio/AudioDecoder.cs +++ b/sources/generated/Gst.Audio/AudioDecoder.cs @@ -1533,6 +1533,15 @@ namespace Gst.Audio { } [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_audio_decoder_set_output_caps(IntPtr raw, IntPtr caps); + + public bool SetOutputCaps(Gst.Caps caps) { + bool raw_ret = gst_audio_decoder_set_output_caps(Handle, caps == null ? IntPtr.Zero : caps.Handle); + bool ret = raw_ret; + return ret; + } + + [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_audio_decoder_set_output_format(IntPtr raw, IntPtr info); public bool SetOutputFormat(Gst.Audio.AudioInfo info) { diff --git a/sources/generated/Gst.Audio/AudioMeta.cs b/sources/generated/Gst.Audio/AudioMeta.cs new file mode 100644 index 0000000..18ff416 --- /dev/null +++ b/sources/generated/Gst.Audio/AudioMeta.cs @@ -0,0 +1,74 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.Audio { + + using System; + using System.Collections; + using System.Collections.Generic; + using System.Runtime.InteropServices; + +#region Autogenerated code + [StructLayout(LayoutKind.Sequential)] + public partial struct AudioMeta : IEquatable<AudioMeta> { + + public Gst.Meta Meta; + private IntPtr _info; + public Gst.Audio.AudioInfo Info { + get { + return _info == IntPtr.Zero ? null : (Gst.Audio.AudioInfo) GLib.Opaque.GetOpaque (_info, typeof (Gst.Audio.AudioInfo), false); + } + set { + _info = value == null ? IntPtr.Zero : value.Handle; + } + } + private UIntPtr samples; + public ulong Samples { + get { + return (ulong) samples; + } + set { + samples = new UIntPtr (value); + } + } + private UIntPtr offsets; + public ulong Offsets { + get { + return (ulong) offsets; + } + set { + offsets = new UIntPtr (value); + } + } + [MarshalAs (UnmanagedType.ByValArray, SizeConst=4)] + private IntPtr[] _gstGstReserved; + + public static Gst.Audio.AudioMeta Zero = new Gst.Audio.AudioMeta (); + + public static Gst.Audio.AudioMeta New(IntPtr raw) { + if (raw == IntPtr.Zero) + return Gst.Audio.AudioMeta.Zero; + return (Gst.Audio.AudioMeta) Marshal.PtrToStructure (raw, typeof (Gst.Audio.AudioMeta)); + } + + public bool Equals (AudioMeta other) + { + return true && Meta.Equals (other.Meta) && Info.Equals (other.Info) && Samples.Equals (other.Samples) && Offsets.Equals (other.Offsets); + } + + public override bool Equals (object other) + { + return other is AudioMeta && Equals ((AudioMeta) other); + } + + public override int GetHashCode () + { + return this.GetType ().FullName.GetHashCode () ^ Meta.GetHashCode () ^ Info.GetHashCode () ^ Samples.GetHashCode () ^ Offsets.GetHashCode (); + } + + private static GLib.GType GType { + get { return GLib.GType.Pointer; } + } +#endregion + } +} diff --git a/sources/generated/Gst.Audio/AudioRingBuffer.cs b/sources/generated/Gst.Audio/AudioRingBuffer.cs index 149b3d0..3e49690 100644 --- a/sources/generated/Gst.Audio/AudioRingBuffer.cs +++ b/sources/generated/Gst.Audio/AudioRingBuffer.cs @@ -63,15 +63,6 @@ namespace Gst.Audio { } } - public ulong Timestamps { - get { - unsafe { - ulong* raw_ptr = (ulong*)(((byte*)Handle) + abi_info.GetFieldOffset("timestamps")); - return (*raw_ptr); - } - } - } - public Gst.Audio.AudioRingBufferSpec Spec { get { unsafe { diff --git a/sources/generated/Gst.Audio/Global.cs b/sources/generated/Gst.Audio/Global.cs index 1ddde9e..ef43c33 100644 --- a/sources/generated/Gst.Audio/Global.cs +++ b/sources/generated/Gst.Audio/Global.cs @@ -41,6 +41,16 @@ namespace Gst.Audio { } [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_audio_buffer_truncate(IntPtr buffer, int bpf, UIntPtr trim, UIntPtr samples); + + public static Gst.Buffer AudioBufferTruncate(Gst.Buffer buffer, int bpf, ulong trim, ulong samples) { + buffer.Owned = false; + IntPtr raw_ret = gst_audio_buffer_truncate(buffer == null ? IntPtr.Zero : buffer.Handle, bpf, new UIntPtr (trim), new UIntPtr (samples)); + Gst.Buffer ret = raw_ret == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Buffer), true); + return ret; + } + + [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern ulong gst_audio_channel_get_fallback_mask(int channels); public static ulong AudioChannelGetFallbackMask(int channels) { @@ -242,6 +252,24 @@ namespace Gst.Audio { } [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_audio_meta_api_get_type(); + + public static GLib.GType AudioMetaApiGetType() { + IntPtr raw_ret = gst_audio_meta_api_get_type(); + GLib.GType ret = new GLib.GType(raw_ret); + return ret; + } + + [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_audio_meta_get_info(); + + public static Gst.MetaInfo AudioMetaGetInfo() { + IntPtr raw_ret = gst_audio_meta_get_info(); + Gst.MetaInfo ret = Gst.MetaInfo.New (raw_ret); + return ret; + } + + [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_audio_reorder_channels(byte[] data, UIntPtr n_length, int format, int channels, int[] from, int[] to); public static bool AudioReorderChannels(byte[] data, Gst.Audio.AudioFormat format, int channels, Gst.Audio.AudioChannelPosition[] from, Gst.Audio.AudioChannelPosition[] to) { diff --git a/sources/generated/Gst.Base/Aggregator.cs b/sources/generated/Gst.Base/Aggregator.cs index df92bde..7f0ea82 100644 --- a/sources/generated/Gst.Base/Aggregator.cs +++ b/sources/generated/Gst.Base/Aggregator.cs @@ -35,6 +35,21 @@ namespace Gst.Base { } } + [GLib.Property ("min-upstream-latency")] + public ulong MinUpstreamLatency { + get { + GLib.Value val = GetProperty ("min-upstream-latency"); + ulong ret = (ulong) val; + val.Dispose (); + return ret; + } + set { + GLib.Value val = new GLib.Value(value); + SetProperty("min-upstream-latency", val); + val.Dispose (); + } + } + [GLib.Property ("start-time")] public ulong StartTime { get { @@ -779,14 +794,16 @@ namespace Gst.Base { } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] - delegate int UpdateSrcCapsNativeDelegate (IntPtr inst, IntPtr caps, IntPtr _ret); + delegate int UpdateSrcCapsNativeDelegate (IntPtr inst, IntPtr caps, out IntPtr _ret); - static int UpdateSrcCaps_cb (IntPtr inst, IntPtr caps, IntPtr _ret) + static int UpdateSrcCaps_cb (IntPtr inst, IntPtr caps, out IntPtr _ret) { try { Aggregator __obj = GLib.Object.GetObject (inst, false) as Aggregator; Gst.FlowReturn __result; - __result = __obj.OnUpdateSrcCaps (caps == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (caps, typeof (Gst.Caps), false), _ret == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (_ret, typeof (Gst.Caps), false)); + Gst.Caps my_ret; + __result = __obj.OnUpdateSrcCaps (caps == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (caps, typeof (Gst.Caps), false), out my_ret); + _ret = my_ret == null ? IntPtr.Zero : my_ret.Handle; return (int) __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); @@ -796,21 +813,23 @@ namespace Gst.Base { } [GLib.DefaultSignalHandler(Type=typeof(Gst.Base.Aggregator), ConnectionMethod="OverrideUpdateSrcCaps")] - protected virtual Gst.FlowReturn OnUpdateSrcCaps (Gst.Caps caps, Gst.Caps _ret) + protected virtual Gst.FlowReturn OnUpdateSrcCaps (Gst.Caps caps, out Gst.Caps _ret) { - return InternalUpdateSrcCaps (caps, _ret); + return InternalUpdateSrcCaps (caps, out _ret); } - private Gst.FlowReturn InternalUpdateSrcCaps (Gst.Caps caps, Gst.Caps _ret) + private Gst.FlowReturn InternalUpdateSrcCaps (Gst.Caps caps, out Gst.Caps _ret) { UpdateSrcCapsNativeDelegate unmanaged = null; unsafe { IntPtr* raw_ptr = (IntPtr*)(((long) this.LookupGType().GetThresholdType().GetClassPtr()) + (long) class_abi.GetFieldOffset("update_src_caps")); unmanaged = (UpdateSrcCapsNativeDelegate) Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(UpdateSrcCapsNativeDelegate)); } - if (unmanaged == null) return (Gst.FlowReturn) 0; + if (unmanaged == null) throw new InvalidOperationException ("No base method to invoke"); - int __result = unmanaged (this.Handle, caps == null ? IntPtr.Zero : caps.Handle, _ret == null ? IntPtr.Zero : _ret.Handle); + IntPtr native__ret; + int __result = unmanaged (this.Handle, caps == null ? IntPtr.Zero : caps.Handle, out native__ret); + _ret = native__ret == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (native__ret, typeof (Gst.Caps), true); return (Gst.FlowReturn) __result; } @@ -1274,6 +1293,15 @@ namespace Gst.Base { } } + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern ulong gst_aggregator_simple_get_next_time(IntPtr raw); + + public ulong SimpleGetNextTime() { + ulong raw_ret = gst_aggregator_simple_get_next_time(Handle); + ulong ret = raw_ret; + return ret; + } + static Aggregator () { diff --git a/sources/generated/Gst.Base/BaseSink.cs b/sources/generated/Gst.Base/BaseSink.cs index 74b7592..0ec6d92 100644 --- a/sources/generated/Gst.Base/BaseSink.cs +++ b/sources/generated/Gst.Base/BaseSink.cs @@ -114,6 +114,24 @@ namespace Gst.Base { } } + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern ulong gst_base_sink_get_processing_deadline(IntPtr raw); + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_base_sink_set_processing_deadline(IntPtr raw, ulong processing_deadline); + + [GLib.Property ("processing-deadline")] + public ulong ProcessingDeadline { + get { + ulong raw_ret = gst_base_sink_get_processing_deadline(Handle); + ulong ret = raw_ret; + return ret; + } + set { + gst_base_sink_set_processing_deadline(Handle, value); + } + } + [GLib.Property ("qos")] public bool Qos { get { diff --git a/sources/generated/Gst.Base/BitWriter.cs b/sources/generated/Gst.Base/BitWriter.cs new file mode 100644 index 0000000..c6aaebd --- /dev/null +++ b/sources/generated/Gst.Base/BitWriter.cs @@ -0,0 +1,258 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.Base { + + using System; + using System.Collections; + using System.Collections.Generic; + using System.Runtime.InteropServices; + +#region Autogenerated code + [StructLayout(LayoutKind.Sequential)] + public partial struct BitWriter : IEquatable<BitWriter> { + + public byte Data; + public uint BitSize; + private uint bit_capacity; + private bool auto_grow; + private bool owned; + [MarshalAs (UnmanagedType.ByValArray, SizeConst=4)] + private IntPtr[] _gstGstReserved; + + public static Gst.Base.BitWriter Zero = new Gst.Base.BitWriter (); + + public static Gst.Base.BitWriter New(IntPtr raw) { + if (raw == IntPtr.Zero) + return Gst.Base.BitWriter.Zero; + return (Gst.Base.BitWriter) Marshal.PtrToStructure (raw, typeof (Gst.Base.BitWriter)); + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_bit_writer_align_bytes(IntPtr raw, byte trailing_bit); + + public bool AlignBytes(byte trailing_bit) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_bit_writer_align_bytes(this_as_native, trailing_bit); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_bit_writer_free(IntPtr raw); + + public void Free() { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + gst_bit_writer_free(this_as_native); + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_bit_writer_free_and_get_buffer(IntPtr raw); + + public Gst.Buffer FreeAndGetBuffer() { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + IntPtr raw_ret = gst_bit_writer_free_and_get_buffer(this_as_native); + Gst.Buffer ret = raw_ret == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Buffer), true); + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern uint gst_bit_writer_get_remaining(IntPtr raw); + + public uint Remaining { + get { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + uint raw_ret = gst_bit_writer_get_remaining(this_as_native); + uint ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern uint gst_bit_writer_get_size(IntPtr raw); + + public uint Size { + get { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + uint raw_ret = gst_bit_writer_get_size(this_as_native); + uint ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_bit_writer_init(IntPtr raw); + + public void Init() { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + gst_bit_writer_init(this_as_native); + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_bit_writer_init_with_data(IntPtr raw, byte[] data, uint size, bool initialized); + + public void InitWithData(byte[] data, uint size, bool initialized) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + gst_bit_writer_init_with_data(this_as_native, data, size, initialized); + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_bit_writer_init_with_size(IntPtr raw, uint size, bool mfixed); + + public void InitWithSize(uint size, bool mfixed) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + gst_bit_writer_init_with_size(this_as_native, size, mfixed); + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_bit_writer_put_bits_uint16(IntPtr raw, ushort value, uint nbits); + + public bool PutBitsUint16(ushort value, uint nbits) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_bit_writer_put_bits_uint16(this_as_native, value, nbits); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_bit_writer_put_bits_uint32(IntPtr raw, uint value, uint nbits); + + public bool PutBitsUint32(uint value, uint nbits) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_bit_writer_put_bits_uint32(this_as_native, value, nbits); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_bit_writer_put_bits_uint64(IntPtr raw, ulong value, uint nbits); + + public bool PutBitsUint64(ulong value, uint nbits) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_bit_writer_put_bits_uint64(this_as_native, value, nbits); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_bit_writer_put_bits_uint8(IntPtr raw, byte value, uint nbits); + + public bool PutBitsUint8(byte value, uint nbits) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_bit_writer_put_bits_uint8(this_as_native, value, nbits); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_bit_writer_put_bytes(IntPtr raw, byte data, uint nbytes); + + public bool PutBytes(byte data, uint nbytes) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_bit_writer_put_bytes(this_as_native, data, nbytes); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_bit_writer_reset(IntPtr raw); + + public void Reset() { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + gst_bit_writer_reset(this_as_native); + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_bit_writer_reset_and_get_buffer(IntPtr raw); + + public Gst.Buffer ResetAndGetBuffer() { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + IntPtr raw_ret = gst_bit_writer_reset_and_get_buffer(this_as_native); + Gst.Buffer ret = raw_ret == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Buffer), true); + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_bit_writer_set_pos(IntPtr raw, uint pos); + + public bool SetPos(uint pos) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_bit_writer_set_pos(this_as_native, pos); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + static void ReadNative (IntPtr native, ref Gst.Base.BitWriter target) + { + target = New (native); + } + + public bool Equals (BitWriter other) + { + return true && Data.Equals (other.Data) && BitSize.Equals (other.BitSize) && bit_capacity.Equals (other.bit_capacity) && auto_grow.Equals (other.auto_grow) && owned.Equals (other.owned); + } + + public override bool Equals (object other) + { + return other is BitWriter && Equals ((BitWriter) other); + } + + public override int GetHashCode () + { + return this.GetType ().FullName.GetHashCode () ^ Data.GetHashCode () ^ BitSize.GetHashCode () ^ bit_capacity.GetHashCode () ^ auto_grow.GetHashCode () ^ owned.GetHashCode (); + } + + private static GLib.GType GType { + get { return GLib.GType.Pointer; } + } +#endregion + } +} diff --git a/sources/generated/Gst.Base/Global.cs b/sources/generated/Gst.Base/Global.cs index dc7ff3f..610aff2 100644 --- a/sources/generated/Gst.Base/Global.cs +++ b/sources/generated/Gst.Base/Global.cs @@ -36,6 +36,23 @@ namespace Gst.Base { } [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_type_find_helper_for_buffer_with_extension(IntPtr obj, IntPtr buf, IntPtr extension, out int prob); + + public static Gst.Caps TypeFindHelperForBufferWithExtension(Gst.Object obj, Gst.Buffer buf, string extension, out Gst.TypeFindProbability prob) { + IntPtr native_extension = GLib.Marshaller.StringToPtrGStrdup (extension); + int native_prob; + IntPtr raw_ret = gst_type_find_helper_for_buffer_with_extension(obj == null ? IntPtr.Zero : obj.Handle, buf == null ? IntPtr.Zero : buf.Handle, native_extension, out native_prob); + Gst.Caps ret = raw_ret == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Caps), true); + GLib.Marshaller.Free (native_extension); + prob = (Gst.TypeFindProbability) native_prob; + return ret; + } + + public static Gst.Caps TypeFindHelperForBufferWithExtension(Gst.Buffer buf, out Gst.TypeFindProbability prob) { + return TypeFindHelperForBufferWithExtension (null, buf, null, out prob); + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_type_find_helper_for_data(IntPtr obj, byte[] data, UIntPtr size, out int prob); public static Gst.Caps TypeFindHelperForData(Gst.Object obj, byte[] data, ulong size, out Gst.TypeFindProbability prob) { @@ -51,6 +68,23 @@ namespace Gst.Base { } [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_type_find_helper_for_data_with_extension(IntPtr obj, byte[] data, UIntPtr size, IntPtr extension, out int prob); + + public static Gst.Caps TypeFindHelperForDataWithExtension(Gst.Object obj, byte[] data, ulong size, string extension, out Gst.TypeFindProbability prob) { + IntPtr native_extension = GLib.Marshaller.StringToPtrGStrdup (extension); + int native_prob; + IntPtr raw_ret = gst_type_find_helper_for_data_with_extension(obj == null ? IntPtr.Zero : obj.Handle, data, new UIntPtr (size), native_extension, out native_prob); + Gst.Caps ret = raw_ret == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Caps), true); + GLib.Marshaller.Free (native_extension); + prob = (Gst.TypeFindProbability) native_prob; + return ret; + } + + public static Gst.Caps TypeFindHelperForDataWithExtension(byte[] data, ulong size, out Gst.TypeFindProbability prob) { + return TypeFindHelperForDataWithExtension (null, data, size, null, out prob); + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_type_find_helper_for_extension(IntPtr obj, IntPtr extension); public static Gst.Caps TypeFindHelperForExtension(Gst.Object obj, string extension) { @@ -79,8 +113,28 @@ namespace Gst.Base { return ret; } - public static Gst.Caps TypeFindHelperGetRange(Gst.Object obj, Gst.Base.TypeFindHelperGetRangeFunction func, ulong size, string extension, out Gst.TypeFindProbability prob) { - return TypeFindHelperGetRange (obj, null, func, size, extension, out prob); + public static Gst.Caps TypeFindHelperGetRange(Gst.Object obj, Gst.Base.TypeFindHelperGetRangeFunction func, ulong size, out Gst.TypeFindProbability prob) { + return TypeFindHelperGetRange (obj, null, func, size, null, out prob); + } + + [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern int gst_type_find_helper_get_range_full(IntPtr obj, IntPtr parent, Gst.BaseSharp.TypeFindHelperGetRangeFunctionNative func, ulong size, IntPtr extension, out IntPtr caps, out int prob); + + public static Gst.FlowReturn TypeFindHelperGetRangeFull(Gst.Object obj, Gst.Object parent, Gst.Base.TypeFindHelperGetRangeFunction func, ulong size, string extension, out Gst.Caps caps, out Gst.TypeFindProbability prob) { + Gst.BaseSharp.TypeFindHelperGetRangeFunctionWrapper func_wrapper = new Gst.BaseSharp.TypeFindHelperGetRangeFunctionWrapper (func); + IntPtr native_extension = GLib.Marshaller.StringToPtrGStrdup (extension); + IntPtr native_caps; + int native_prob; + int raw_ret = gst_type_find_helper_get_range_full(obj == null ? IntPtr.Zero : obj.Handle, parent == null ? IntPtr.Zero : parent.Handle, func_wrapper.NativeDelegate, size, native_extension, out native_caps, out native_prob); + Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret; + GLib.Marshaller.Free (native_extension); + caps = native_caps == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (native_caps, typeof (Gst.Caps), true); + prob = (Gst.TypeFindProbability) native_prob; + return ret; + } + + public static Gst.FlowReturn TypeFindHelperGetRangeFull(Gst.Object obj, Gst.Base.TypeFindHelperGetRangeFunction func, ulong size, out Gst.Caps caps, out Gst.TypeFindProbability prob) { + return TypeFindHelperGetRangeFull (obj, null, func, size, null, out caps, out prob); } #endregion diff --git a/sources/generated/Gst.Controller/TimedValueControlSource.cs b/sources/generated/Gst.Controller/TimedValueControlSource.cs index 3aa049c..cb17ceb 100644 --- a/sources/generated/Gst.Controller/TimedValueControlSource.cs +++ b/sources/generated/Gst.Controller/TimedValueControlSource.cs @@ -55,23 +55,23 @@ namespace Gst.Controller { } } - [GLib.Signal("value-changed")] - public event Gst.Controller.ValueChangedHandler ValueChanged { + [GLib.Signal("value-added")] + public event Gst.Controller.ValueAddedHandler ValueAdded { add { - this.AddSignalHandler ("value-changed", value, typeof (Gst.Controller.ValueChangedArgs)); + this.AddSignalHandler ("value-added", value, typeof (Gst.Controller.ValueAddedArgs)); } remove { - this.RemoveSignalHandler ("value-changed", value); + this.RemoveSignalHandler ("value-added", value); } } - [GLib.Signal("value-added")] - public event Gst.Controller.ValueAddedHandler ValueAdded { + [GLib.Signal("value-changed")] + public event Gst.Controller.ValueChangedHandler ValueChanged { add { - this.AddSignalHandler ("value-added", value, typeof (Gst.Controller.ValueAddedArgs)); + this.AddSignalHandler ("value-changed", value, typeof (Gst.Controller.ValueChangedArgs)); } remove { - this.RemoveSignalHandler ("value-added", value); + this.RemoveSignalHandler ("value-changed", value); } } diff --git a/sources/generated/Gst.PbUtils/Constants.cs b/sources/generated/Gst.PbUtils/Constants.cs index 1df891e..d907cfe 100644 --- a/sources/generated/Gst.PbUtils/Constants.cs +++ b/sources/generated/Gst.PbUtils/Constants.cs @@ -17,9 +17,9 @@ namespace Gst.PbUtils { public const string ENCODING_CATEGORY_ONLINE_SERVICE = @"online-service"; public const string ENCODING_CATEGORY_STORAGE_EDITING = @"storage-editing"; public const int PLUGINS_BASE_VERSION_MAJOR = 1; - public const int PLUGINS_BASE_VERSION_MICRO = 0; + public const int PLUGINS_BASE_VERSION_MICRO = 1; public const int PLUGINS_BASE_VERSION_MINOR = 15; - public const int PLUGINS_BASE_VERSION_NANO = 1; + public const int PLUGINS_BASE_VERSION_NANO = 0; #endregion } } diff --git a/sources/generated/Gst.PbUtils/Discoverer.cs b/sources/generated/Gst.PbUtils/Discoverer.cs index 3213726..6cea90b 100644 --- a/sources/generated/Gst.PbUtils/Discoverer.cs +++ b/sources/generated/Gst.PbUtils/Discoverer.cs @@ -44,6 +44,31 @@ namespace Gst.PbUtils { } } + [GLib.Property ("use-cache")] + public bool UseCache { + get { + GLib.Value val = GetProperty ("use-cache"); + bool ret = (bool) val; + val.Dispose (); + return ret; + } + set { + GLib.Value val = new GLib.Value(value); + SetProperty("use-cache", val); + val.Dispose (); + } + } + + [GLib.Signal("discovered")] + public event Gst.PbUtils.DiscoveredHandler Discovered { + add { + this.AddSignalHandler ("discovered", value, typeof (Gst.PbUtils.DiscoveredArgs)); + } + remove { + this.RemoveSignalHandler ("discovered", value); + } + } + [GLib.Signal("starting")] public event System.EventHandler Starting { add { @@ -64,16 +89,6 @@ namespace Gst.PbUtils { } } - [GLib.Signal("discovered")] - public event Gst.PbUtils.DiscoveredHandler Discovered { - add { - this.AddSignalHandler ("discovered", value, typeof (Gst.PbUtils.DiscoveredArgs)); - } - remove { - this.RemoveSignalHandler ("discovered", value); - } - } - [GLib.Signal("source-setup")] public event Gst.PbUtils.SourceSetupHandler SourceSetup { add { diff --git a/sources/generated/Gst.PbUtils/EncodingProfile.cs b/sources/generated/Gst.PbUtils/EncodingProfile.cs index 2b35254..68ee401 100644 --- a/sources/generated/Gst.PbUtils/EncodingProfile.cs +++ b/sources/generated/Gst.PbUtils/EncodingProfile.cs @@ -74,8 +74,8 @@ namespace Gst.PbUtils { return ret; } - public static Gst.PbUtils.EncodingProfile Find(string targetname, string profilename) { - return Find (targetname, profilename, null); + public static Gst.PbUtils.EncodingProfile Find(string targetname) { + return Find (targetname, null, null); } [DllImport("libgstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] diff --git a/sources/generated/Gst.Rtp/Constants.cs b/sources/generated/Gst.Rtp/Constants.cs index 24020fe..10786eb 100644 --- a/sources/generated/Gst.Rtp/Constants.cs +++ b/sources/generated/Gst.Rtp/Constants.cs @@ -59,6 +59,7 @@ namespace Gst.Rtp { public const string RTP_PAYLOAD_TS41_STRING = @"19"; public const int RTP_PAYLOAD_TS48 = 18; public const string RTP_PAYLOAD_TS48_STRING = @"18"; + public const int RTP_SOURCE_META_MAX_CSRC_COUNT = 15; public const int RTP_VERSION = 2; #endregion } diff --git a/sources/generated/Gst.Rtp/Global.cs b/sources/generated/Gst.Rtp/Global.cs index d599963..27bb9c6 100644 --- a/sources/generated/Gst.Rtp/Global.cs +++ b/sources/generated/Gst.Rtp/Global.cs @@ -12,6 +12,28 @@ namespace Gst.Rtp { public partial class Global { [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_buffer_add_rtp_source_meta(IntPtr buffer, uint ssrc, uint csrc, uint csrc_count); + + public static Gst.Rtp.RTPSourceMeta BufferAddRtpSourceMeta(Gst.Buffer buffer, uint ssrc, uint csrc, uint csrc_count) { + IntPtr raw_ret = gst_buffer_add_rtp_source_meta(buffer == null ? IntPtr.Zero : buffer.Handle, ssrc, csrc, csrc_count); + Gst.Rtp.RTPSourceMeta ret = Gst.Rtp.RTPSourceMeta.New (raw_ret); + return ret; + } + + public static Gst.Rtp.RTPSourceMeta BufferAddRtpSourceMeta(Gst.Buffer buffer, uint csrc_count) { + return BufferAddRtpSourceMeta (buffer, 0, 0, csrc_count); + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_buffer_get_rtp_source_meta(IntPtr buffer); + + public static Gst.Rtp.RTPSourceMeta BufferGetRtpSourceMeta(Gst.Buffer buffer) { + IntPtr raw_ret = gst_buffer_get_rtp_source_meta(buffer == null ? IntPtr.Zero : buffer.Handle); + Gst.Rtp.RTPSourceMeta ret = Gst.Rtp.RTPSourceMeta.New (raw_ret); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_rtcp_buffer_map(IntPtr buffer, int flags, IntPtr rtcp); public static bool RtcpBufferMap(Gst.Buffer buffer, Gst.MapFlags flags, Gst.Rtp.RTCPBuffer rtcp) { @@ -290,6 +312,24 @@ namespace Gst.Rtp { return ret; } + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_rtp_source_meta_api_get_type(); + + public static GLib.GType RtpSourceMetaApiGetType() { + IntPtr raw_ret = gst_rtp_source_meta_api_get_type(); + GLib.GType ret = new GLib.GType(raw_ret); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_rtp_source_meta_get_info(); + + public static Gst.MetaInfo RtpSourceMetaGetInfo() { + IntPtr raw_ret = gst_rtp_source_meta_get_info(); + Gst.MetaInfo ret = Gst.MetaInfo.New (raw_ret); + return ret; + } + #endregion } } diff --git a/sources/generated/Gst.Rtp/RTCPPacket.cs b/sources/generated/Gst.Rtp/RTCPPacket.cs index 6138428..a32f517 100644 --- a/sources/generated/Gst.Rtp/RTCPPacket.cs +++ b/sources/generated/Gst.Rtp/RTCPPacket.cs @@ -646,6 +646,305 @@ namespace Gst.Rtp { System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); } + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_first_rb(IntPtr raw); + + public bool XrFirstRb() { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_first_rb(this_as_native); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern ushort gst_rtcp_packet_xr_get_block_length(IntPtr raw); + + public ushort XrGetBlockLength() { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + ushort raw_ret = gst_rtcp_packet_xr_get_block_length(this_as_native); + ushort ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern int gst_rtcp_packet_xr_get_block_type(IntPtr raw); + + public Gst.Rtp.RTCPXRType XrGetBlockType() { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + int raw_ret = gst_rtcp_packet_xr_get_block_type(this_as_native); + Gst.Rtp.RTCPXRType ret = (Gst.Rtp.RTCPXRType) raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_dlrr_block(IntPtr raw, uint nth, uint ssrc, uint last_rr, uint delay); + + public bool XrGetDlrrBlock(uint nth, uint ssrc, uint last_rr, uint delay) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_dlrr_block(this_as_native, nth, ssrc, last_rr, delay); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_prt_by_seq(IntPtr raw, ushort seq, uint receipt_time); + + public bool XrGetPrtBySeq(ushort seq, uint receipt_time) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_prt_by_seq(this_as_native, seq, receipt_time); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_prt_info(IntPtr raw, uint ssrc, byte thinning, ushort begin_seq, ushort end_seq); + + public bool XrGetPrtInfo(uint ssrc, byte thinning, ushort begin_seq, ushort end_seq) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_prt_info(this_as_native, ssrc, thinning, begin_seq, end_seq); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_rle_info(IntPtr raw, uint ssrc, byte thinning, ushort begin_seq, ushort end_seq, uint chunk_count); + + public bool XrGetRleInfo(uint ssrc, byte thinning, ushort begin_seq, ushort end_seq, uint chunk_count) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_rle_info(this_as_native, ssrc, thinning, begin_seq, end_seq, chunk_count); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_rle_nth_chunk(IntPtr raw, uint nth, ushort chunk); + + public bool XrGetRleNthChunk(uint nth, ushort chunk) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_rle_nth_chunk(this_as_native, nth, chunk); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_rrt(IntPtr raw, ulong timestamp); + + public bool XrGetRrt(ulong timestamp) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_rrt(this_as_native, timestamp); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern uint gst_rtcp_packet_xr_get_ssrc(IntPtr raw); + + public uint XrGetSsrc() { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + uint raw_ret = gst_rtcp_packet_xr_get_ssrc(this_as_native); + uint ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_summary_info(IntPtr raw, uint ssrc, ushort begin_seq, ushort end_seq); + + public bool XrGetSummaryInfo(uint ssrc, ushort begin_seq, ushort end_seq) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_summary_info(this_as_native, ssrc, begin_seq, end_seq); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_summary_jitter(IntPtr raw, uint min_jitter, uint max_jitter, uint mean_jitter, uint dev_jitter); + + public bool XrGetSummaryJitter(uint min_jitter, uint max_jitter, uint mean_jitter, uint dev_jitter) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_summary_jitter(this_as_native, min_jitter, max_jitter, mean_jitter, dev_jitter); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_summary_pkt(IntPtr raw, uint lost_packets, uint dup_packets); + + public bool XrGetSummaryPkt(uint lost_packets, uint dup_packets) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_summary_pkt(this_as_native, lost_packets, dup_packets); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_summary_ttl(IntPtr raw, bool is_ipv4, byte min_ttl, byte max_ttl, byte mean_ttl, byte dev_ttl); + + public bool XrGetSummaryTtl(bool is_ipv4, byte min_ttl, byte max_ttl, byte mean_ttl, byte dev_ttl) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_summary_ttl(this_as_native, is_ipv4, min_ttl, max_ttl, mean_ttl, dev_ttl); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_voip_burst_metrics(IntPtr raw, byte burst_density, byte gap_density, ushort burst_duration, ushort gap_duration); + + public bool XrGetVoipBurstMetrics(byte burst_density, byte gap_density, ushort burst_duration, ushort gap_duration) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_voip_burst_metrics(this_as_native, burst_density, gap_density, burst_duration, gap_duration); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_voip_configuration_params(IntPtr raw, byte gmin, byte rx_config); + + public bool XrGetVoipConfigurationParams(byte gmin, byte rx_config) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_voip_configuration_params(this_as_native, gmin, rx_config); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_voip_delay_metrics(IntPtr raw, ushort roundtrip_delay, ushort end_system_delay); + + public bool XrGetVoipDelayMetrics(ushort roundtrip_delay, ushort end_system_delay) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_voip_delay_metrics(this_as_native, roundtrip_delay, end_system_delay); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_voip_jitter_buffer_params(IntPtr raw, ushort jb_nominal, ushort jb_maximum, ushort jb_abs_max); + + public bool XrGetVoipJitterBufferParams(ushort jb_nominal, ushort jb_maximum, ushort jb_abs_max) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_voip_jitter_buffer_params(this_as_native, jb_nominal, jb_maximum, jb_abs_max); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_voip_metrics_ssrc(IntPtr raw, uint ssrc); + + public bool XrGetVoipMetricsSsrc(uint ssrc) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_voip_metrics_ssrc(this_as_native, ssrc); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_voip_packet_metrics(IntPtr raw, byte loss_rate, byte discard_rate); + + public bool XrGetVoipPacketMetrics(byte loss_rate, byte discard_rate) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_voip_packet_metrics(this_as_native, loss_rate, discard_rate); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_voip_quality_metrics(IntPtr raw, byte r_factor, byte ext_r_factor, byte mos_lq, byte mos_cq); + + public bool XrGetVoipQualityMetrics(byte r_factor, byte ext_r_factor, byte mos_lq, byte mos_cq) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_voip_quality_metrics(this_as_native, r_factor, ext_r_factor, mos_lq, mos_cq); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_get_voip_signal_metrics(IntPtr raw, byte signal_level, byte noise_level, byte rerl, byte gmin); + + public bool XrGetVoipSignalMetrics(byte signal_level, byte noise_level, byte rerl, byte gmin) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_get_voip_signal_metrics(this_as_native, signal_level, noise_level, rerl, gmin); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtcp_packet_xr_next_rb(IntPtr raw); + + public bool XrNextRb() { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtcp_packet_xr_next_rb(this_as_native); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + static void ReadNative (IntPtr native, ref Gst.Rtp.RTCPPacket target) { target = New (native); diff --git a/sources/generated/Gst.Rtp/RTCPXRType.cs b/sources/generated/Gst.Rtp/RTCPXRType.cs new file mode 100644 index 0000000..0324c14 --- /dev/null +++ b/sources/generated/Gst.Rtp/RTCPXRType.cs @@ -0,0 +1,34 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.Rtp { + + using System; + using System.Runtime.InteropServices; + +#region Autogenerated code + [GLib.GType (typeof (Gst.Rtp.RTCPXRTypeGType))] + public enum RTCPXRType { + + Invalid = -1, + Lrle = 1, + Drle = 2, + Prt = 3, + Rrt = 4, + Dlrr = 5, + Ssumm = 6, + VoipMetrics = 7, + } + + internal class RTCPXRTypeGType { + [DllImport ("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_rtcpxr_type_get_type (); + + public static GLib.GType GType { + get { + return new GLib.GType (gst_rtcpxr_type_get_type ()); + } + } + } +#endregion +} diff --git a/sources/generated/Gst.Rtp/RTPBaseDepayload.cs b/sources/generated/Gst.Rtp/RTPBaseDepayload.cs index ee2113c..bff510f 100644 --- a/sources/generated/Gst.Rtp/RTPBaseDepayload.cs +++ b/sources/generated/Gst.Rtp/RTPBaseDepayload.cs @@ -18,6 +18,21 @@ namespace Gst.Rtp { CreateNativeObject (new string [0], new GLib.Value [0]); } + [GLib.Property ("source-info")] + public bool SourceInfo { + get { + GLib.Value val = GetProperty ("source-info"); + bool ret = (bool) val; + val.Dispose (); + return ret; + } + set { + GLib.Value val = new GLib.Value(value); + SetProperty("source-info", val); + val.Dispose (); + } + } + [GLib.Property ("stats")] public Gst.Structure Stats { get { @@ -441,6 +456,17 @@ namespace Gst.Rtp { } [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtp_base_depayload_is_source_info_enabled(IntPtr raw); + + public bool IsSourceInfoEnabled { + get { + bool raw_ret = gst_rtp_base_depayload_is_source_info_enabled(Handle); + bool ret = raw_ret; + return ret; + } + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern int gst_rtp_base_depayload_push(IntPtr raw, IntPtr out_buf); public Gst.FlowReturn Push(Gst.Buffer out_buf) { @@ -458,6 +484,15 @@ namespace Gst.Rtp { return ret; } + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_rtp_base_depayload_set_source_info_enabled(IntPtr raw, bool enable); + + public bool SourceInfoEnabled { + set { + gst_rtp_base_depayload_set_source_info_enabled(Handle, value); + } + } + static RTPBaseDepayload () { diff --git a/sources/generated/Gst.Rtp/RTPBasePayload.cs b/sources/generated/Gst.Rtp/RTPBasePayload.cs index 088b5d7..4dcd040 100644 --- a/sources/generated/Gst.Rtp/RTPBasePayload.cs +++ b/sources/generated/Gst.Rtp/RTPBasePayload.cs @@ -133,6 +133,21 @@ namespace Gst.Rtp { } } + [GLib.Property ("source-info")] + public bool SourceInfo { + get { + GLib.Value val = GetProperty ("source-info"); + bool ret = (bool) val; + val.Dispose (); + return ret; + } + set { + GLib.Value val = new GLib.Value(value); + SetProperty("source-info", val); + val.Dispose (); + } + } + [GLib.Property ("ssrc")] public uint Ssrc { get { @@ -615,6 +630,24 @@ namespace Gst.Rtp { } [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_rtp_base_payload_allocate_output_buffer(IntPtr raw, uint payload_len, byte pad_len, byte csrc_count); + + public Gst.Buffer AllocateOutputBuffer(uint payload_len, byte pad_len, byte csrc_count) { + IntPtr raw_ret = gst_rtp_base_payload_allocate_output_buffer(Handle, payload_len, pad_len, csrc_count); + Gst.Buffer ret = raw_ret == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Buffer), true); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern uint gst_rtp_base_payload_get_source_count(IntPtr raw, IntPtr buffer); + + public uint GetSourceCount(Gst.Buffer buffer) { + uint raw_ret = gst_rtp_base_payload_get_source_count(Handle, buffer == null ? IntPtr.Zero : buffer.Handle); + uint ret = raw_ret; + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_rtp_base_payload_is_filled(IntPtr raw, uint size, ulong duration); public bool IsFilled(uint size, ulong duration) { @@ -624,6 +657,17 @@ namespace Gst.Rtp { } [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtp_base_payload_is_source_info_enabled(IntPtr raw); + + public bool IsSourceInfoEnabled { + get { + bool raw_ret = gst_rtp_base_payload_is_source_info_enabled(Handle); + bool ret = raw_ret; + return ret; + } + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern int gst_rtp_base_payload_push(IntPtr raw, IntPtr buffer); public Gst.FlowReturn Push(Gst.Buffer buffer) { @@ -652,6 +696,15 @@ namespace Gst.Rtp { GLib.Marshaller.Free (native_encoding_name); } + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_rtp_base_payload_set_source_info_enabled(IntPtr raw, bool enable); + + public bool SourceInfoEnabled { + set { + gst_rtp_base_payload_set_source_info_enabled(Handle, value); + } + } + static RTPBasePayload () { diff --git a/sources/generated/Gst.Rtp/RTPSourceMeta.cs b/sources/generated/Gst.Rtp/RTPSourceMeta.cs new file mode 100644 index 0000000..58df87b --- /dev/null +++ b/sources/generated/Gst.Rtp/RTPSourceMeta.cs @@ -0,0 +1,111 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.Rtp { + + using System; + using System.Collections; + using System.Collections.Generic; + using System.Runtime.InteropServices; + +#region Autogenerated code + [StructLayout(LayoutKind.Sequential)] + public partial struct RTPSourceMeta : IEquatable<RTPSourceMeta> { + + public Gst.Meta Meta; + public uint Ssrc; + public bool SsrcValid; + [MarshalAs (UnmanagedType.ByValArray, SizeConst=15)] + public uint[] Csrc; + public uint CsrcCount; + + public static Gst.Rtp.RTPSourceMeta Zero = new Gst.Rtp.RTPSourceMeta (); + + public static Gst.Rtp.RTPSourceMeta New(IntPtr raw) { + if (raw == IntPtr.Zero) + return Gst.Rtp.RTPSourceMeta.Zero; + return (Gst.Rtp.RTPSourceMeta) Marshal.PtrToStructure (raw, typeof (Gst.Rtp.RTPSourceMeta)); + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtp_source_meta_append_csrc(IntPtr raw, uint csrc, uint csrc_count); + + public bool AppendCsrc(uint csrc, uint csrc_count) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtp_source_meta_append_csrc(this_as_native, csrc, csrc_count); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern uint gst_rtp_source_meta_get_source_count(IntPtr raw); + + public uint SourceCount { + get { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + uint raw_ret = gst_rtp_source_meta_get_source_count(this_as_native); + uint ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtp_source_meta_set_ssrc(IntPtr raw, uint ssrc); + + public bool SetSsrc(uint ssrc) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtp_source_meta_set_ssrc(this_as_native, ssrc); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + public bool SetSsrc() { + return SetSsrc (0); + } + + [DllImport("libgstrtp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_rtp_source_meta_get_info(); + + public static Gst.MetaInfo Info { + get { + IntPtr raw_ret = gst_rtp_source_meta_get_info(); + Gst.MetaInfo ret = Gst.MetaInfo.New (raw_ret); + return ret; + } + } + + static void ReadNative (IntPtr native, ref Gst.Rtp.RTPSourceMeta target) + { + target = New (native); + } + + public bool Equals (RTPSourceMeta other) + { + return true && Meta.Equals (other.Meta) && Ssrc.Equals (other.Ssrc) && SsrcValid.Equals (other.SsrcValid) && Csrc.Equals (other.Csrc) && CsrcCount.Equals (other.CsrcCount); + } + + public override bool Equals (object other) + { + return other is RTPSourceMeta && Equals ((RTPSourceMeta) other); + } + + public override int GetHashCode () + { + return this.GetType ().FullName.GetHashCode () ^ Meta.GetHashCode () ^ Ssrc.GetHashCode () ^ SsrcValid.GetHashCode () ^ Csrc.GetHashCode () ^ CsrcCount.GetHashCode (); + } + + private static GLib.GType GType { + get { return GLib.GType.Pointer; } + } +#endregion + } +} diff --git a/sources/generated/Gst.Rtsp/Global.cs b/sources/generated/Gst.Rtsp/Global.cs index 86dd033..954eb7b 100644 --- a/sources/generated/Gst.Rtsp/Global.cs +++ b/sources/generated/Gst.Rtsp/Global.cs @@ -113,6 +113,29 @@ namespace Gst.Rtsp { } [DllImport("libgstrtsp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_rtsp_generate_digest_auth_response_from_md5(IntPtr algorithm, IntPtr method, IntPtr md5, IntPtr uri, IntPtr nonce); + + public static string RtspGenerateDigestAuthResponseFromMd5(string algorithm, string method, string md5, string uri, string nonce) { + IntPtr native_algorithm = GLib.Marshaller.StringToPtrGStrdup (algorithm); + IntPtr native_method = GLib.Marshaller.StringToPtrGStrdup (method); + IntPtr native_md5 = GLib.Marshaller.StringToPtrGStrdup (md5); + IntPtr native_uri = GLib.Marshaller.StringToPtrGStrdup (uri); + IntPtr native_nonce = GLib.Marshaller.StringToPtrGStrdup (nonce); + IntPtr raw_ret = gst_rtsp_generate_digest_auth_response_from_md5(native_algorithm, native_method, native_md5, native_uri, native_nonce); + string ret = GLib.Marshaller.PtrToStringGFree(raw_ret); + GLib.Marshaller.Free (native_algorithm); + GLib.Marshaller.Free (native_method); + GLib.Marshaller.Free (native_md5); + GLib.Marshaller.Free (native_uri); + GLib.Marshaller.Free (native_nonce); + return ret; + } + + public static string RtspGenerateDigestAuthResponseFromMd5(string method, string md5, string uri, string nonce) { + return RtspGenerateDigestAuthResponseFromMd5 (null, method, md5, uri, nonce); + } + + [DllImport("libgstrtsp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_rtsp_header_allow_multiple(int field); public static bool RtspHeaderAllowMultiple(Gst.Rtsp.RTSPHeaderField field) { diff --git a/sources/generated/Gst.Rtsp/RTSPConnection.cs b/sources/generated/Gst.Rtsp/RTSPConnection.cs index b7649bf..1f5a2df 100644 --- a/sources/generated/Gst.Rtsp/RTSPConnection.cs +++ b/sources/generated/Gst.Rtsp/RTSPConnection.cs @@ -280,6 +280,15 @@ namespace Gst.Rtsp { } [DllImport("libgstrtsp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern int gst_rtsp_connection_send_messages(IntPtr raw, Gst.Rtsp.RTSPMessage[] messages, uint n_messages, IntPtr timeout); + + public Gst.Rtsp.RTSPResult SendMessages(Gst.Rtsp.RTSPMessage[] messages, IntPtr timeout) { + int raw_ret = gst_rtsp_connection_send_messages(Handle, messages, (uint) (messages == null ? 0 : messages.Length), timeout); + Gst.Rtsp.RTSPResult ret = (Gst.Rtsp.RTSPResult) raw_ret; + return ret; + } + + [DllImport("libgstrtsp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_rtsp_connection_set_accept_certificate_func(IntPtr raw, Gst.RtspSharp.RTSPConnectionAcceptCertificateFuncNative func, IntPtr user_data, GLib.DestroyNotify destroy_notify); public Gst.Rtsp.RTSPConnectionAcceptCertificateFunc AcceptCertificateFunc { diff --git a/sources/generated/Gst.Rtsp/RTSPMessage.cs b/sources/generated/Gst.Rtsp/RTSPMessage.cs index 4b00f48..a22f2e3 100644 --- a/sources/generated/Gst.Rtsp/RTSPMessage.cs +++ b/sources/generated/Gst.Rtsp/RTSPMessage.cs @@ -16,7 +16,8 @@ namespace Gst.Rtsp { private IntPtr HdrFieldsPtr; private IntPtr _body; private uint body_size; - [MarshalAs (UnmanagedType.ByValArray, SizeConst=4)] + private IntPtr _body_buffer; + [MarshalAs (UnmanagedType.ByValArray, SizeConst=3)] private IntPtr[] _gstGstReserved; public static Gst.Rtsp.RTSPMessage Zero = new Gst.Rtsp.RTSPMessage (); @@ -97,6 +98,21 @@ namespace Gst.Rtsp { } [DllImport("libgstrtsp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern int gst_rtsp_message_get_body_buffer(IntPtr raw, out IntPtr buffer); + + public Gst.Rtsp.RTSPResult GetBodyBuffer(out Gst.Buffer buffer) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + IntPtr native_buffer; + int raw_ret = gst_rtsp_message_get_body_buffer(this_as_native, out native_buffer); + Gst.Rtsp.RTSPResult ret = (Gst.Rtsp.RTSPResult) raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + buffer = native_buffer == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (native_buffer, typeof (Gst.Buffer), false); + return ret; + } + + [DllImport("libgstrtsp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern int gst_rtsp_message_get_header(IntPtr raw, int field, out IntPtr value, int indx); public Gst.Rtsp.RTSPResult GetHeader(Gst.Rtsp.RTSPHeaderField field, out string value, int indx) { @@ -144,6 +160,21 @@ namespace Gst.Rtsp { } [DllImport("libgstrtsp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_rtsp_message_has_body_buffer(IntPtr raw); + + public bool HasBodyBuffer { + get { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_rtsp_message_has_body_buffer(this_as_native); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + } + + [DllImport("libgstrtsp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern int gst_rtsp_message_init(IntPtr raw); public Gst.Rtsp.RTSPResult Init() { @@ -298,6 +329,34 @@ namespace Gst.Rtsp { } [DllImport("libgstrtsp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern int gst_rtsp_message_set_body_buffer(IntPtr raw, IntPtr buffer); + + public Gst.Rtsp.RTSPResult SetBodyBuffer(Gst.Buffer buffer) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + int raw_ret = gst_rtsp_message_set_body_buffer(this_as_native, buffer == null ? IntPtr.Zero : buffer.Handle); + Gst.Rtsp.RTSPResult ret = (Gst.Rtsp.RTSPResult) raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtsp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern int gst_rtsp_message_steal_body_buffer(IntPtr raw, out IntPtr buffer); + + public Gst.Rtsp.RTSPResult StealBodyBuffer(out Gst.Buffer buffer) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + IntPtr native_buffer; + int raw_ret = gst_rtsp_message_steal_body_buffer(this_as_native, out native_buffer); + Gst.Rtsp.RTSPResult ret = (Gst.Rtsp.RTSPResult) raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + buffer = native_buffer == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (native_buffer, typeof (Gst.Buffer), true); + return ret; + } + + [DllImport("libgstrtsp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern int gst_rtsp_message_take_body(IntPtr raw, byte[] data, uint size); public Gst.Rtsp.RTSPResult TakeBody(byte[] data, uint size) { @@ -311,6 +370,20 @@ namespace Gst.Rtsp { } [DllImport("libgstrtsp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern int gst_rtsp_message_take_body_buffer(IntPtr raw, IntPtr buffer); + + public Gst.Rtsp.RTSPResult TakeBodyBuffer(Gst.Buffer buffer) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + buffer.Owned = false; + int raw_ret = gst_rtsp_message_take_body_buffer(this_as_native, buffer == null ? IntPtr.Zero : buffer.Handle); + Gst.Rtsp.RTSPResult ret = (Gst.Rtsp.RTSPResult) raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstrtsp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern int gst_rtsp_message_take_header(IntPtr raw, int field, IntPtr value); public Gst.Rtsp.RTSPResult TakeHeader(Gst.Rtsp.RTSPHeaderField field, string value) { @@ -358,7 +431,7 @@ namespace Gst.Rtsp { public bool Equals (RTSPMessage other) { - return true && Type.Equals (other.Type) && HdrFieldsPtr.Equals (other.HdrFieldsPtr) && _body.Equals (other._body) && body_size.Equals (other.body_size); + return true && Type.Equals (other.Type) && HdrFieldsPtr.Equals (other.HdrFieldsPtr) && _body.Equals (other._body) && body_size.Equals (other.body_size) && _body_buffer.Equals (other._body_buffer); } public override bool Equals (object other) @@ -368,7 +441,7 @@ namespace Gst.Rtsp { public override int GetHashCode () { - return this.GetType ().FullName.GetHashCode () ^ Type.GetHashCode () ^ HdrFieldsPtr.GetHashCode () ^ _body.GetHashCode () ^ body_size.GetHashCode (); + return this.GetType ().FullName.GetHashCode () ^ Type.GetHashCode () ^ HdrFieldsPtr.GetHashCode () ^ _body.GetHashCode () ^ body_size.GetHashCode () ^ _body_buffer.GetHashCode (); } public static explicit operator GLib.Value (Gst.Rtsp.RTSPMessage boxed) diff --git a/sources/generated/Gst.Rtsp/RTSPWatch.cs b/sources/generated/Gst.Rtsp/RTSPWatch.cs index 03156ab..c7ca8af 100644 --- a/sources/generated/Gst.Rtsp/RTSPWatch.cs +++ b/sources/generated/Gst.Rtsp/RTSPWatch.cs @@ -48,6 +48,15 @@ namespace Gst.Rtsp { } [DllImport("libgstrtsp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern int gst_rtsp_watch_send_messages(IntPtr raw, Gst.Rtsp.RTSPMessage[] messages, uint n_messages, out uint id); + + public Gst.Rtsp.RTSPResult SendMessages(Gst.Rtsp.RTSPMessage[] messages, out uint id) { + int raw_ret = gst_rtsp_watch_send_messages(Handle, messages, (uint) (messages == null ? 0 : messages.Length), out id); + Gst.Rtsp.RTSPResult ret = (Gst.Rtsp.RTSPResult) raw_ret; + return ret; + } + + [DllImport("libgstrtsp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_rtsp_watch_set_flushing(IntPtr raw, bool flushing); public bool Flushing { diff --git a/sources/generated/Gst.Sdp/Global.cs b/sources/generated/Gst.Sdp/Global.cs index 0f8da90..c87da8d 100644 --- a/sources/generated/Gst.Sdp/Global.cs +++ b/sources/generated/Gst.Sdp/Global.cs @@ -85,6 +85,19 @@ namespace Gst.Sdp { } [DllImport("libgstsdp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern int gst_sdp_message_new_from_text(IntPtr text, out IntPtr msg); + + public static Gst.Sdp.SDPResult SdpMessageNewFromText(string text, out Gst.Sdp.SDPMessage msg) { + IntPtr native_text = GLib.Marshaller.StringToPtrGStrdup (text); + IntPtr native_msg; + int raw_ret = gst_sdp_message_new_from_text(native_text, out native_msg); + Gst.Sdp.SDPResult ret = (Gst.Sdp.SDPResult) raw_ret; + GLib.Marshaller.Free (native_text); + msg = native_msg == IntPtr.Zero ? null : (Gst.Sdp.SDPMessage) GLib.Opaque.GetOpaque (native_msg, typeof (Gst.Sdp.SDPMessage), true); + return ret; + } + + [DllImport("libgstsdp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern int gst_sdp_message_parse_buffer(byte[] data, uint size, IntPtr msg); public static Gst.Sdp.SDPResult SdpMessageParseBuffer(byte[] data, uint size, Gst.Sdp.SDPMessage msg) { diff --git a/sources/generated/Gst.Sdp/SDPMessage.cs b/sources/generated/Gst.Sdp/SDPMessage.cs index 3496573..41403f1 100644 --- a/sources/generated/Gst.Sdp/SDPMessage.cs +++ b/sources/generated/Gst.Sdp/SDPMessage.cs @@ -763,6 +763,19 @@ namespace Gst.Sdp { } [DllImport("libgstsdp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern int gst_sdp_message_new_from_text(IntPtr text, out IntPtr msg); + + public static Gst.Sdp.SDPResult NewFromText(string text, out Gst.Sdp.SDPMessage msg) { + IntPtr native_text = GLib.Marshaller.StringToPtrGStrdup (text); + IntPtr native_msg; + int raw_ret = gst_sdp_message_new_from_text(native_text, out native_msg); + Gst.Sdp.SDPResult ret = (Gst.Sdp.SDPResult) raw_ret; + GLib.Marshaller.Free (native_text); + msg = native_msg == IntPtr.Zero ? null : (Gst.Sdp.SDPMessage) GLib.Opaque.GetOpaque (native_msg, typeof (Gst.Sdp.SDPMessage), true); + return ret; + } + + [DllImport("libgstsdp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern int gst_sdp_message_parse_buffer(byte[] data, uint size, IntPtr msg); public static Gst.Sdp.SDPResult ParseBuffer(byte[] data, uint size, Gst.Sdp.SDPMessage msg) { diff --git a/sources/generated/Gst.Video/Constants.cs b/sources/generated/Gst.Video/Constants.cs index 1d1e539..adcc739 100644 --- a/sources/generated/Gst.Video/Constants.cs +++ b/sources/generated/Gst.Video/Constants.cs @@ -15,6 +15,7 @@ namespace Gst.Video { public const string BUFFER_POOL_OPTION_VIDEO_ALIGNMENT = @"GstBufferPoolOptionVideoAlignment"; public const string BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META = @"GstBufferPoolOptionVideoGLTextureUploadMeta"; public const string BUFFER_POOL_OPTION_VIDEO_META = @"GstBufferPoolOptionVideoMeta"; + public const string CAPS_FEATURE_FORMAT_INTERLACED = @"format:Interlaced"; public const string CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META = @"meta:GstVideoAffineTransformation"; public const string CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META = @"meta:GstVideoGLTextureUploadMeta"; public const string CAPS_FEATURE_META_GST_VIDEO_META = @"meta:GstVideoMeta"; @@ -64,7 +65,7 @@ namespace Gst.Video { public const string VIDEO_DECODER_SRC_NAME = @"src"; public const string VIDEO_ENCODER_SINK_NAME = @"sink"; public const string VIDEO_ENCODER_SRC_NAME = @"src"; - public const string VIDEO_FORMATS_ALL = @"{ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32 }"; + public const string VIDEO_FORMATS_ALL = @"{ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40 }"; public const string VIDEO_FPS_RANGE = @"(fraction) [ 0, max ]"; public const int VIDEO_MAX_COMPONENTS = 4; public const int VIDEO_MAX_PLANES = 4; diff --git a/sources/generated/Gst.Video/Global.cs b/sources/generated/Gst.Video/Global.cs index 7b5bf7c..6fff02e 100644 --- a/sources/generated/Gst.Video/Global.cs +++ b/sources/generated/Gst.Video/Global.cs @@ -21,6 +21,15 @@ namespace Gst.Video { } [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_buffer_add_video_caption_meta(IntPtr buffer, int caption_type, byte[] data, UIntPtr size); + + public static Gst.Video.VideoCaptionMeta BufferAddVideoCaptionMeta(Gst.Buffer buffer, Gst.Video.VideoCaptionType caption_type, byte[] data, ulong size) { + IntPtr raw_ret = gst_buffer_add_video_caption_meta(buffer == null ? IntPtr.Zero : buffer.Handle, (int) caption_type, data, new UIntPtr (size)); + Gst.Video.VideoCaptionMeta ret = Gst.Video.VideoCaptionMeta.New (raw_ret); + return ret; + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_buffer_add_video_gl_texture_upload_meta(IntPtr buffer, int texture_orientation, uint n_textures, int texture_type, Gst.VideoSharp.VideoGLTextureUploadNative upload, IntPtr user_data, IntPtr user_data_copy, IntPtr user_data_free); public static Gst.Video.VideoGLTextureUploadMeta BufferAddVideoGlTextureUploadMeta(Gst.Buffer buffer, Gst.Video.VideoGLTextureOrientation texture_orientation, uint n_textures, Gst.Video.VideoGLTextureType texture_type, Gst.Video.VideoGLTextureUpload upload, IntPtr user_data_copy, IntPtr user_data_free) { @@ -40,15 +49,6 @@ namespace Gst.Video { } [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern IntPtr gst_buffer_add_video_meta_full(IntPtr buffer, int flags, int format, uint width, uint height, uint n_planes, UIntPtr offset, int stride); - - public static Gst.Video.VideoMeta BufferAddVideoMetaFull(Gst.Buffer buffer, Gst.Video.VideoFrameFlags flags, Gst.Video.VideoFormat format, uint width, uint height, uint n_planes, ulong offset, int stride) { - IntPtr raw_ret = gst_buffer_add_video_meta_full(buffer == null ? IntPtr.Zero : buffer.Handle, (int) flags, (int) format, width, height, n_planes, new UIntPtr (offset), stride); - Gst.Video.VideoMeta ret = Gst.Video.VideoMeta.New (raw_ret); - return ret; - } - - [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_buffer_add_video_overlay_composition_meta(IntPtr buf, IntPtr comp); public static Gst.Video.VideoOverlayCompositionMeta BufferAddVideoOverlayCompositionMeta(Gst.Buffer buf, Gst.Video.VideoOverlayComposition comp) { @@ -408,6 +408,42 @@ namespace Gst.Video { } [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_caption_meta_api_get_type(); + + public static GLib.GType VideoCaptionMetaApiGetType() { + IntPtr raw_ret = gst_video_caption_meta_api_get_type(); + GLib.GType ret = new GLib.GType(raw_ret); + return ret; + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_caption_meta_get_info(); + + public static Gst.MetaInfo VideoCaptionMetaGetInfo() { + IntPtr raw_ret = gst_video_caption_meta_get_info(); + Gst.MetaInfo ret = Gst.MetaInfo.New (raw_ret); + return ret; + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern int gst_video_caption_type_from_caps(IntPtr caps); + + public static Gst.Video.VideoCaptionType VideoCaptionTypeFromCaps(Gst.Caps caps) { + int raw_ret = gst_video_caption_type_from_caps(caps == null ? IntPtr.Zero : caps.Handle); + Gst.Video.VideoCaptionType ret = (Gst.Video.VideoCaptionType) raw_ret; + return ret; + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_caption_type_to_caps(int type); + + public static Gst.Caps VideoCaptionTypeToCaps(Gst.Video.VideoCaptionType type) { + IntPtr raw_ret = gst_video_caption_type_to_caps((int) type); + Gst.Caps ret = raw_ret == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Caps), true); + return ret; + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern int gst_video_chroma_from_string(IntPtr s); public static Gst.Video.VideoChromaSite VideoChromaFromString(string s) { diff --git a/sources/generated/Gst.Video/VideoAggregator.cs b/sources/generated/Gst.Video/VideoAggregator.cs new file mode 100644 index 0000000..28b4a32 --- /dev/null +++ b/sources/generated/Gst.Video/VideoAggregator.cs @@ -0,0 +1,371 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.Video { + + using System; + using System.Collections; + using System.Collections.Generic; + using System.Runtime.InteropServices; + +#region Autogenerated code + public partial class VideoAggregator : Gst.Base.Aggregator { + + protected VideoAggregator (IntPtr raw) : base(raw) {} + + protected VideoAggregator() : base(IntPtr.Zero) + { + CreateNativeObject (new string [0], new GLib.Value [0]); + } + + public Gst.Video.VideoInfo Info { + get { + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((byte*)Handle) + abi_info.GetFieldOffset("info")); + return (*raw_ptr) == IntPtr.Zero ? null : (Gst.Video.VideoInfo) GLib.Opaque.GetOpaque ((*raw_ptr), typeof (Gst.Video.VideoInfo), false); + } + } + } + + static UpdateCapsNativeDelegate UpdateCaps_cb_delegate; + static UpdateCapsNativeDelegate UpdateCapsVMCallback { + get { + if (UpdateCaps_cb_delegate == null) + UpdateCaps_cb_delegate = new UpdateCapsNativeDelegate (UpdateCaps_cb); + return UpdateCaps_cb_delegate; + } + } + + static void OverrideUpdateCaps (GLib.GType gtype) + { + OverrideUpdateCaps (gtype, UpdateCapsVMCallback); + } + + static void OverrideUpdateCaps (GLib.GType gtype, UpdateCapsNativeDelegate callback) + { + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) gtype.GetClassPtr()) + (long) class_abi.GetFieldOffset("update_caps")); + *raw_ptr = Marshal.GetFunctionPointerForDelegate((Delegate) callback); + } + } + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] + delegate IntPtr UpdateCapsNativeDelegate (IntPtr inst, IntPtr caps); + + static IntPtr UpdateCaps_cb (IntPtr inst, IntPtr caps) + { + try { + VideoAggregator __obj = GLib.Object.GetObject (inst, false) as VideoAggregator; + Gst.Caps __result; + __result = __obj.OnUpdateCaps (caps == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (caps, typeof (Gst.Caps), false)); + return __result == null ? IntPtr.Zero : __result.OwnedCopy; + } catch (Exception e) { + GLib.ExceptionManager.RaiseUnhandledException (e, true); + // NOTREACHED: above call does not return. + throw e; + } + } + + [GLib.DefaultSignalHandler(Type=typeof(Gst.Video.VideoAggregator), ConnectionMethod="OverrideUpdateCaps")] + protected virtual Gst.Caps OnUpdateCaps (Gst.Caps caps) + { + return InternalUpdateCaps (caps); + } + + private Gst.Caps InternalUpdateCaps (Gst.Caps caps) + { + UpdateCapsNativeDelegate unmanaged = null; + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) this.LookupGType().GetThresholdType().GetClassPtr()) + (long) class_abi.GetFieldOffset("update_caps")); + unmanaged = (UpdateCapsNativeDelegate) Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(UpdateCapsNativeDelegate)); + } + if (unmanaged == null) return null; + + IntPtr __result = unmanaged (this.Handle, caps == null ? IntPtr.Zero : caps.Handle); + return __result == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (__result, typeof (Gst.Caps), true); + } + + static AggregateFramesNativeDelegate AggregateFrames_cb_delegate; + static AggregateFramesNativeDelegate AggregateFramesVMCallback { + get { + if (AggregateFrames_cb_delegate == null) + AggregateFrames_cb_delegate = new AggregateFramesNativeDelegate (AggregateFrames_cb); + return AggregateFrames_cb_delegate; + } + } + + static void OverrideAggregateFrames (GLib.GType gtype) + { + OverrideAggregateFrames (gtype, AggregateFramesVMCallback); + } + + static void OverrideAggregateFrames (GLib.GType gtype, AggregateFramesNativeDelegate callback) + { + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) gtype.GetClassPtr()) + (long) class_abi.GetFieldOffset("aggregate_frames")); + *raw_ptr = Marshal.GetFunctionPointerForDelegate((Delegate) callback); + } + } + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] + delegate int AggregateFramesNativeDelegate (IntPtr inst, IntPtr outbuffer); + + static int AggregateFrames_cb (IntPtr inst, IntPtr outbuffer) + { + try { + VideoAggregator __obj = GLib.Object.GetObject (inst, false) as VideoAggregator; + Gst.FlowReturn __result; + __result = __obj.OnAggregateFrames (outbuffer == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (outbuffer, typeof (Gst.Buffer), false)); + return (int) __result; + } catch (Exception e) { + GLib.ExceptionManager.RaiseUnhandledException (e, true); + // NOTREACHED: above call does not return. + throw e; + } + } + + [GLib.DefaultSignalHandler(Type=typeof(Gst.Video.VideoAggregator), ConnectionMethod="OverrideAggregateFrames")] + protected virtual Gst.FlowReturn OnAggregateFrames (Gst.Buffer outbuffer) + { + return InternalAggregateFrames (outbuffer); + } + + private Gst.FlowReturn InternalAggregateFrames (Gst.Buffer outbuffer) + { + AggregateFramesNativeDelegate unmanaged = null; + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) this.LookupGType().GetThresholdType().GetClassPtr()) + (long) class_abi.GetFieldOffset("aggregate_frames")); + unmanaged = (AggregateFramesNativeDelegate) Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(AggregateFramesNativeDelegate)); + } + if (unmanaged == null) return (Gst.FlowReturn) 0; + + int __result = unmanaged (this.Handle, outbuffer == null ? IntPtr.Zero : outbuffer.Handle); + return (Gst.FlowReturn) __result; + } + + static CreateOutputBufferNativeDelegate CreateOutputBuffer_cb_delegate; + static CreateOutputBufferNativeDelegate CreateOutputBufferVMCallback { + get { + if (CreateOutputBuffer_cb_delegate == null) + CreateOutputBuffer_cb_delegate = new CreateOutputBufferNativeDelegate (CreateOutputBuffer_cb); + return CreateOutputBuffer_cb_delegate; + } + } + + static void OverrideCreateOutputBuffer (GLib.GType gtype) + { + OverrideCreateOutputBuffer (gtype, CreateOutputBufferVMCallback); + } + + static void OverrideCreateOutputBuffer (GLib.GType gtype, CreateOutputBufferNativeDelegate callback) + { + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) gtype.GetClassPtr()) + (long) class_abi.GetFieldOffset("create_output_buffer")); + *raw_ptr = Marshal.GetFunctionPointerForDelegate((Delegate) callback); + } + } + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] + delegate int CreateOutputBufferNativeDelegate (IntPtr inst, IntPtr outbuffer); + + static int CreateOutputBuffer_cb (IntPtr inst, IntPtr outbuffer) + { + try { + VideoAggregator __obj = GLib.Object.GetObject (inst, false) as VideoAggregator; + Gst.FlowReturn __result; + __result = __obj.OnCreateOutputBuffer (outbuffer == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (outbuffer, typeof (Gst.Buffer), false)); + return (int) __result; + } catch (Exception e) { + GLib.ExceptionManager.RaiseUnhandledException (e, true); + // NOTREACHED: above call does not return. + throw e; + } + } + + [GLib.DefaultSignalHandler(Type=typeof(Gst.Video.VideoAggregator), ConnectionMethod="OverrideCreateOutputBuffer")] + protected virtual Gst.FlowReturn OnCreateOutputBuffer (Gst.Buffer outbuffer) + { + return InternalCreateOutputBuffer (outbuffer); + } + + private Gst.FlowReturn InternalCreateOutputBuffer (Gst.Buffer outbuffer) + { + CreateOutputBufferNativeDelegate unmanaged = null; + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) this.LookupGType().GetThresholdType().GetClassPtr()) + (long) class_abi.GetFieldOffset("create_output_buffer")); + unmanaged = (CreateOutputBufferNativeDelegate) Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(CreateOutputBufferNativeDelegate)); + } + if (unmanaged == null) return (Gst.FlowReturn) 0; + + int __result = unmanaged (this.Handle, outbuffer == null ? IntPtr.Zero : outbuffer.Handle); + return (Gst.FlowReturn) __result; + } + + static FindBestFormatNativeDelegate FindBestFormat_cb_delegate; + static FindBestFormatNativeDelegate FindBestFormatVMCallback { + get { + if (FindBestFormat_cb_delegate == null) + FindBestFormat_cb_delegate = new FindBestFormatNativeDelegate (FindBestFormat_cb); + return FindBestFormat_cb_delegate; + } + } + + static void OverrideFindBestFormat (GLib.GType gtype) + { + OverrideFindBestFormat (gtype, FindBestFormatVMCallback); + } + + static void OverrideFindBestFormat (GLib.GType gtype, FindBestFormatNativeDelegate callback) + { + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) gtype.GetClassPtr()) + (long) class_abi.GetFieldOffset("find_best_format")); + *raw_ptr = Marshal.GetFunctionPointerForDelegate((Delegate) callback); + } + } + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] + delegate void FindBestFormatNativeDelegate (IntPtr inst, IntPtr downstream_caps, IntPtr best_info, bool at_least_one_alpha); + + static void FindBestFormat_cb (IntPtr inst, IntPtr downstream_caps, IntPtr best_info, bool at_least_one_alpha) + { + try { + VideoAggregator __obj = GLib.Object.GetObject (inst, false) as VideoAggregator; + __obj.OnFindBestFormat (downstream_caps == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (downstream_caps, typeof (Gst.Caps), false), best_info == IntPtr.Zero ? null : (Gst.Video.VideoInfo) GLib.Opaque.GetOpaque (best_info, typeof (Gst.Video.VideoInfo), false), at_least_one_alpha); + } catch (Exception e) { + GLib.ExceptionManager.RaiseUnhandledException (e, false); + } + } + + [GLib.DefaultSignalHandler(Type=typeof(Gst.Video.VideoAggregator), ConnectionMethod="OverrideFindBestFormat")] + protected virtual void OnFindBestFormat (Gst.Caps downstream_caps, Gst.Video.VideoInfo best_info, bool at_least_one_alpha) + { + InternalFindBestFormat (downstream_caps, best_info, at_least_one_alpha); + } + + private void InternalFindBestFormat (Gst.Caps downstream_caps, Gst.Video.VideoInfo best_info, bool at_least_one_alpha) + { + FindBestFormatNativeDelegate unmanaged = null; + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) this.LookupGType().GetThresholdType().GetClassPtr()) + (long) class_abi.GetFieldOffset("find_best_format")); + unmanaged = (FindBestFormatNativeDelegate) Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(FindBestFormatNativeDelegate)); + } + if (unmanaged == null) return; + + unmanaged (this.Handle, downstream_caps == null ? IntPtr.Zero : downstream_caps.Handle, best_info == null ? IntPtr.Zero : best_info.Handle, at_least_one_alpha); + } + + + // Internal representation of the wrapped structure ABI. + static GLib.AbiStruct _class_abi = null; + static public new GLib.AbiStruct class_abi { + get { + if (_class_abi == null) + _class_abi = new GLib.AbiStruct (new List<GLib.AbiField>{ + new GLib.AbiField("update_caps" + , Gst.Base.Aggregator.class_abi.Fields + , (uint) Marshal.SizeOf(typeof(IntPtr)) // update_caps + , null + , "aggregate_frames" + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + new GLib.AbiField("aggregate_frames" + , -1 + , (uint) Marshal.SizeOf(typeof(IntPtr)) // aggregate_frames + , "update_caps" + , "create_output_buffer" + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + new GLib.AbiField("create_output_buffer" + , -1 + , (uint) Marshal.SizeOf(typeof(IntPtr)) // create_output_buffer + , "aggregate_frames" + , "find_best_format" + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + new GLib.AbiField("find_best_format" + , -1 + , (uint) Marshal.SizeOf(typeof(IntPtr)) // find_best_format + , "create_output_buffer" + , "_gst_reserved" + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + new GLib.AbiField("_gst_reserved" + , -1 + , (uint) Marshal.SizeOf(typeof(IntPtr)) * 20 // _gst_reserved + , "find_best_format" + , null + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + }); + + return _class_abi; + } + } + + + // End of the ABI representation. + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_aggregator_get_type(); + + public static new GLib.GType GType { + get { + IntPtr raw_ret = gst_video_aggregator_get_type(); + GLib.GType ret = new GLib.GType(raw_ret); + return ret; + } + } + + + static VideoAggregator () + { + GtkSharp.GstreamerSharp.ObjectManager.Initialize (); + } + + // Internal representation of the wrapped structure ABI. + static GLib.AbiStruct _abi_info = null; + static public new GLib.AbiStruct abi_info { + get { + if (_abi_info == null) + _abi_info = new GLib.AbiStruct (new List<GLib.AbiField>{ + new GLib.AbiField("info" + , Gst.Base.Aggregator.abi_info.Fields + , Gst.Video.VideoInfo.abi_info.Size // info + , null + , "priv" + , Gst.Video.VideoInfo.abi_info.Align + , 0 + ), + new GLib.AbiField("priv" + , -1 + , (uint) Marshal.SizeOf(typeof(IntPtr)) // priv + , "info" + , "_gst_reserved" + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + new GLib.AbiField("_gst_reserved" + , -1 + , (uint) Marshal.SizeOf(typeof(IntPtr)) * 20 // _gst_reserved + , "priv" + , null + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + }); + + return _abi_info; + } + } + + + // End of the ABI representation. + +#endregion + } +} diff --git a/sources/generated/Gst.Video/VideoAggregatorConvertPad.cs b/sources/generated/Gst.Video/VideoAggregatorConvertPad.cs new file mode 100644 index 0000000..e2da190 --- /dev/null +++ b/sources/generated/Gst.Video/VideoAggregatorConvertPad.cs @@ -0,0 +1,178 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.Video { + + using System; + using System.Collections; + using System.Collections.Generic; + using System.Runtime.InteropServices; + +#region Autogenerated code + public partial class VideoAggregatorConvertPad : Gst.Video.VideoAggregatorPad { + + public VideoAggregatorConvertPad (IntPtr raw) : base(raw) {} + + protected VideoAggregatorConvertPad() : base(IntPtr.Zero) + { + CreateNativeObject (new string [0], new GLib.Value [0]); + } + + [GLib.Property ("converter-config")] + public Gst.Structure ConverterConfig { + get { + GLib.Value val = GetProperty ("converter-config"); + Gst.Structure ret = (Gst.Structure) val; + val.Dispose (); + return ret; + } + set { + GLib.Value val = new GLib.Value(value, "GstStructure*"); + SetProperty("converter-config", val); + val.Dispose (); + } + } + + static CreateConversionInfoNativeDelegate CreateConversionInfo_cb_delegate; + static CreateConversionInfoNativeDelegate CreateConversionInfoVMCallback { + get { + if (CreateConversionInfo_cb_delegate == null) + CreateConversionInfo_cb_delegate = new CreateConversionInfoNativeDelegate (CreateConversionInfo_cb); + return CreateConversionInfo_cb_delegate; + } + } + + static void OverrideCreateConversionInfo (GLib.GType gtype) + { + OverrideCreateConversionInfo (gtype, CreateConversionInfoVMCallback); + } + + static void OverrideCreateConversionInfo (GLib.GType gtype, CreateConversionInfoNativeDelegate callback) + { + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) gtype.GetClassPtr()) + (long) class_abi.GetFieldOffset("create_conversion_info")); + *raw_ptr = Marshal.GetFunctionPointerForDelegate((Delegate) callback); + } + } + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] + delegate void CreateConversionInfoNativeDelegate (IntPtr inst, IntPtr agg, IntPtr conversion_info); + + static void CreateConversionInfo_cb (IntPtr inst, IntPtr agg, IntPtr conversion_info) + { + try { + VideoAggregatorConvertPad __obj = GLib.Object.GetObject (inst, false) as VideoAggregatorConvertPad; + __obj.OnCreateConversionInfo (GLib.Object.GetObject(agg) as Gst.Video.VideoAggregator, conversion_info == IntPtr.Zero ? null : (Gst.Video.VideoInfo) GLib.Opaque.GetOpaque (conversion_info, typeof (Gst.Video.VideoInfo), false)); + } catch (Exception e) { + GLib.ExceptionManager.RaiseUnhandledException (e, false); + } + } + + [GLib.DefaultSignalHandler(Type=typeof(Gst.Video.VideoAggregatorConvertPad), ConnectionMethod="OverrideCreateConversionInfo")] + protected virtual void OnCreateConversionInfo (Gst.Video.VideoAggregator agg, Gst.Video.VideoInfo conversion_info) + { + InternalCreateConversionInfo (agg, conversion_info); + } + + private void InternalCreateConversionInfo (Gst.Video.VideoAggregator agg, Gst.Video.VideoInfo conversion_info) + { + CreateConversionInfoNativeDelegate unmanaged = null; + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) this.LookupGType().GetThresholdType().GetClassPtr()) + (long) class_abi.GetFieldOffset("create_conversion_info")); + unmanaged = (CreateConversionInfoNativeDelegate) Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(CreateConversionInfoNativeDelegate)); + } + if (unmanaged == null) return; + + unmanaged (this.Handle, agg == null ? IntPtr.Zero : agg.Handle, conversion_info == null ? IntPtr.Zero : conversion_info.Handle); + } + + + // Internal representation of the wrapped structure ABI. + static GLib.AbiStruct _class_abi = null; + static public new GLib.AbiStruct class_abi { + get { + if (_class_abi == null) + _class_abi = new GLib.AbiStruct (new List<GLib.AbiField>{ + new GLib.AbiField("create_conversion_info" + , Gst.Video.VideoAggregatorPad.class_abi.Fields + , (uint) Marshal.SizeOf(typeof(IntPtr)) // create_conversion_info + , null + , "_gst_reserved" + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + new GLib.AbiField("_gst_reserved" + , -1 + , (uint) Marshal.SizeOf(typeof(IntPtr)) * 4 // _gst_reserved + , "create_conversion_info" + , null + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + }); + + return _class_abi; + } + } + + + // End of the ABI representation. + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_aggregator_convert_pad_get_type(); + + public static new GLib.GType GType { + get { + IntPtr raw_ret = gst_video_aggregator_convert_pad_get_type(); + GLib.GType ret = new GLib.GType(raw_ret); + return ret; + } + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_video_aggregator_convert_pad_update_conversion_info(IntPtr raw); + + public void UpdateConversionInfo() { + gst_video_aggregator_convert_pad_update_conversion_info(Handle); + } + + + static VideoAggregatorConvertPad () + { + GtkSharp.GstreamerSharp.ObjectManager.Initialize (); + } + + // Internal representation of the wrapped structure ABI. + static GLib.AbiStruct _abi_info = null; + static public new GLib.AbiStruct abi_info { + get { + if (_abi_info == null) + _abi_info = new GLib.AbiStruct (new List<GLib.AbiField>{ + new GLib.AbiField("priv" + , Gst.Video.VideoAggregatorPad.abi_info.Fields + , (uint) Marshal.SizeOf(typeof(IntPtr)) // priv + , null + , "_gst_reserved" + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + new GLib.AbiField("_gst_reserved" + , -1 + , (uint) Marshal.SizeOf(typeof(IntPtr)) * 4 // _gst_reserved + , "priv" + , null + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + }); + + return _abi_info; + } + } + + + // End of the ABI representation. + +#endregion + } +} diff --git a/sources/generated/Gst.Video/VideoAggregatorPad.cs b/sources/generated/Gst.Video/VideoAggregatorPad.cs new file mode 100644 index 0000000..9a06cea --- /dev/null +++ b/sources/generated/Gst.Video/VideoAggregatorPad.cs @@ -0,0 +1,376 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.Video { + + using System; + using System.Collections; + using System.Collections.Generic; + using System.Runtime.InteropServices; + +#region Autogenerated code + public partial class VideoAggregatorPad : Gst.Base.AggregatorPad { + + public VideoAggregatorPad (IntPtr raw) : base(raw) {} + + protected VideoAggregatorPad() : base(IntPtr.Zero) + { + CreateNativeObject (new string [0], new GLib.Value [0]); + } + + [GLib.Property ("repeat-after-eos")] + public bool RepeatAfterEos { + get { + GLib.Value val = GetProperty ("repeat-after-eos"); + bool ret = (bool) val; + val.Dispose (); + return ret; + } + set { + GLib.Value val = new GLib.Value(value); + SetProperty("repeat-after-eos", val); + val.Dispose (); + } + } + + [GLib.Property ("zorder")] + public uint Zorder { + get { + GLib.Value val = GetProperty ("zorder"); + uint ret = (uint) val; + val.Dispose (); + return ret; + } + set { + GLib.Value val = new GLib.Value(value); + SetProperty("zorder", val); + val.Dispose (); + } + } + + public Gst.Video.VideoInfo Info { + get { + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((byte*)Handle) + abi_info.GetFieldOffset("info")); + return (*raw_ptr) == IntPtr.Zero ? null : (Gst.Video.VideoInfo) GLib.Opaque.GetOpaque ((*raw_ptr), typeof (Gst.Video.VideoInfo), false); + } + } + } + + static UpdateConversionInfoNativeDelegate UpdateConversionInfo_cb_delegate; + static UpdateConversionInfoNativeDelegate UpdateConversionInfoVMCallback { + get { + if (UpdateConversionInfo_cb_delegate == null) + UpdateConversionInfo_cb_delegate = new UpdateConversionInfoNativeDelegate (UpdateConversionInfo_cb); + return UpdateConversionInfo_cb_delegate; + } + } + + static void OverrideUpdateConversionInfo (GLib.GType gtype) + { + OverrideUpdateConversionInfo (gtype, UpdateConversionInfoVMCallback); + } + + static void OverrideUpdateConversionInfo (GLib.GType gtype, UpdateConversionInfoNativeDelegate callback) + { + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) gtype.GetClassPtr()) + (long) class_abi.GetFieldOffset("update_conversion_info")); + *raw_ptr = Marshal.GetFunctionPointerForDelegate((Delegate) callback); + } + } + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] + delegate void UpdateConversionInfoNativeDelegate (IntPtr inst); + + static void UpdateConversionInfo_cb (IntPtr inst) + { + try { + VideoAggregatorPad __obj = GLib.Object.GetObject (inst, false) as VideoAggregatorPad; + __obj.OnUpdateConversionInfo (); + } catch (Exception e) { + GLib.ExceptionManager.RaiseUnhandledException (e, false); + } + } + + [GLib.DefaultSignalHandler(Type=typeof(Gst.Video.VideoAggregatorPad), ConnectionMethod="OverrideUpdateConversionInfo")] + protected virtual void OnUpdateConversionInfo () + { + InternalUpdateConversionInfo (); + } + + private void InternalUpdateConversionInfo () + { + UpdateConversionInfoNativeDelegate unmanaged = null; + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) this.LookupGType().GetThresholdType().GetClassPtr()) + (long) class_abi.GetFieldOffset("update_conversion_info")); + unmanaged = (UpdateConversionInfoNativeDelegate) Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(UpdateConversionInfoNativeDelegate)); + } + if (unmanaged == null) return; + + unmanaged (this.Handle); + } + + static PrepareFrameNativeDelegate PrepareFrame_cb_delegate; + static PrepareFrameNativeDelegate PrepareFrameVMCallback { + get { + if (PrepareFrame_cb_delegate == null) + PrepareFrame_cb_delegate = new PrepareFrameNativeDelegate (PrepareFrame_cb); + return PrepareFrame_cb_delegate; + } + } + + static void OverridePrepareFrame (GLib.GType gtype) + { + OverridePrepareFrame (gtype, PrepareFrameVMCallback); + } + + static void OverridePrepareFrame (GLib.GType gtype, PrepareFrameNativeDelegate callback) + { + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) gtype.GetClassPtr()) + (long) class_abi.GetFieldOffset("prepare_frame")); + *raw_ptr = Marshal.GetFunctionPointerForDelegate((Delegate) callback); + } + } + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] + delegate bool PrepareFrameNativeDelegate (IntPtr inst, IntPtr videoaggregator, IntPtr buffer, IntPtr prepared_frame); + + static bool PrepareFrame_cb (IntPtr inst, IntPtr videoaggregator, IntPtr buffer, IntPtr prepared_frame) + { + try { + VideoAggregatorPad __obj = GLib.Object.GetObject (inst, false) as VideoAggregatorPad; + bool __result; + __result = __obj.OnPrepareFrame (GLib.Object.GetObject(videoaggregator) as Gst.Video.VideoAggregator, buffer == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (buffer, typeof (Gst.Buffer), false), Gst.Video.VideoFrame.New (prepared_frame)); + return __result; + } catch (Exception e) { + GLib.ExceptionManager.RaiseUnhandledException (e, true); + // NOTREACHED: above call does not return. + throw e; + } + } + + [GLib.DefaultSignalHandler(Type=typeof(Gst.Video.VideoAggregatorPad), ConnectionMethod="OverridePrepareFrame")] + protected virtual bool OnPrepareFrame (Gst.Video.VideoAggregator videoaggregator, Gst.Buffer buffer, Gst.Video.VideoFrame prepared_frame) + { + return InternalPrepareFrame (videoaggregator, buffer, prepared_frame); + } + + private bool InternalPrepareFrame (Gst.Video.VideoAggregator videoaggregator, Gst.Buffer buffer, Gst.Video.VideoFrame prepared_frame) + { + PrepareFrameNativeDelegate unmanaged = null; + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) this.LookupGType().GetThresholdType().GetClassPtr()) + (long) class_abi.GetFieldOffset("prepare_frame")); + unmanaged = (PrepareFrameNativeDelegate) Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(PrepareFrameNativeDelegate)); + } + if (unmanaged == null) return false; + + IntPtr native_prepared_frame = GLib.Marshaller.StructureToPtrAlloc (prepared_frame); + bool __result = unmanaged (this.Handle, videoaggregator == null ? IntPtr.Zero : videoaggregator.Handle, buffer == null ? IntPtr.Zero : buffer.Handle, native_prepared_frame); + Marshal.FreeHGlobal (native_prepared_frame); + return __result; + } + + static CleanFrameNativeDelegate CleanFrame_cb_delegate; + static CleanFrameNativeDelegate CleanFrameVMCallback { + get { + if (CleanFrame_cb_delegate == null) + CleanFrame_cb_delegate = new CleanFrameNativeDelegate (CleanFrame_cb); + return CleanFrame_cb_delegate; + } + } + + static void OverrideCleanFrame (GLib.GType gtype) + { + OverrideCleanFrame (gtype, CleanFrameVMCallback); + } + + static void OverrideCleanFrame (GLib.GType gtype, CleanFrameNativeDelegate callback) + { + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) gtype.GetClassPtr()) + (long) class_abi.GetFieldOffset("clean_frame")); + *raw_ptr = Marshal.GetFunctionPointerForDelegate((Delegate) callback); + } + } + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] + delegate void CleanFrameNativeDelegate (IntPtr inst, IntPtr videoaggregator, IntPtr prepared_frame); + + static void CleanFrame_cb (IntPtr inst, IntPtr videoaggregator, IntPtr prepared_frame) + { + try { + VideoAggregatorPad __obj = GLib.Object.GetObject (inst, false) as VideoAggregatorPad; + __obj.OnCleanFrame (GLib.Object.GetObject(videoaggregator) as Gst.Video.VideoAggregator, Gst.Video.VideoFrame.New (prepared_frame)); + } catch (Exception e) { + GLib.ExceptionManager.RaiseUnhandledException (e, false); + } + } + + [GLib.DefaultSignalHandler(Type=typeof(Gst.Video.VideoAggregatorPad), ConnectionMethod="OverrideCleanFrame")] + protected virtual void OnCleanFrame (Gst.Video.VideoAggregator videoaggregator, Gst.Video.VideoFrame prepared_frame) + { + InternalCleanFrame (videoaggregator, prepared_frame); + } + + private void InternalCleanFrame (Gst.Video.VideoAggregator videoaggregator, Gst.Video.VideoFrame prepared_frame) + { + CleanFrameNativeDelegate unmanaged = null; + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) this.LookupGType().GetThresholdType().GetClassPtr()) + (long) class_abi.GetFieldOffset("clean_frame")); + unmanaged = (CleanFrameNativeDelegate) Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(CleanFrameNativeDelegate)); + } + if (unmanaged == null) return; + + IntPtr native_prepared_frame = GLib.Marshaller.StructureToPtrAlloc (prepared_frame); + unmanaged (this.Handle, videoaggregator == null ? IntPtr.Zero : videoaggregator.Handle, native_prepared_frame); + Marshal.FreeHGlobal (native_prepared_frame); + } + + + // Internal representation of the wrapped structure ABI. + static GLib.AbiStruct _class_abi = null; + static public new GLib.AbiStruct class_abi { + get { + if (_class_abi == null) + _class_abi = new GLib.AbiStruct (new List<GLib.AbiField>{ + new GLib.AbiField("update_conversion_info" + , Gst.Base.AggregatorPad.class_abi.Fields + , (uint) Marshal.SizeOf(typeof(IntPtr)) // update_conversion_info + , null + , "prepare_frame" + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + new GLib.AbiField("prepare_frame" + , -1 + , (uint) Marshal.SizeOf(typeof(IntPtr)) // prepare_frame + , "update_conversion_info" + , "clean_frame" + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + new GLib.AbiField("clean_frame" + , -1 + , (uint) Marshal.SizeOf(typeof(IntPtr)) // clean_frame + , "prepare_frame" + , "_gst_reserved" + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + new GLib.AbiField("_gst_reserved" + , -1 + , (uint) Marshal.SizeOf(typeof(IntPtr)) * 20 // _gst_reserved + , "clean_frame" + , null + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + }); + + return _class_abi; + } + } + + + // End of the ABI representation. + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_aggregator_pad_get_type(); + + public static new GLib.GType GType { + get { + IntPtr raw_ret = gst_video_aggregator_pad_get_type(); + GLib.GType ret = new GLib.GType(raw_ret); + return ret; + } + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_aggregator_pad_get_current_buffer(IntPtr raw); + + public Gst.Buffer CurrentBuffer { + get { + IntPtr raw_ret = gst_video_aggregator_pad_get_current_buffer(Handle); + Gst.Buffer ret = raw_ret == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Buffer), false); + return ret; + } + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_aggregator_pad_get_prepared_frame(IntPtr raw); + + public Gst.Video.VideoFrame PreparedFrame { + get { + IntPtr raw_ret = gst_video_aggregator_pad_get_prepared_frame(Handle); + Gst.Video.VideoFrame ret = Gst.Video.VideoFrame.New (raw_ret); + return ret; + } + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_video_aggregator_pad_has_current_buffer(IntPtr raw); + + public bool HasCurrentBuffer { + get { + bool raw_ret = gst_video_aggregator_pad_has_current_buffer(Handle); + bool ret = raw_ret; + return ret; + } + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_video_aggregator_pad_set_needs_alpha(IntPtr raw, bool needs_alpha); + + public bool NeedsAlpha { + set { + gst_video_aggregator_pad_set_needs_alpha(Handle, value); + } + } + + + static VideoAggregatorPad () + { + GtkSharp.GstreamerSharp.ObjectManager.Initialize (); + } + + // Internal representation of the wrapped structure ABI. + static GLib.AbiStruct _abi_info = null; + static public new GLib.AbiStruct abi_info { + get { + if (_abi_info == null) + _abi_info = new GLib.AbiStruct (new List<GLib.AbiField>{ + new GLib.AbiField("info" + , Gst.Base.AggregatorPad.abi_info.Fields + , Gst.Video.VideoInfo.abi_info.Size // info + , null + , "priv" + , Gst.Video.VideoInfo.abi_info.Align + , 0 + ), + new GLib.AbiField("priv" + , -1 + , (uint) Marshal.SizeOf(typeof(IntPtr)) // priv + , "info" + , "_gst_reserved" + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + new GLib.AbiField("_gst_reserved" + , -1 + , (uint) Marshal.SizeOf(typeof(IntPtr)) * 4 // _gst_reserved + , "priv" + , null + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + }); + + return _abi_info; + } + } + + + // End of the ABI representation. + +#endregion + } +} diff --git a/sources/generated/Gst.Video/VideoAncillary.cs b/sources/generated/Gst.Video/VideoAncillary.cs new file mode 100644 index 0000000..7801833 --- /dev/null +++ b/sources/generated/Gst.Video/VideoAncillary.cs @@ -0,0 +1,51 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.Video { + + using System; + using System.Collections; + using System.Collections.Generic; + using System.Runtime.InteropServices; + +#region Autogenerated code + [StructLayout(LayoutKind.Sequential)] + public partial struct VideoAncillary : IEquatable<VideoAncillary> { + + public byte DID; + public byte SDIDBlockNumber; + public byte DataCount; + [MarshalAs (UnmanagedType.ByValArray, SizeConst=0)] + public byte[] Data; + [MarshalAs (UnmanagedType.ByValArray, SizeConst=4)] + private IntPtr[] _gstGstReserved; + + public static Gst.Video.VideoAncillary Zero = new Gst.Video.VideoAncillary (); + + public static Gst.Video.VideoAncillary New(IntPtr raw) { + if (raw == IntPtr.Zero) + return Gst.Video.VideoAncillary.Zero; + return (Gst.Video.VideoAncillary) Marshal.PtrToStructure (raw, typeof (Gst.Video.VideoAncillary)); + } + + public bool Equals (VideoAncillary other) + { + return true && DID.Equals (other.DID) && SDIDBlockNumber.Equals (other.SDIDBlockNumber) && DataCount.Equals (other.DataCount) && Data.Equals (other.Data); + } + + public override bool Equals (object other) + { + return other is VideoAncillary && Equals ((VideoAncillary) other); + } + + public override int GetHashCode () + { + return this.GetType ().FullName.GetHashCode () ^ DID.GetHashCode () ^ SDIDBlockNumber.GetHashCode () ^ DataCount.GetHashCode () ^ Data.GetHashCode (); + } + + private static GLib.GType GType { + get { return GLib.GType.Pointer; } + } +#endregion + } +} diff --git a/sources/generated/Gst.Video/VideoAncillaryDID.cs b/sources/generated/Gst.Video/VideoAncillaryDID.cs new file mode 100644 index 0000000..a1d43de --- /dev/null +++ b/sources/generated/Gst.Video/VideoAncillaryDID.cs @@ -0,0 +1,38 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.Video { + + using System; + using System.Runtime.InteropServices; + +#region Autogenerated code + [GLib.GType (typeof (Gst.Video.VideoAncillaryDIDGType))] + public enum VideoAncillaryDID { + + Undefined = 0, + Deletion = 128, + Hanc3gAudioDataFirst = 160, + Hanc3gAudioDataLast = 167, + HancHdtvAudioDataFirst = 224, + HancHdtvAudioDataLast = 231, + HancSdtvAudioData1First = 236, + HancSdtvAudioData1Last = 239, + CameraPosition = 240, + HancErrorDetection = 244, + HancSdtvAudioData2First = 248, + HancSdtvAudioData2Last = 255, + } + + internal class VideoAncillaryDIDGType { + [DllImport ("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_ancillary_did_get_type (); + + public static GLib.GType GType { + get { + return new GLib.GType (gst_video_ancillary_did_get_type ()); + } + } + } +#endregion +} diff --git a/sources/generated/Gst.Video/VideoAncillaryDID16.cs b/sources/generated/Gst.Video/VideoAncillaryDID16.cs new file mode 100644 index 0000000..e87d3f5 --- /dev/null +++ b/sources/generated/Gst.Video/VideoAncillaryDID16.cs @@ -0,0 +1,28 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.Video { + + using System; + using System.Runtime.InteropServices; + +#region Autogenerated code + [GLib.GType (typeof (Gst.Video.VideoAncillaryDID16GType))] + public enum VideoAncillaryDID16 { + + _708 = 24833, + _608 = 24834, + } + + internal class VideoAncillaryDID16GType { + [DllImport ("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_ancillary_di_d16_get_type (); + + public static GLib.GType GType { + get { + return new GLib.GType (gst_video_ancillary_di_d16_get_type ()); + } + } + } +#endregion +} diff --git a/sources/generated/Gst.Video/VideoBufferFlags.cs b/sources/generated/Gst.Video/VideoBufferFlags.cs index 5cde05c..7afef78 100644 --- a/sources/generated/Gst.Video/VideoBufferFlags.cs +++ b/sources/generated/Gst.Video/VideoBufferFlags.cs @@ -15,6 +15,8 @@ namespace Gst.Video { Tff = 2097152, Rff = 4194304, Onefield = 8388608, + BottomField = 8388608, + TopField = 10485760, MultipleView = 16777216, FirstInBundle = 33554432, Last = 268435456, diff --git a/sources/generated/Gst.Video/VideoCaptionMeta.cs b/sources/generated/Gst.Video/VideoCaptionMeta.cs new file mode 100644 index 0000000..66f9f99 --- /dev/null +++ b/sources/generated/Gst.Video/VideoCaptionMeta.cs @@ -0,0 +1,68 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.Video { + + using System; + using System.Collections; + using System.Collections.Generic; + using System.Runtime.InteropServices; + +#region Autogenerated code + [StructLayout(LayoutKind.Sequential)] + public partial struct VideoCaptionMeta : IEquatable<VideoCaptionMeta> { + + public Gst.Meta Meta; + public Gst.Video.VideoCaptionType CaptionType; + [MarshalAs (UnmanagedType.ByValArray, SizeConst=0)] + public byte[] Data; + private UIntPtr size; + public ulong Size { + get { + return (ulong) size; + } + set { + size = new UIntPtr (value); + } + } + + public static Gst.Video.VideoCaptionMeta Zero = new Gst.Video.VideoCaptionMeta (); + + public static Gst.Video.VideoCaptionMeta New(IntPtr raw) { + if (raw == IntPtr.Zero) + return Gst.Video.VideoCaptionMeta.Zero; + return (Gst.Video.VideoCaptionMeta) Marshal.PtrToStructure (raw, typeof (Gst.Video.VideoCaptionMeta)); + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_caption_meta_get_info(); + + public static Gst.MetaInfo Info { + get { + IntPtr raw_ret = gst_video_caption_meta_get_info(); + Gst.MetaInfo ret = Gst.MetaInfo.New (raw_ret); + return ret; + } + } + + public bool Equals (VideoCaptionMeta other) + { + return true && Meta.Equals (other.Meta) && CaptionType.Equals (other.CaptionType) && Data.Equals (other.Data) && Size.Equals (other.Size); + } + + public override bool Equals (object other) + { + return other is VideoCaptionMeta && Equals ((VideoCaptionMeta) other); + } + + public override int GetHashCode () + { + return this.GetType ().FullName.GetHashCode () ^ Meta.GetHashCode () ^ CaptionType.GetHashCode () ^ Data.GetHashCode () ^ Size.GetHashCode (); + } + + private static GLib.GType GType { + get { return GLib.GType.Pointer; } + } +#endregion + } +} diff --git a/sources/generated/Gst.Video/VideoCaptionType.cs b/sources/generated/Gst.Video/VideoCaptionType.cs new file mode 100644 index 0000000..803b30d --- /dev/null +++ b/sources/generated/Gst.Video/VideoCaptionType.cs @@ -0,0 +1,31 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.Video { + + using System; + using System.Runtime.InteropServices; + +#region Autogenerated code + [GLib.GType (typeof (Gst.Video.VideoCaptionTypeGType))] + public enum VideoCaptionType { + + Unknown = 0, + Cea608Raw = 1, + Cea608S3341a = 2, + Cea708Raw = 3, + Cea708Cdp = 4, + } + + internal class VideoCaptionTypeGType { + [DllImport ("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_caption_type_get_type (); + + public static GLib.GType GType { + get { + return new GLib.GType (gst_video_caption_type_get_type ()); + } + } + } +#endregion +} diff --git a/sources/generated/Gst.Video/VideoCodecFrame.cs b/sources/generated/Gst.Video/VideoCodecFrame.cs index 4cf8dec..5668606 100644 --- a/sources/generated/Gst.Video/VideoCodecFrame.cs +++ b/sources/generated/Gst.Video/VideoCodecFrame.cs @@ -15,8 +15,8 @@ namespace Gst.Video { private int ref_count; private uint flags; public uint SystemFrameNumber; - public uint DecodeFrameNumber; - public uint PresentationFrameNumber; + private uint decode_frame_number; + private uint presentation_frame_number; public ulong Dts; public ulong Pts; public ulong Duration; @@ -105,7 +105,7 @@ namespace Gst.Video { public bool Equals (VideoCodecFrame other) { - return true && ref_count.Equals (other.ref_count) && flags.Equals (other.flags) && SystemFrameNumber.Equals (other.SystemFrameNumber) && DecodeFrameNumber.Equals (other.DecodeFrameNumber) && PresentationFrameNumber.Equals (other.PresentationFrameNumber) && Dts.Equals (other.Dts) && Pts.Equals (other.Pts) && Duration.Equals (other.Duration) && DistanceFromSync.Equals (other.DistanceFromSync) && InputBuffer.Equals (other.InputBuffer) && OutputBuffer.Equals (other.OutputBuffer) && Deadline.Equals (other.Deadline) && _events.Equals (other._events) && _user_data.Equals (other._user_data) && user_data_destroy_notify.Equals (other.user_data_destroy_notify); + return true && ref_count.Equals (other.ref_count) && flags.Equals (other.flags) && SystemFrameNumber.Equals (other.SystemFrameNumber) && decode_frame_number.Equals (other.decode_frame_number) && presentation_frame_number.Equals (other.presentation_frame_number) && Dts.Equals (other.Dts) && Pts.Equals (other.Pts) && Duration.Equals (other.Duration) && DistanceFromSync.Equals (other.DistanceFromSync) && InputBuffer.Equals (other.InputBuffer) && OutputBuffer.Equals (other.OutputBuffer) && Deadline.Equals (other.Deadline) && _events.Equals (other._events) && _user_data.Equals (other._user_data) && user_data_destroy_notify.Equals (other.user_data_destroy_notify); } public override bool Equals (object other) @@ -115,7 +115,7 @@ namespace Gst.Video { public override int GetHashCode () { - return this.GetType ().FullName.GetHashCode () ^ ref_count.GetHashCode () ^ flags.GetHashCode () ^ SystemFrameNumber.GetHashCode () ^ DecodeFrameNumber.GetHashCode () ^ PresentationFrameNumber.GetHashCode () ^ Dts.GetHashCode () ^ Pts.GetHashCode () ^ Duration.GetHashCode () ^ DistanceFromSync.GetHashCode () ^ InputBuffer.GetHashCode () ^ OutputBuffer.GetHashCode () ^ Deadline.GetHashCode () ^ _events.GetHashCode () ^ _user_data.GetHashCode () ^ user_data_destroy_notify.GetHashCode (); + return this.GetType ().FullName.GetHashCode () ^ ref_count.GetHashCode () ^ flags.GetHashCode () ^ SystemFrameNumber.GetHashCode () ^ decode_frame_number.GetHashCode () ^ presentation_frame_number.GetHashCode () ^ Dts.GetHashCode () ^ Pts.GetHashCode () ^ Duration.GetHashCode () ^ DistanceFromSync.GetHashCode () ^ InputBuffer.GetHashCode () ^ OutputBuffer.GetHashCode () ^ Deadline.GetHashCode () ^ _events.GetHashCode () ^ _user_data.GetHashCode () ^ user_data_destroy_notify.GetHashCode (); } public static explicit operator GLib.Value (Gst.Video.VideoCodecFrame boxed) diff --git a/sources/generated/Gst.Video/VideoDecoder.cs b/sources/generated/Gst.Video/VideoDecoder.cs index 5e8150c..446e439 100644 --- a/sources/generated/Gst.Video/VideoDecoder.cs +++ b/sources/generated/Gst.Video/VideoDecoder.cs @@ -1671,6 +1671,21 @@ namespace Gst.Video { } [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_decoder_set_interlaced_output_state(IntPtr raw, int fmt, int mode, uint width, uint height, IntPtr reference); + + public Gst.Video.VideoCodecState SetInterlacedOutputState(Gst.Video.VideoFormat fmt, Gst.Video.VideoInterlaceMode mode, uint width, uint height, Gst.Video.VideoCodecState reference) { + IntPtr native_reference = GLib.Marshaller.StructureToPtrAlloc (reference); + IntPtr raw_ret = gst_video_decoder_set_interlaced_output_state(Handle, (int) fmt, (int) mode, width, height, native_reference); + Gst.Video.VideoCodecState ret = Gst.Video.VideoCodecState.New (raw_ret); + Marshal.FreeHGlobal (native_reference); + return ret; + } + + public Gst.Video.VideoCodecState SetInterlacedOutputState(Gst.Video.VideoFormat fmt, Gst.Video.VideoInterlaceMode mode, uint width, uint height) { + return SetInterlacedOutputState (fmt, mode, width, height, Gst.Video.VideoCodecState.Zero); + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_video_decoder_set_latency(IntPtr raw, ulong min_latency, ulong max_latency); public void SetLatency(ulong min_latency, ulong max_latency) { diff --git a/sources/generated/Gst.Video/VideoFormat.cs b/sources/generated/Gst.Video/VideoFormat.cs index 65f6b65..70225fe 100644 --- a/sources/generated/Gst.Video/VideoFormat.cs +++ b/sources/generated/Gst.Video/VideoFormat.cs @@ -91,6 +91,9 @@ namespace Gst.Video { Gray10Le32 = 78, Nv1210le32 = 79, Nv1610le32 = 80, + Nv1210le40 = 81, + Y210 = 82, + Y410 = 83, } internal class VideoFormatGType { diff --git a/sources/generated/Gst.Video/VideoFrameFlags.cs b/sources/generated/Gst.Video/VideoFrameFlags.cs index 1828296..0a87f68 100644 --- a/sources/generated/Gst.Video/VideoFrameFlags.cs +++ b/sources/generated/Gst.Video/VideoFrameFlags.cs @@ -16,6 +16,8 @@ namespace Gst.Video { Tff = 2, Rff = 4, Onefield = 8, + BottomField = 8, + TopField = 10, MultipleView = 16, FirstInBundle = 32, } diff --git a/sources/generated/Gst.Video/VideoInfo.cs b/sources/generated/Gst.Video/VideoInfo.cs index a05f908..db26368 100644 --- a/sources/generated/Gst.Video/VideoInfo.cs +++ b/sources/generated/Gst.Video/VideoInfo.cs @@ -281,6 +281,15 @@ namespace Gst.Video { } [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_video_info_set_interlaced_format(IntPtr raw, int format, int mode, uint width, uint height); + + public bool SetInterlacedFormat(Gst.Video.VideoFormat format, Gst.Video.VideoInterlaceMode mode, uint width, uint height) { + bool raw_ret = gst_video_info_set_interlaced_format(Handle, (int) format, (int) mode, width, height); + bool ret = raw_ret; + return ret; + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_video_info_to_caps(IntPtr raw); public Gst.Caps ToCaps() { diff --git a/sources/generated/Gst.Video/VideoInterlaceMode.cs b/sources/generated/Gst.Video/VideoInterlaceMode.cs index d24852c..d2ad90f 100644 --- a/sources/generated/Gst.Video/VideoInterlaceMode.cs +++ b/sources/generated/Gst.Video/VideoInterlaceMode.cs @@ -14,6 +14,7 @@ namespace Gst.Video { Interleaved = 1, Mixed = 2, Fields = 3, + Alternate = 4, } internal class VideoInterlaceModeGType { diff --git a/sources/generated/Gst.Video/VideoOverlayFormatFlags.cs b/sources/generated/Gst.Video/VideoOverlayFormatFlags.cs index 690581f..fc0260d 100644 --- a/sources/generated/Gst.Video/VideoOverlayFormatFlags.cs +++ b/sources/generated/Gst.Video/VideoOverlayFormatFlags.cs @@ -7,11 +7,24 @@ namespace Gst.Video { using System.Runtime.InteropServices; #region Autogenerated code + [Flags] + [GLib.GType (typeof (Gst.Video.VideoOverlayFormatFlagsGType))] public enum VideoOverlayFormatFlags { None = 0, PremultipliedAlpha = 1, GlobalAlpha = 2, } + + internal class VideoOverlayFormatFlagsGType { + [DllImport ("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_overlay_format_flags_get_type (); + + public static GLib.GType GType { + get { + return new GLib.GType (gst_video_overlay_format_flags_get_type ()); + } + } + } #endregion } diff --git a/sources/generated/Gst.Video/VideoTimeCode.cs b/sources/generated/Gst.Video/VideoTimeCode.cs index 90a1716..d2c5abc 100644 --- a/sources/generated/Gst.Video/VideoTimeCode.cs +++ b/sources/generated/Gst.Video/VideoTimeCode.cs @@ -55,6 +55,15 @@ namespace Gst.Video { } [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_time_code_new_from_date_time_full(uint fps_n, uint fps_d, IntPtr dt, int flags, uint field_count); + + public static VideoTimeCode NewFromDateTimeFull(uint fps_n, uint fps_d, GLib.DateTime dt, Gst.Video.VideoTimeCodeFlags flags, uint field_count) + { + VideoTimeCode result = VideoTimeCode.New (gst_video_time_code_new_from_date_time_full(fps_n, fps_d, dt == null ? IntPtr.Zero : dt.Handle, (int) flags, field_count)); + return result; + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_video_time_code_new_from_string(IntPtr tc_str); public static VideoTimeCode NewFromString(string tc_str) @@ -175,6 +184,19 @@ namespace Gst.Video { } [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_video_time_code_init_from_date_time_full(IntPtr raw, uint fps_n, uint fps_d, IntPtr dt, int flags, uint field_count); + + public bool InitFromDateTimeFull(uint fps_n, uint fps_d, GLib.DateTime dt, Gst.Video.VideoTimeCodeFlags flags, uint field_count) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_video_time_code_init_from_date_time_full(this_as_native, fps_n, fps_d, dt == null ? IntPtr.Zero : dt.Handle, (int) flags, field_count); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_video_time_code_is_valid(IntPtr raw); public bool IsValid { diff --git a/sources/generated/Gst.Video/VideoVBIEncoder.cs b/sources/generated/Gst.Video/VideoVBIEncoder.cs new file mode 100644 index 0000000..ef7e517 --- /dev/null +++ b/sources/generated/Gst.Video/VideoVBIEncoder.cs @@ -0,0 +1,102 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.Video { + + using System; + using System.Collections; + using System.Collections.Generic; + using System.Runtime.InteropServices; + +#region Autogenerated code + [StructLayout(LayoutKind.Sequential)] + public partial struct VideoVBIEncoder : IEquatable<VideoVBIEncoder> { + + + public static Gst.Video.VideoVBIEncoder Zero = new Gst.Video.VideoVBIEncoder (); + + public static Gst.Video.VideoVBIEncoder New(IntPtr raw) { + if (raw == IntPtr.Zero) + return Gst.Video.VideoVBIEncoder.Zero; + return (Gst.Video.VideoVBIEncoder) Marshal.PtrToStructure (raw, typeof (Gst.Video.VideoVBIEncoder)); + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_vbi_encoder_new(int format, uint pixel_width); + + public static VideoVBIEncoder New(Gst.Video.VideoFormat format, uint pixel_width) + { + VideoVBIEncoder result = VideoVBIEncoder.New (gst_video_vbi_encoder_new((int) format, pixel_width)); + return result; + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_vbi_encoder_get_type(); + + public static GLib.GType GType { + get { + IntPtr raw_ret = gst_video_vbi_encoder_get_type(); + GLib.GType ret = new GLib.GType(raw_ret); + return ret; + } + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_video_vbi_encoder_add_ancillary(IntPtr raw, bool composite, byte DID, byte SDID_block_number, byte[] data, uint data_count); + + public bool AddAncillary(bool composite, byte DID, byte SDID_block_number, byte[] data, uint data_count) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + bool raw_ret = gst_video_vbi_encoder_add_ancillary(this_as_native, composite, DID, SDID_block_number, data, data_count); + bool ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_video_vbi_encoder_write_line(IntPtr raw, byte data); + + public void WriteLine(byte data) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + gst_video_vbi_encoder_write_line(this_as_native, data); + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + } + + static void ReadNative (IntPtr native, ref Gst.Video.VideoVBIEncoder target) + { + target = New (native); + } + + public bool Equals (VideoVBIEncoder other) + { + return true; + } + + public override bool Equals (object other) + { + return other is VideoVBIEncoder && Equals ((VideoVBIEncoder) other); + } + + public override int GetHashCode () + { + return this.GetType ().FullName.GetHashCode (); + } + + public static explicit operator GLib.Value (Gst.Video.VideoVBIEncoder boxed) + { + GLib.Value val = GLib.Value.Empty; + val.Init (Gst.Video.VideoVBIEncoder.GType); + val.Val = boxed; + return val; + } + + public static explicit operator Gst.Video.VideoVBIEncoder (GLib.Value val) + { + return (Gst.Video.VideoVBIEncoder) val.Val; + } +#endregion + } +} diff --git a/sources/generated/Gst.Video/VideoVBIParser.cs b/sources/generated/Gst.Video/VideoVBIParser.cs new file mode 100644 index 0000000..d3cf48d --- /dev/null +++ b/sources/generated/Gst.Video/VideoVBIParser.cs @@ -0,0 +1,105 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.Video { + + using System; + using System.Collections; + using System.Collections.Generic; + using System.Runtime.InteropServices; + +#region Autogenerated code + [StructLayout(LayoutKind.Sequential)] + public partial struct VideoVBIParser : IEquatable<VideoVBIParser> { + + + public static Gst.Video.VideoVBIParser Zero = new Gst.Video.VideoVBIParser (); + + public static Gst.Video.VideoVBIParser New(IntPtr raw) { + if (raw == IntPtr.Zero) + return Gst.Video.VideoVBIParser.Zero; + return (Gst.Video.VideoVBIParser) Marshal.PtrToStructure (raw, typeof (Gst.Video.VideoVBIParser)); + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_vbi_parser_new(int format, uint pixel_width); + + public static VideoVBIParser New(Gst.Video.VideoFormat format, uint pixel_width) + { + VideoVBIParser result = VideoVBIParser.New (gst_video_vbi_parser_new((int) format, pixel_width)); + return result; + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_vbi_parser_get_type(); + + public static GLib.GType GType { + get { + IntPtr raw_ret = gst_video_vbi_parser_get_type(); + GLib.GType ret = new GLib.GType(raw_ret); + return ret; + } + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_video_vbi_parser_add_line(IntPtr raw, byte[] data); + + public void AddLine(byte[] data) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + gst_video_vbi_parser_add_line(this_as_native, data); + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + } + + [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern int gst_video_vbi_parser_get_ancillary(IntPtr raw, IntPtr anc); + + public Gst.Video.VideoVBIParserResult GetAncillary(out Gst.Video.VideoAncillary anc) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + IntPtr native_anc = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (Gst.Video.VideoAncillary))); + int raw_ret = gst_video_vbi_parser_get_ancillary(this_as_native, native_anc); + Gst.Video.VideoVBIParserResult ret = (Gst.Video.VideoVBIParserResult) raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + anc = Gst.Video.VideoAncillary.New (native_anc); + Marshal.FreeHGlobal (native_anc); + return ret; + } + + static void ReadNative (IntPtr native, ref Gst.Video.VideoVBIParser target) + { + target = New (native); + } + + public bool Equals (VideoVBIParser other) + { + return true; + } + + public override bool Equals (object other) + { + return other is VideoVBIParser && Equals ((VideoVBIParser) other); + } + + public override int GetHashCode () + { + return this.GetType ().FullName.GetHashCode (); + } + + public static explicit operator GLib.Value (Gst.Video.VideoVBIParser boxed) + { + GLib.Value val = GLib.Value.Empty; + val.Init (Gst.Video.VideoVBIParser.GType); + val.Val = boxed; + return val; + } + + public static explicit operator Gst.Video.VideoVBIParser (GLib.Value val) + { + return (Gst.Video.VideoVBIParser) val.Val; + } +#endregion + } +} diff --git a/sources/generated/Gst.Video/VideoVBIParserResult.cs b/sources/generated/Gst.Video/VideoVBIParserResult.cs new file mode 100644 index 0000000..6f5d0a1 --- /dev/null +++ b/sources/generated/Gst.Video/VideoVBIParserResult.cs @@ -0,0 +1,29 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.Video { + + using System; + using System.Runtime.InteropServices; + +#region Autogenerated code + [GLib.GType (typeof (Gst.Video.VideoVBIParserResultGType))] + public enum VideoVBIParserResult { + + Done = 0, + Ok = 1, + Error = 2, + } + + internal class VideoVBIParserResultGType { + [DllImport ("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_video_vbi_parser_result_get_type (); + + public static GLib.GType GType { + get { + return new GLib.GType (gst_video_vbi_parser_result_get_type ()); + } + } + } +#endregion +} diff --git a/sources/generated/Gst.WebRTC/WebRTCBundlePolicy.cs b/sources/generated/Gst.WebRTC/WebRTCBundlePolicy.cs new file mode 100644 index 0000000..7eb2629 --- /dev/null +++ b/sources/generated/Gst.WebRTC/WebRTCBundlePolicy.cs @@ -0,0 +1,30 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.WebRTC { + + using System; + using System.Runtime.InteropServices; + +#region Autogenerated code + [GLib.GType (typeof (Gst.WebRTC.WebRTCBundlePolicyGType))] + public enum WebRTCBundlePolicy { + + None = 0, + Balanced = 1, + MaxCompat = 2, + MaxBundle = 3, + } + + internal class WebRTCBundlePolicyGType { + [DllImport ("libgstwebrtc-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_webrtc_bundle_policy_get_type (); + + public static GLib.GType GType { + get { + return new GLib.GType (gst_webrtc_bundle_policy_get_type ()); + } + } + } +#endregion +} diff --git a/sources/generated/Gst.WebRTC/WebRTCDataChannelState.cs b/sources/generated/Gst.WebRTC/WebRTCDataChannelState.cs new file mode 100644 index 0000000..09747c3 --- /dev/null +++ b/sources/generated/Gst.WebRTC/WebRTCDataChannelState.cs @@ -0,0 +1,31 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.WebRTC { + + using System; + using System.Runtime.InteropServices; + +#region Autogenerated code + [GLib.GType (typeof (Gst.WebRTC.WebRTCDataChannelStateGType))] + public enum WebRTCDataChannelState { + + New = 0, + Connecting = 1, + Open = 2, + Closing = 3, + Closed = 4, + } + + internal class WebRTCDataChannelStateGType { + [DllImport ("libgstwebrtc-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_webrtc_data_channel_state_get_type (); + + public static GLib.GType GType { + get { + return new GLib.GType (gst_webrtc_data_channel_state_get_type ()); + } + } + } +#endregion +} diff --git a/sources/generated/Gst.WebRTC/WebRTCFECType.cs b/sources/generated/Gst.WebRTC/WebRTCFECType.cs new file mode 100644 index 0000000..26b56f6 --- /dev/null +++ b/sources/generated/Gst.WebRTC/WebRTCFECType.cs @@ -0,0 +1,28 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.WebRTC { + + using System; + using System.Runtime.InteropServices; + +#region Autogenerated code + [GLib.GType (typeof (Gst.WebRTC.WebRTCFECTypeGType))] + public enum WebRTCFECType { + + None = 0, + UlpRed = 1, + } + + internal class WebRTCFECTypeGType { + [DllImport ("libgstwebrtc-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_webrtc_fec_type_get_type (); + + public static GLib.GType GType { + get { + return new GLib.GType (gst_webrtc_fec_type_get_type ()); + } + } + } +#endregion +} diff --git a/sources/generated/Gst.WebRTC/WebRTCICETransportPolicy.cs b/sources/generated/Gst.WebRTC/WebRTCICETransportPolicy.cs new file mode 100644 index 0000000..1f9a992 --- /dev/null +++ b/sources/generated/Gst.WebRTC/WebRTCICETransportPolicy.cs @@ -0,0 +1,28 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.WebRTC { + + using System; + using System.Runtime.InteropServices; + +#region Autogenerated code + [GLib.GType (typeof (Gst.WebRTC.WebRTCICETransportPolicyGType))] + public enum WebRTCICETransportPolicy { + + All = 0, + Relay = 1, + } + + internal class WebRTCICETransportPolicyGType { + [DllImport ("libgstwebrtc-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_webrtc_ice_transport_policy_get_type (); + + public static GLib.GType GType { + get { + return new GLib.GType (gst_webrtc_ice_transport_policy_get_type ()); + } + } + } +#endregion +} diff --git a/sources/generated/Gst.WebRTC/WebRTCPriorityType.cs b/sources/generated/Gst.WebRTC/WebRTCPriorityType.cs new file mode 100644 index 0000000..4e291b0 --- /dev/null +++ b/sources/generated/Gst.WebRTC/WebRTCPriorityType.cs @@ -0,0 +1,30 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.WebRTC { + + using System; + using System.Runtime.InteropServices; + +#region Autogenerated code + [GLib.GType (typeof (Gst.WebRTC.WebRTCPriorityTypeGType))] + public enum WebRTCPriorityType { + + VeryLow = 1, + Low = 2, + Medium = 3, + High = 4, + } + + internal class WebRTCPriorityTypeGType { + [DllImport ("libgstwebrtc-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_webrtc_priority_type_get_type (); + + public static GLib.GType GType { + get { + return new GLib.GType (gst_webrtc_priority_type_get_type ()); + } + } + } +#endregion +} diff --git a/sources/generated/Gst.WebRTC/WebRTCSCTPTransportState.cs b/sources/generated/Gst.WebRTC/WebRTCSCTPTransportState.cs new file mode 100644 index 0000000..756621e --- /dev/null +++ b/sources/generated/Gst.WebRTC/WebRTCSCTPTransportState.cs @@ -0,0 +1,30 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.WebRTC { + + using System; + using System.Runtime.InteropServices; + +#region Autogenerated code + [GLib.GType (typeof (Gst.WebRTC.WebRTCSCTPTransportStateGType))] + public enum WebRTCSCTPTransportState { + + New = 0, + Connecting = 1, + Connected = 2, + Closed = 3, + } + + internal class WebRTCSCTPTransportStateGType { + [DllImport ("libgstwebrtc-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_webrtc_sctp_transport_state_get_type (); + + public static GLib.GType GType { + get { + return new GLib.GType (gst_webrtc_sctp_transport_state_get_type ()); + } + } + } +#endregion +} diff --git a/sources/generated/Gst.WebRTC/WebRTCSessionDescription.cs b/sources/generated/Gst.WebRTC/WebRTCSessionDescription.cs index c34ed23..2cd1252 100644 --- a/sources/generated/Gst.WebRTC/WebRTCSessionDescription.cs +++ b/sources/generated/Gst.WebRTC/WebRTCSessionDescription.cs @@ -36,6 +36,7 @@ namespace Gst.WebRTC { public static WebRTCSessionDescription New(Gst.WebRTC.WebRTCSDPType type, Gst.Sdp.SDPMessage sdp) { + sdp.Owned = false; WebRTCSessionDescription result = WebRTCSessionDescription.New (gst_webrtc_session_description_new((int) type, sdp == null ? IntPtr.Zero : sdp.Handle)); return result; } diff --git a/sources/generated/Gst/Bin.cs b/sources/generated/Gst/Bin.cs index 14c2343..3ce1817 100644 --- a/sources/generated/Gst/Bin.cs +++ b/sources/generated/Gst/Bin.cs @@ -151,16 +151,6 @@ namespace Gst { } } - [GLib.Signal("element-added")] - public event Gst.ElementAddedHandler ElementAdded { - add { - this.AddSignalHandler ("element-added", value, typeof (Gst.ElementAddedArgs)); - } - remove { - this.RemoveSignalHandler ("element-added", value); - } - } - [GLib.Signal("deep-element-added")] public event Gst.DeepElementAddedHandler DeepElementAdded { add { @@ -171,13 +161,13 @@ namespace Gst { } } - [GLib.Signal("element-removed")] - public event Gst.ElementRemovedHandler ElementRemoved { + [GLib.Signal("deep-element-removed")] + public event Gst.DeepElementRemovedHandler DeepElementRemoved { add { - this.AddSignalHandler ("element-removed", value, typeof (Gst.ElementRemovedArgs)); + this.AddSignalHandler ("deep-element-removed", value, typeof (Gst.DeepElementRemovedArgs)); } remove { - this.RemoveSignalHandler ("element-removed", value); + this.RemoveSignalHandler ("deep-element-removed", value); } } @@ -191,13 +181,23 @@ namespace Gst { } } - [GLib.Signal("deep-element-removed")] - public event Gst.DeepElementRemovedHandler DeepElementRemoved { + [GLib.Signal("element-added")] + public event Gst.ElementAddedHandler ElementAdded { add { - this.AddSignalHandler ("deep-element-removed", value, typeof (Gst.DeepElementRemovedArgs)); + this.AddSignalHandler ("element-added", value, typeof (Gst.ElementAddedArgs)); } remove { - this.RemoveSignalHandler ("deep-element-removed", value); + this.RemoveSignalHandler ("element-added", value); + } + } + + [GLib.Signal("element-removed")] + public event Gst.ElementRemovedHandler ElementRemoved { + add { + this.AddSignalHandler ("element-removed", value, typeof (Gst.ElementRemovedArgs)); + } + remove { + this.RemoveSignalHandler ("element-removed", value); } } diff --git a/sources/generated/Gst/Buffer.cs b/sources/generated/Gst/Buffer.cs index 28732cb..01d37b5 100644 --- a/sources/generated/Gst/Buffer.cs +++ b/sources/generated/Gst/Buffer.cs @@ -589,6 +589,14 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_buffer_new_wrapped_bytes(IntPtr bytes); + + public Buffer (GLib.Bytes bytes) + { + Raw = gst_buffer_new_wrapped_bytes(bytes == null ? IntPtr.Zero : bytes.Handle); + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_buffer_new_wrapped_full(int flags, byte[] data, UIntPtr maxsize, UIntPtr offset, UIntPtr size, IntPtr user_data, GLib.DestroyNotify notify); public Buffer (Gst.MemoryFlags flags, byte[] data, ulong maxsize, ulong offset, ulong size, IntPtr user_data, GLib.DestroyNotify notify) diff --git a/sources/generated/Gst/Bus.cs b/sources/generated/Gst/Bus.cs index e805298..792e45d 100644 --- a/sources/generated/Gst/Bus.cs +++ b/sources/generated/Gst/Bus.cs @@ -25,23 +25,23 @@ namespace Gst { Raw = gst_bus_new(); } - [GLib.Signal("sync-message")] - public event Gst.SyncMessageHandler SyncMessage { + [GLib.Signal("message")] + public event Gst.MessageHandler Message { add { - this.AddSignalHandler ("sync-message", value, typeof (Gst.SyncMessageArgs)); + this.AddSignalHandler ("message", value, typeof (Gst.MessageArgs)); } remove { - this.RemoveSignalHandler ("sync-message", value); + this.RemoveSignalHandler ("message", value); } } - [GLib.Signal("message")] - public event Gst.MessageHandler Message { + [GLib.Signal("sync-message")] + public event Gst.SyncMessageHandler SyncMessage { add { - this.AddSignalHandler ("message", value, typeof (Gst.MessageArgs)); + this.AddSignalHandler ("sync-message", value, typeof (Gst.SyncMessageArgs)); } remove { - this.RemoveSignalHandler ("message", value); + this.RemoveSignalHandler ("sync-message", value); } } diff --git a/sources/generated/Gst/Caps.cs b/sources/generated/Gst/Caps.cs index 1a7d97a..3e0c834 100644 --- a/sources/generated/Gst/Caps.cs +++ b/sources/generated/Gst/Caps.cs @@ -62,6 +62,15 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_caps_copy(IntPtr raw); + + public Gst.Caps Copy() { + IntPtr raw_ret = gst_caps_copy(Handle); + Gst.Caps ret = raw_ret == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Caps), true); + return ret; + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_caps_copy_nth(IntPtr raw, uint nth); public Gst.Caps CopyNth(uint nth) { @@ -322,6 +331,17 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_caps_set_features_simple(IntPtr raw, IntPtr value); + + public Gst.CapsFeatures FeaturesSimple { + set { + IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value); + gst_caps_set_features_simple(Handle, native_value); + Marshal.FreeHGlobal (native_value); + } + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_caps_set_value(IntPtr raw, IntPtr field, IntPtr value); public void SetValue(string field, GLib.Value value) { diff --git a/sources/generated/Gst/Clock.cs b/sources/generated/Gst/Clock.cs index 8fbfab9..44909aa 100644 --- a/sources/generated/Gst/Clock.cs +++ b/sources/generated/Gst/Clock.cs @@ -567,6 +567,15 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_clock_id_get_clock(IntPtr id); + + public static Gst.Clock IdGetClock(IntPtr id) { + IntPtr raw_ret = gst_clock_id_get_clock(id); + Gst.Clock ret = GLib.Object.GetObject(raw_ret, true) as Gst.Clock; + return ret; + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern ulong gst_clock_id_get_time(IntPtr id); public static ulong IdGetTime(IntPtr id) { @@ -599,6 +608,15 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_clock_id_uses_clock(IntPtr id, IntPtr clock); + + public static bool IdUsesClock(IntPtr id, Gst.Clock clock) { + bool raw_ret = gst_clock_id_uses_clock(id, clock == null ? IntPtr.Zero : clock.Handle); + bool ret = raw_ret; + return ret; + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern int gst_clock_id_wait(IntPtr id, out long jitter); public static Gst.ClockReturn IdWait(IntPtr id, out long jitter) { diff --git a/sources/generated/Gst/Constants.cs b/sources/generated/Gst/Constants.cs index a8be8f4..6b08374 100644 --- a/sources/generated/Gst/Constants.cs +++ b/sources/generated/Gst/Constants.cs @@ -28,6 +28,7 @@ namespace Gst { public const string ELEMENT_FACTORY_KLASS_ENCODER = @"Encoder"; public const string ELEMENT_FACTORY_KLASS_ENCRYPTOR = @"Encryptor"; public const string ELEMENT_FACTORY_KLASS_FORMATTER = @"Formatter"; + public const string ELEMENT_FACTORY_KLASS_HARDWARE = @"Hardware"; public const string ELEMENT_FACTORY_KLASS_MEDIA_AUDIO = @"Audio"; public const string ELEMENT_FACTORY_KLASS_MEDIA_IMAGE = @"Image"; public const string ELEMENT_FACTORY_KLASS_MEDIA_METADATA = @"Metadata"; @@ -63,6 +64,7 @@ namespace Gst { public const int PARAM_MUTABLE_READY = 1024; public const int PARAM_USER_SHIFT = 65536; public const string PROTECTION_SYSTEM_ID_CAPS_FIELD = @"protection-system"; + public const string PROTECTION_UNSPECIFIED_SYSTEM_ID = @"unspecified-system-id"; public const string PTR_FORMAT = @"paA"; public const int QUERY_NUM_SHIFT = 8; public const int QUERY_TYPE_BOTH = 3; @@ -163,9 +165,9 @@ namespace Gst { public const int VALUE_LESS_THAN = -1; public const int VALUE_UNORDERED = 2; public const int VERSION_MAJOR = 1; - public const int VERSION_MICRO = 0; + public const int VERSION_MICRO = 1; public const int VERSION_MINOR = 15; - public const int VERSION_NANO = 1; + public const int VERSION_NANO = 0; #endregion } } diff --git a/sources/generated/Gst/DebugGraphDetails.cs b/sources/generated/Gst/DebugGraphDetails.cs index ed5db0d..64cbea7 100644 --- a/sources/generated/Gst/DebugGraphDetails.cs +++ b/sources/generated/Gst/DebugGraphDetails.cs @@ -11,13 +11,13 @@ namespace Gst { [GLib.GType (typeof (Gst.DebugGraphDetailsGType))] public enum DebugGraphDetails { - Verbose = -1, MediaType = 1, CapsDetails = 2, NonDefaultParams = 4, States = 8, All = 15, FullParams = 16, + Verbose = -1, } internal class DebugGraphDetailsGType { diff --git a/sources/generated/Gst/DeviceProvider.cs b/sources/generated/Gst/DeviceProvider.cs index 5ab768c..b3783a7 100644 --- a/sources/generated/Gst/DeviceProvider.cs +++ b/sources/generated/Gst/DeviceProvider.cs @@ -29,23 +29,23 @@ namespace Gst { } } - [GLib.Signal("provider-hidden")] - public event Gst.ProviderHiddenHandler ProviderHidden { + [GLib.Signal("provider-unhidden")] + public event Gst.ProviderUnhiddenHandler ProviderUnhidden { add { - this.AddSignalHandler ("provider-hidden", value, typeof (Gst.ProviderHiddenArgs)); + this.AddSignalHandler ("provider-unhidden", value, typeof (Gst.ProviderUnhiddenArgs)); } remove { - this.RemoveSignalHandler ("provider-hidden", value); + this.RemoveSignalHandler ("provider-unhidden", value); } } - [GLib.Signal("provider-unhidden")] - public event Gst.ProviderUnhiddenHandler ProviderUnhidden { + [GLib.Signal("provider-hidden")] + public event Gst.ProviderHiddenHandler ProviderHidden { add { - this.AddSignalHandler ("provider-unhidden", value, typeof (Gst.ProviderUnhiddenArgs)); + this.AddSignalHandler ("provider-hidden", value, typeof (Gst.ProviderHiddenArgs)); } remove { - this.RemoveSignalHandler ("provider-unhidden", value); + this.RemoveSignalHandler ("provider-hidden", value); } } @@ -369,6 +369,13 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_device_provider_device_changed(IntPtr raw, IntPtr device, IntPtr changed_device); + + public void DeviceChanged(Gst.Device device, Gst.Device changed_device) { + gst_device_provider_device_changed(Handle, device == null ? IntPtr.Zero : device.Handle, changed_device == null ? IntPtr.Zero : changed_device.Handle); + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_device_provider_device_remove(IntPtr raw, IntPtr device); public void DeviceRemove(Gst.Device device) { diff --git a/sources/generated/Gst/Element.cs b/sources/generated/Gst/Element.cs index 1ef9423..ac2ca30 100644 --- a/sources/generated/Gst/Element.cs +++ b/sources/generated/Gst/Element.cs @@ -236,23 +236,23 @@ namespace Gst { } } - [GLib.Signal("pad-added")] - public event Gst.PadAddedHandler PadAdded { + [GLib.Signal("pad-removed")] + public event Gst.PadRemovedHandler PadRemoved { add { - this.AddSignalHandler ("pad-added", value, typeof (Gst.PadAddedArgs)); + this.AddSignalHandler ("pad-removed", value, typeof (Gst.PadRemovedArgs)); } remove { - this.RemoveSignalHandler ("pad-added", value); + this.RemoveSignalHandler ("pad-removed", value); } } - [GLib.Signal("pad-removed")] - public event Gst.PadRemovedHandler PadRemoved { + [GLib.Signal("pad-added")] + public event Gst.PadAddedHandler PadAdded { add { - this.AddSignalHandler ("pad-removed", value, typeof (Gst.PadRemovedArgs)); + this.AddSignalHandler ("pad-added", value, typeof (Gst.PadAddedArgs)); } remove { - this.RemoveSignalHandler ("pad-removed", value); + this.RemoveSignalHandler ("pad-added", value); } } diff --git a/sources/generated/Gst/Global.cs b/sources/generated/Gst/Global.cs index f7b9b11..4fe3c26 100644 --- a/sources/generated/Gst/Global.cs +++ b/sources/generated/Gst/Global.cs @@ -202,15 +202,22 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern IntPtr gst_meta_api_type_register(IntPtr api, IntPtr tags); + static extern IntPtr gst_meta_api_type_register(IntPtr api, IntPtr[] tags); - public static GLib.GType MetaApiTypeRegister(string api, string tags) { + public static GLib.GType MetaApiTypeRegister(string api, string[] tags) { IntPtr native_api = GLib.Marshaller.StringToPtrGStrdup (api); - IntPtr native_tags = GLib.Marshaller.StringToPtrGStrdup (tags); + int cnt_tags = tags == null ? 0 : tags.Length; + IntPtr[] native_tags = new IntPtr [cnt_tags + 1]; + for (int i = 0; i < cnt_tags; i++) + native_tags [i] = GLib.Marshaller.StringToPtrGStrdup (tags[i]); + native_tags [cnt_tags] = IntPtr.Zero; IntPtr raw_ret = gst_meta_api_type_register(native_api, native_tags); GLib.GType ret = new GLib.GType(raw_ret); GLib.Marshaller.Free (native_api); - GLib.Marshaller.Free (native_tags); + for (int i = 0; i < native_tags.Length - 1; i++) { + tags [i] = GLib.Marshaller.Utf8PtrToString (native_tags[i]); + GLib.Marshaller.Free (native_tags[i]); + } return ret; } @@ -290,13 +297,20 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern IntPtr gst_protection_filter_systems_by_available_decryptors(IntPtr system_identifiers); + static extern IntPtr gst_protection_filter_systems_by_available_decryptors(IntPtr[] system_identifiers); - public static string[] ProtectionFilterSystemsByAvailableDecryptors(string system_identifiers) { - IntPtr native_system_identifiers = GLib.Marshaller.StringToPtrGStrdup (system_identifiers); + public static string[] ProtectionFilterSystemsByAvailableDecryptors(string[] system_identifiers) { + int cnt_system_identifiers = system_identifiers == null ? 0 : system_identifiers.Length; + IntPtr[] native_system_identifiers = new IntPtr [cnt_system_identifiers + 1]; + for (int i = 0; i < cnt_system_identifiers; i++) + native_system_identifiers [i] = GLib.Marshaller.StringToPtrGStrdup (system_identifiers[i]); + native_system_identifiers [cnt_system_identifiers] = IntPtr.Zero; IntPtr raw_ret = gst_protection_filter_systems_by_available_decryptors(native_system_identifiers); string[] ret = GLib.Marshaller.NullTermPtrToStringArray (raw_ret, true); - GLib.Marshaller.Free (native_system_identifiers); + for (int i = 0; i < native_system_identifiers.Length - 1; i++) { + system_identifiers [i] = GLib.Marshaller.Utf8PtrToString (native_system_identifiers[i]); + GLib.Marshaller.Free (native_system_identifiers[i]); + } return ret; } diff --git a/sources/generated/Gst/Message.cs b/sources/generated/Gst/Message.cs index 80812f9..8fa3bfd 100644 --- a/sources/generated/Gst/Message.cs +++ b/sources/generated/Gst/Message.cs @@ -202,6 +202,17 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_message_parse_device_changed(IntPtr raw, out IntPtr device, out IntPtr changed_device); + + public void ParseDeviceChanged(out Gst.Device device, out Gst.Device changed_device) { + IntPtr native_device; + IntPtr native_changed_device; + gst_message_parse_device_changed(Handle, out native_device, out native_changed_device); + device = GLib.Object.GetObject(native_device, true) as Gst.Device; + changed_device = GLib.Object.GetObject(native_changed_device, true) as Gst.Device; + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_message_parse_device_removed(IntPtr raw, out IntPtr device); public Gst.Device ParseDeviceRemoved() { @@ -633,6 +644,15 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_message_new_device_changed(IntPtr src, IntPtr device, IntPtr changed_device); + + public static Message NewDeviceChanged(Gst.Object src, Gst.Device device, Gst.Device changed_device) + { + Message result = new Message (gst_message_new_device_changed(src == null ? IntPtr.Zero : src.Handle, device == null ? IntPtr.Zero : device.Handle, changed_device == null ? IntPtr.Zero : changed_device.Handle)); + return result; + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_message_new_device_removed(IntPtr src, IntPtr device); public static Message NewDeviceRemoved(Gst.Object src, Gst.Device device) diff --git a/sources/generated/Gst/MessageType.cs b/sources/generated/Gst/MessageType.cs index d482944..8b4c1d3 100644 --- a/sources/generated/Gst/MessageType.cs +++ b/sources/generated/Gst/MessageType.cs @@ -50,6 +50,7 @@ namespace Gst { StreamCollection = 2147483652, StreamsSelected = 2147483653, Redirect = 2147483654, + DeviceChanged = 2147483654, Any = 4294967295, } diff --git a/sources/generated/Gst/Meta.cs b/sources/generated/Gst/Meta.cs index d97ab8c..b6d205d 100644 --- a/sources/generated/Gst/Meta.cs +++ b/sources/generated/Gst/Meta.cs @@ -28,6 +28,36 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern int gst_meta_compare_seqnum(IntPtr raw, IntPtr meta2); + + public int CompareSeqnum(Gst.Meta meta2) { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + IntPtr native_meta2 = GLib.Marshaller.StructureToPtrAlloc (meta2); + int raw_ret = gst_meta_compare_seqnum(this_as_native, native_meta2); + int ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + Marshal.FreeHGlobal (native_meta2); + return ret; + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern ulong gst_meta_get_seqnum(IntPtr raw); + + public ulong Seqnum { + get { + IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); + System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); + ulong raw_ret = gst_meta_get_seqnum(this_as_native); + ulong ret = raw_ret; + ReadNative (this_as_native, ref this); + System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); + return ret; + } + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_meta_api_type_get_tags(IntPtr api); public static string[] ApiTypeGetTags(GLib.GType api) { @@ -46,15 +76,22 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern IntPtr gst_meta_api_type_register(IntPtr api, IntPtr tags); + static extern IntPtr gst_meta_api_type_register(IntPtr api, IntPtr[] tags); - public static GLib.GType ApiTypeRegister(string api, string tags) { + public static GLib.GType ApiTypeRegister(string api, string[] tags) { IntPtr native_api = GLib.Marshaller.StringToPtrGStrdup (api); - IntPtr native_tags = GLib.Marshaller.StringToPtrGStrdup (tags); + int cnt_tags = tags == null ? 0 : tags.Length; + IntPtr[] native_tags = new IntPtr [cnt_tags + 1]; + for (int i = 0; i < cnt_tags; i++) + native_tags [i] = GLib.Marshaller.StringToPtrGStrdup (tags[i]); + native_tags [cnt_tags] = IntPtr.Zero; IntPtr raw_ret = gst_meta_api_type_register(native_api, native_tags); GLib.GType ret = new GLib.GType(raw_ret); GLib.Marshaller.Free (native_api); - GLib.Marshaller.Free (native_tags); + for (int i = 0; i < native_tags.Length - 1; i++) { + tags [i] = GLib.Marshaller.Utf8PtrToString (native_tags[i]); + GLib.Marshaller.Free (native_tags[i]); + } return ret; } @@ -86,6 +123,11 @@ namespace Gst { return ret; } + static void ReadNative (IntPtr native, ref Gst.Meta target) + { + target = New (native); + } + public bool Equals (Meta other) { return true && Flags.Equals (other.Flags) && info.Equals (other.info); diff --git a/sources/generated/Gst/MiniObject.cs b/sources/generated/Gst/MiniObject.cs index fa5e5ca..c398654 100644 --- a/sources/generated/Gst/MiniObject.cs +++ b/sources/generated/Gst/MiniObject.cs @@ -117,6 +117,13 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_mini_object_add_parent(IntPtr raw, IntPtr parent); + + public void AddParent(Gst.MiniObject parent) { + gst_mini_object_add_parent(Handle, parent == null ? IntPtr.Zero : parent.Handle); + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_mini_object_get_qdata(IntPtr raw, uint quark); public IntPtr GetQdata(uint quark) { @@ -146,6 +153,13 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_mini_object_remove_parent(IntPtr raw, IntPtr parent); + + public void RemoveParent(Gst.MiniObject parent) { + gst_mini_object_remove_parent(Handle, parent == null ? IntPtr.Zero : parent.Handle); + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_mini_object_set_qdata(IntPtr raw, uint quark, IntPtr data, GLib.DestroyNotify destroy); public void SetQdata(uint quark, IntPtr data, GLib.DestroyNotify destroy) { @@ -283,7 +297,7 @@ namespace Gst { , (uint) Marshal.SizeOf(typeof(uint)) // priv_uint , "free" , "priv_pointer" - , (long) Marshal.OffsetOf(typeof(GstMiniObject_n_qdataAlign), "priv_uint") + , (long) Marshal.OffsetOf(typeof(GstMiniObject_priv_uintAlign), "priv_uint") , 0 ), new GLib.AbiField("priv_pointer" @@ -329,7 +343,7 @@ namespace Gst { } [StructLayout(LayoutKind.Sequential)] - public struct GstMiniObject_n_qdataAlign + public struct GstMiniObject_priv_uintAlign { sbyte f1; private uint priv_uint; diff --git a/sources/generated/Gst/Poll.cs b/sources/generated/Gst/Poll.cs index ecc0a28..a764860 100644 --- a/sources/generated/Gst/Poll.cs +++ b/sources/generated/Gst/Poll.cs @@ -45,6 +45,17 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_poll_fd_ctl_pri(IntPtr raw, IntPtr fd, bool active); + + public bool FdCtlPri(Gst.PollFD fd, bool active) { + IntPtr native_fd = GLib.Marshaller.StructureToPtrAlloc (fd); + bool raw_ret = gst_poll_fd_ctl_pri(Handle, native_fd, active); + bool ret = raw_ret; + Marshal.FreeHGlobal (native_fd); + return ret; + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_poll_fd_ctl_read(IntPtr raw, IntPtr fd, bool active); public bool FdCtlRead(Gst.PollFD fd, bool active) { @@ -89,6 +100,17 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_poll_fd_has_pri(IntPtr raw, IntPtr fd); + + public bool FdHasPri(Gst.PollFD fd) { + IntPtr native_fd = GLib.Marshaller.StructureToPtrAlloc (fd); + bool raw_ret = gst_poll_fd_has_pri(Handle, native_fd); + bool ret = raw_ret; + Marshal.FreeHGlobal (native_fd); + return ret; + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_poll_fd_ignored(IntPtr raw, IntPtr fd); public void FdIgnored(Gst.PollFD fd) { diff --git a/sources/generated/Gst/Query.cs b/sources/generated/Gst/Query.cs index 0a4bb42..e6adc36 100644 --- a/sources/generated/Gst/Query.cs +++ b/sources/generated/Gst/Query.cs @@ -211,6 +211,15 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_query_parse_bitrate(IntPtr raw, out uint nominal_bitrate); + + public uint ParseBitrate() { + uint nominal_bitrate; + gst_query_parse_bitrate(Handle, out nominal_bitrate); + return nominal_bitrate; + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_query_parse_buffering_percent(IntPtr raw, out bool busy, out int percent); public void ParseBufferingPercent(out bool busy, out int percent) { @@ -475,6 +484,15 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_query_set_bitrate(IntPtr raw, uint nominal_bitrate); + + public uint Bitrate { + set { + gst_query_set_bitrate(Handle, value); + } + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_query_set_buffering_percent(IntPtr raw, bool busy, int percent); public void SetBufferingPercent(bool busy, int percent) { @@ -660,6 +678,14 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_query_new_bitrate(); + + public Query () + { + Raw = gst_query_new_bitrate(); + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_query_new_buffering(int format); public Query (Gst.Format format) @@ -706,9 +732,10 @@ namespace Gst { [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_query_new_drain(); - public Query () + public static Query NewDrain() { - Raw = gst_query_new_drain(); + Query result = new Query (gst_query_new_drain()); + return result; } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] diff --git a/sources/generated/Gst/QueryType.cs b/sources/generated/Gst/QueryType.cs index 612d761..91e2a90 100644 --- a/sources/generated/Gst/QueryType.cs +++ b/sources/generated/Gst/QueryType.cs @@ -29,6 +29,7 @@ namespace Gst { Caps = 43523, Drain = 46086, Context = 48643, + Bitrate = 51202, } internal class QueryTypeGType { diff --git a/sources/generated/Gst/Sample.cs b/sources/generated/Gst/Sample.cs index 54af4d0..2261598 100644 --- a/sources/generated/Gst/Sample.cs +++ b/sources/generated/Gst/Sample.cs @@ -25,12 +25,18 @@ namespace Gst { [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_sample_get_buffer(IntPtr raw); + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_sample_set_buffer(IntPtr raw, IntPtr buffer); + public Gst.Buffer Buffer { get { IntPtr raw_ret = gst_sample_get_buffer(Handle); Gst.Buffer ret = raw_ret == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Buffer), false); return ret; } + set { + gst_sample_set_buffer(Handle, value == null ? IntPtr.Zero : value.Handle); + } } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] @@ -53,12 +59,18 @@ namespace Gst { [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_sample_get_caps(IntPtr raw); + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_sample_set_caps(IntPtr raw, IntPtr caps); + public Gst.Caps Caps { get { IntPtr raw_ret = gst_sample_get_caps(Handle); Gst.Caps ret = raw_ret == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Caps), false); return ret; } + set { + gst_sample_set_caps(Handle, value == null ? IntPtr.Zero : value.Handle); + } } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] @@ -75,12 +87,30 @@ namespace Gst { [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_sample_get_segment(IntPtr raw); + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_sample_set_segment(IntPtr raw, IntPtr value); + public Gst.Segment Segment { get { IntPtr raw_ret = gst_sample_get_segment(Handle); Gst.Segment ret = Gst.Segment.New (raw_ret); return ret; } + set { + IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value); + gst_sample_set_segment(Handle, native_value); + Marshal.FreeHGlobal (native_value); + } + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_sample_set_info(IntPtr raw, IntPtr info); + + public bool SetInfo(Gst.Structure info) { + info.Owned = false; + bool raw_ret = gst_sample_set_info(Handle, info == null ? IntPtr.Zero : info.Handle); + bool ret = raw_ret; + return ret; } public Sample(IntPtr raw) : base(raw) {} diff --git a/sources/generated/Gst/Tag.cs b/sources/generated/Gst/Tag.cs index dd80bdc..77000e0 100644 --- a/sources/generated/Gst/Tag.cs +++ b/sources/generated/Gst/Tag.cs @@ -118,42 +118,6 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern void gst_tag_register(IntPtr name, int flag, IntPtr type, IntPtr nick, IntPtr blurb, GstSharp.TagMergeFuncNative func); - - public static void Register(string name, Gst.TagFlag flag, GLib.GType type, string nick, string blurb, Gst.TagMergeFunc func) { - IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name); - IntPtr native_nick = GLib.Marshaller.StringToPtrGStrdup (nick); - IntPtr native_blurb = GLib.Marshaller.StringToPtrGStrdup (blurb); - GstSharp.TagMergeFuncWrapper func_wrapper = new GstSharp.TagMergeFuncWrapper (func); - gst_tag_register(native_name, (int) flag, type.Val, native_nick, native_blurb, func_wrapper.NativeDelegate); - GLib.Marshaller.Free (native_name); - GLib.Marshaller.Free (native_nick); - GLib.Marshaller.Free (native_blurb); - } - - public static void Register(string name, Gst.TagFlag flag, GLib.GType type, string nick, string blurb) { - Register (name, flag, type, nick, blurb, null); - } - - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern void gst_tag_register_static(IntPtr name, int flag, IntPtr type, IntPtr nick, IntPtr blurb, GstSharp.TagMergeFuncNative func); - - public static void RegisterStatic(string name, Gst.TagFlag flag, GLib.GType type, string nick, string blurb, Gst.TagMergeFunc func) { - IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name); - IntPtr native_nick = GLib.Marshaller.StringToPtrGStrdup (nick); - IntPtr native_blurb = GLib.Marshaller.StringToPtrGStrdup (blurb); - GstSharp.TagMergeFuncWrapper func_wrapper = new GstSharp.TagMergeFuncWrapper (func); - gst_tag_register_static(native_name, (int) flag, type.Val, native_nick, native_blurb, func_wrapper.NativeDelegate); - GLib.Marshaller.Free (native_name); - GLib.Marshaller.Free (native_nick); - GLib.Marshaller.Free (native_blurb); - } - - public static void RegisterStatic(string name, Gst.TagFlag flag, GLib.GType type, string nick, string blurb) { - RegisterStatic (name, flag, type, nick, blurb, null); - } - - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_tag_check_language_code(IntPtr lang_code); public static bool CheckLanguageCode(string lang_code) { @@ -574,6 +538,15 @@ namespace Gst { return ret; } + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_tag_xmp_list_schemas(); + + public static string[] XmpListSchemas() { + IntPtr raw_ret = gst_tag_xmp_list_schemas(); + string[] ret = GLib.Marshaller.NullTermPtrToStringArray (raw_ret, false); + return ret; + } + #endregion } } diff --git a/sources/generated/GtkSharp/ObjectManager.cs b/sources/generated/GtkSharp/ObjectManager.cs index 6b410a6..377ec31 100644 --- a/sources/generated/GtkSharp/ObjectManager.cs +++ b/sources/generated/GtkSharp/ObjectManager.cs @@ -64,6 +64,9 @@ namespace GtkSharp.GstreamerSharp { GLib.GType.Register (Gst.Tags.TagDemux.GType, typeof (Gst.Tags.TagDemux)); GLib.GType.Register (Gst.Tags.TagMux.GType, typeof (Gst.Tags.TagMux)); GLib.GType.Register (Gst.Video.ColorBalanceChannel.GType, typeof (Gst.Video.ColorBalanceChannel)); + GLib.GType.Register (Gst.Video.VideoAggregator.GType, typeof (Gst.Video.VideoAggregator)); + GLib.GType.Register (Gst.Video.VideoAggregatorConvertPad.GType, typeof (Gst.Video.VideoAggregatorConvertPad)); + GLib.GType.Register (Gst.Video.VideoAggregatorPad.GType, typeof (Gst.Video.VideoAggregatorPad)); GLib.GType.Register (Gst.Video.VideoBufferPool.GType, typeof (Gst.Video.VideoBufferPool)); GLib.GType.Register (Gst.Video.VideoDecoder.GType, typeof (Gst.Video.VideoDecoder)); GLib.GType.Register (Gst.Video.VideoEncoder.GType, typeof (Gst.Video.VideoEncoder)); diff --git a/sources/generated/gstreamer-sharp-abi.c b/sources/generated/gstreamer-sharp-abi.c index 9a67d62..de14beb 100644 --- a/sources/generated/gstreamer-sharp-abi.c +++ b/sources/generated/gstreamer-sharp-abi.c @@ -858,6 +858,25 @@ int main (int argc, char *argv[]) { g_print("\"GstColorBalanceChannel.label\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GstColorBalanceChannel, label)); g_print("\"GstColorBalanceChannel.min_value\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GstColorBalanceChannel, min_value)); g_print("\"GstColorBalanceChannel.max_value\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GstColorBalanceChannel, max_value)); + g_print("\"sizeof(GstVideoAggregatorClass)\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) sizeof(GstVideoAggregatorClass)); + g_print("\"GstVideoAggregatorClass.update_caps\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GstVideoAggregatorClass, update_caps)); + g_print("\"GstVideoAggregatorClass.aggregate_frames\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GstVideoAggregatorClass, aggregate_frames)); + g_print("\"GstVideoAggregatorClass.create_output_buffer\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GstVideoAggregatorClass, create_output_buffer)); + g_print("\"GstVideoAggregatorClass.find_best_format\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GstVideoAggregatorClass, find_best_format)); + g_print("\"sizeof(GstVideoAggregator)\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) sizeof(GstVideoAggregator)); + g_print("\"GstVideoAggregator.info\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GstVideoAggregator, info)); + g_print("\"GstVideoAggregator.priv\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GstVideoAggregator, priv)); + g_print("\"sizeof(GstVideoAggregatorConvertPadClass)\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) sizeof(GstVideoAggregatorConvertPadClass)); + g_print("\"GstVideoAggregatorConvertPadClass.create_conversion_info\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GstVideoAggregatorConvertPadClass, create_conversion_info)); + g_print("\"sizeof(GstVideoAggregatorConvertPad)\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) sizeof(GstVideoAggregatorConvertPad)); + g_print("\"GstVideoAggregatorConvertPad.priv\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GstVideoAggregatorConvertPad, priv)); + g_print("\"sizeof(GstVideoAggregatorPadClass)\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) sizeof(GstVideoAggregatorPadClass)); + g_print("\"GstVideoAggregatorPadClass.update_conversion_info\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GstVideoAggregatorPadClass, update_conversion_info)); + g_print("\"GstVideoAggregatorPadClass.prepare_frame\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GstVideoAggregatorPadClass, prepare_frame)); + g_print("\"GstVideoAggregatorPadClass.clean_frame\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GstVideoAggregatorPadClass, clean_frame)); + g_print("\"sizeof(GstVideoAggregatorPad)\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) sizeof(GstVideoAggregatorPad)); + g_print("\"GstVideoAggregatorPad.info\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GstVideoAggregatorPad, info)); + g_print("\"GstVideoAggregatorPad.priv\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GstVideoAggregatorPad, priv)); g_print("\"sizeof(GstVideoBufferPool)\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) sizeof(GstVideoBufferPool)); g_print("\"GstVideoBufferPool.priv\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GstVideoBufferPool, priv)); g_print("\"sizeof(GstVideoDecoderClass)\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) sizeof(GstVideoDecoderClass)); diff --git a/sources/generated/gstreamer-sharp-abi.cs b/sources/generated/gstreamer-sharp-abi.cs index a3323f9..7938d32 100644 --- a/sources/generated/gstreamer-sharp-abi.cs +++ b/sources/generated/gstreamer-sharp-abi.cs @@ -852,6 +852,25 @@ namespace AbiTester { Console.WriteLine("\"GstColorBalanceChannel.label\": \"" + Gst.Video.ColorBalanceChannel.abi_info.GetFieldOffset("label") + "\""); Console.WriteLine("\"GstColorBalanceChannel.min_value\": \"" + Gst.Video.ColorBalanceChannel.abi_info.GetFieldOffset("min_value") + "\""); Console.WriteLine("\"GstColorBalanceChannel.max_value\": \"" + Gst.Video.ColorBalanceChannel.abi_info.GetFieldOffset("max_value") + "\""); + Console.WriteLine("\"sizeof(GstVideoAggregatorClass)\": \"" + Gst.Video.VideoAggregator.class_abi.Size + "\""); + Console.WriteLine("\"GstVideoAggregatorClass.update_caps\": \"" + Gst.Video.VideoAggregator.class_abi.GetFieldOffset("update_caps") + "\""); + Console.WriteLine("\"GstVideoAggregatorClass.aggregate_frames\": \"" + Gst.Video.VideoAggregator.class_abi.GetFieldOffset("aggregate_frames") + "\""); + Console.WriteLine("\"GstVideoAggregatorClass.create_output_buffer\": \"" + Gst.Video.VideoAggregator.class_abi.GetFieldOffset("create_output_buffer") + "\""); + Console.WriteLine("\"GstVideoAggregatorClass.find_best_format\": \"" + Gst.Video.VideoAggregator.class_abi.GetFieldOffset("find_best_format") + "\""); + Console.WriteLine("\"sizeof(GstVideoAggregator)\": \"" + Gst.Video.VideoAggregator.abi_info.Size + "\""); + Console.WriteLine("\"GstVideoAggregator.info\": \"" + Gst.Video.VideoAggregator.abi_info.GetFieldOffset("info") + "\""); + Console.WriteLine("\"GstVideoAggregator.priv\": \"" + Gst.Video.VideoAggregator.abi_info.GetFieldOffset("priv") + "\""); + Console.WriteLine("\"sizeof(GstVideoAggregatorConvertPadClass)\": \"" + Gst.Video.VideoAggregatorConvertPad.class_abi.Size + "\""); + Console.WriteLine("\"GstVideoAggregatorConvertPadClass.create_conversion_info\": \"" + Gst.Video.VideoAggregatorConvertPad.class_abi.GetFieldOffset("create_conversion_info") + "\""); + Console.WriteLine("\"sizeof(GstVideoAggregatorConvertPad)\": \"" + Gst.Video.VideoAggregatorConvertPad.abi_info.Size + "\""); + Console.WriteLine("\"GstVideoAggregatorConvertPad.priv\": \"" + Gst.Video.VideoAggregatorConvertPad.abi_info.GetFieldOffset("priv") + "\""); + Console.WriteLine("\"sizeof(GstVideoAggregatorPadClass)\": \"" + Gst.Video.VideoAggregatorPad.class_abi.Size + "\""); + Console.WriteLine("\"GstVideoAggregatorPadClass.update_conversion_info\": \"" + Gst.Video.VideoAggregatorPad.class_abi.GetFieldOffset("update_conversion_info") + "\""); + Console.WriteLine("\"GstVideoAggregatorPadClass.prepare_frame\": \"" + Gst.Video.VideoAggregatorPad.class_abi.GetFieldOffset("prepare_frame") + "\""); + Console.WriteLine("\"GstVideoAggregatorPadClass.clean_frame\": \"" + Gst.Video.VideoAggregatorPad.class_abi.GetFieldOffset("clean_frame") + "\""); + Console.WriteLine("\"sizeof(GstVideoAggregatorPad)\": \"" + Gst.Video.VideoAggregatorPad.abi_info.Size + "\""); + Console.WriteLine("\"GstVideoAggregatorPad.info\": \"" + Gst.Video.VideoAggregatorPad.abi_info.GetFieldOffset("info") + "\""); + Console.WriteLine("\"GstVideoAggregatorPad.priv\": \"" + Gst.Video.VideoAggregatorPad.abi_info.GetFieldOffset("priv") + "\""); Console.WriteLine("\"sizeof(GstVideoBufferPool)\": \"" + Gst.Video.VideoBufferPool.abi_info.Size + "\""); Console.WriteLine("\"GstVideoBufferPool.priv\": \"" + Gst.Video.VideoBufferPool.abi_info.GetFieldOffset("priv") + "\""); Console.WriteLine("\"sizeof(GstVideoDecoderClass)\": \"" + Gst.Video.VideoDecoder.class_abi.Size + "\""); diff --git a/sources/generated/gstreamer-sharp-api.xml b/sources/generated/gstreamer-sharp-api.xml index 53e047e..0bd495f 100644 --- a/sources/generated/gstreamer-sharp-api.xml +++ b/sources/generated/gstreamer-sharp-api.xml @@ -228,6 +228,7 @@ <member cname="GST_QUERY_CAPS" name="Caps" value="43523" /> <member cname="GST_QUERY_DRAIN" name="Drain" value="46086" /> <member cname="GST_QUERY_CONTEXT" name="Context" value="48643" /> + <member cname="GST_QUERY_BITRATE" name="Bitrate" value="51202" /> </enum> <enum name="Rank" cname="GstRank" type="enum" gtype="gst_rank_get_type"> <member cname="GST_RANK_NONE" name="None" value="0" /> @@ -466,13 +467,13 @@ <member cname="GST_DEBUG_UNDERLINE" name="Underline" value="512" /> </enum> <enum name="DebugGraphDetails" cname="GstDebugGraphDetails" type="flags" gtype="gst_debug_graph_details_get_type"> - <member cname="GST_DEBUG_GRAPH_SHOW_VERBOSE" name="Verbose" value="-1" /> <member cname="GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE" name="MediaType" value="1" /> <member cname="GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS" name="CapsDetails" value="2" /> <member cname="GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS" name="NonDefaultParams" value="4" /> <member cname="GST_DEBUG_GRAPH_SHOW_STATES" name="States" value="8" /> <member cname="GST_DEBUG_GRAPH_SHOW_ALL" name="All" value="15" /> <member cname="GST_DEBUG_GRAPH_SHOW_FULL_PARAMS" name="FullParams" value="16" /> + <member cname="GST_DEBUG_GRAPH_SHOW_VERBOSE" name="Verbose" value="-1" /> </enum> <enum name="ElementFlags" cname="GstElementFlags" type="flags" gtype="gst_element_flags_get_type"> <member cname="GST_ELEMENT_FLAG_LOCKED_STATE" name="LockedState" value="16" /> @@ -550,6 +551,7 @@ <member cname="GST_MESSAGE_STREAM_COLLECTION" name="StreamCollection" value="2147483652" /> <member cname="GST_MESSAGE_STREAMS_SELECTED" name="StreamsSelected" value="2147483653" /> <member cname="GST_MESSAGE_REDIRECT" name="Redirect" value="2147483654" /> + <member cname="GST_MESSAGE_DEVICE_CHANGED" name="DeviceChanged" value="2147483654" /> <member cname="GST_MESSAGE_ANY" name="Any" value="4294967295" /> </enum> <enum name="MetaFlags" cname="GstMetaFlags" type="flags" gtype="gst_meta_flags_get_type"> @@ -2300,7 +2302,7 @@ <method name="GetPollfd" cname="gst_bus_get_pollfd" version="1.14"> <return-type type="void" /> <parameters> - <parameter name="fd" type="GPollFD*"> + <parameter name="fd" type="GPollFD*" pass_as="out"> <warning>missing glib:type-name</warning> </parameter> </parameters> @@ -2440,6 +2442,12 @@ <parameter allow-none="1" name="id2" type="gpointer" /> </parameters> </method> + <method name="IdGetClock" cname="gst_clock_id_get_clock" shared="true" version="1.16"> + <return-type type="GstClock*" owned="true" /> + <parameters> + <parameter name="id" type="gpointer" /> + </parameters> + </method> <method name="IdGetTime" cname="gst_clock_id_get_time" shared="true"> <return-type type="guint64" /> <parameters> @@ -2464,6 +2472,13 @@ <parameter name="id" type="gpointer" /> </parameters> </method> + <method name="IdUsesClock" cname="gst_clock_id_uses_clock" shared="true" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="id" type="gpointer" /> + <parameter name="clock" type="GstClock*" /> + </parameters> + </method> <method name="IdWait" cname="gst_clock_id_wait" shared="true"> <return-type type="GstClockReturn" /> <parameters> @@ -3046,6 +3061,13 @@ <parameter name="device" type="GstDevice*" /> </parameters> </method> + <method name="DeviceChanged" cname="gst_device_provider_device_changed" version="1.16"> + <return-type type="void" /> + <parameters> + <parameter name="device" type="GstDevice*" /> + <parameter name="changed_device" type="GstDevice*" /> + </parameters> + </method> <method name="DeviceRemove" cname="gst_device_provider_device_remove" version="1.4"> <return-type type="void" /> <parameters> @@ -6134,6 +6156,13 @@ <parameter name="n_length" type="gsize" /> </parameters> </constructor> + <constructor cname="gst_buffer_new_wrapped_bytes" version="1.16"> + <parameters> + <parameter name="bytes" type="GBytes*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </constructor> <constructor cname="gst_buffer_new_wrapped_full"> <parameters> <parameter name="flags" type="GstMemoryFlags" /> @@ -6659,6 +6688,12 @@ </parameter> </parameters> </method> + <method name="Copy" cname="gst_caps_copy"> + <return-type type="GstCaps*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters /> + </method> <method name="CopyNth" cname="gst_caps_copy_nth"> <return-type type="GstCaps*" owned="true"> <warning>missing glib:type-name</warning> @@ -6860,6 +6895,14 @@ </parameter> </parameters> </method> + <method name="SetFeaturesSimple" cname="gst_caps_set_features_simple" version="1.16"> + <return-type type="void" /> + <parameters> + <parameter allow-none="1" name="features" type="GstCapsFeatures*" owned="true"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="SetValue" cname="gst_caps_set_value"> <return-type type="void" /> <parameters> @@ -7923,6 +7966,13 @@ <parameter name="device" type="GstDevice*" /> </parameters> </constructor> + <constructor cname="gst_message_new_device_changed" version="1.16"> + <parameters> + <parameter name="src" type="GstObject*" /> + <parameter name="device" type="GstDevice*" /> + <parameter name="changed_device" type="GstDevice*" /> + </parameters> + </constructor> <constructor cname="gst_message_new_device_removed" version="1.4"> <parameters> <parameter name="src" type="GstObject*" /> @@ -8269,6 +8319,13 @@ <parameter allow-none="1" name="device" type="GstDevice*" owned="true" pass_as="out" /> </parameters> </method> + <method name="ParseDeviceChanged" cname="gst_message_parse_device_changed" version="1.16"> + <return-type type="void" /> + <parameters> + <parameter allow-none="1" name="device" type="GstDevice*" owned="true" pass_as="out" /> + <parameter allow-none="1" name="changed_device" type="GstDevice*" owned="true" pass_as="out" /> + </parameters> + </method> <method name="ParseDeviceRemoved" cname="gst_message_parse_device_removed" version="1.4"> <return-type type="void" /> <parameters> @@ -8577,6 +8634,18 @@ <field cname="info" access="public" writeable="true" readable="true" is_callback="false" name="Info" type="GstMetaInfo*"> <warning>missing glib:type-name</warning> </field> + <method name="CompareSeqnum" cname="gst_meta_compare_seqnum" version="1.16"> + <return-type type="gint" /> + <parameters> + <parameter name="meta2" type="GstMeta*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> + <method name="GetSeqnum" cname="gst_meta_get_seqnum" version="1.16"> + <return-type type="guint64" /> + <parameters /> + </method> <method name="ApiTypeGetTags" cname="gst_meta_api_type_get_tags" shared="true" version="1.2"> <return-type type="const-gchar**" array="true" null_term_array="true" /> <parameters> @@ -8594,7 +8663,7 @@ <return-type type="GType" /> <parameters> <parameter name="api" type="const-gchar*" /> - <parameter name="tags" type="const-gchar*" /> + <parameter name="tags" type="const-gchar**" array="true" null_term_array="true" /> </parameters> </method> <method name="GetInfo" cname="gst_meta_get_info" shared="true"> @@ -8640,8 +8709,16 @@ <field cname="copy" access="public" writeable="true" readable="true" is_callback="false" name="CopyFunc" type="gpointer" /> <field cname="dispose" access="public" writeable="true" readable="true" is_callback="false" name="Dispose" type="gpointer" /> <field cname="free" access="public" writeable="true" readable="true" is_callback="false" name="Free" type="gpointer" /> - <field cname="n_qdata" access="private" writeable="false" readable="false" is_callback="false" name="NQdata" type="guint" /> - <field cname="qdata" access="private" writeable="false" readable="false" is_callback="false" name="Qdata" type="gpointer" /> + <field cname="priv_uint" access="private" writeable="false" readable="false" is_callback="false" name="PrivUint" type="guint" /> + <field cname="priv_pointer" access="private" writeable="false" readable="false" is_callback="false" name="PrivPointer" type="gpointer" /> + <method name="AddParent" cname="gst_mini_object_add_parent" version="1.16"> + <return-type type="void" /> + <parameters> + <parameter name="parent" type="GstMiniObject*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="GetQdata" cname="gst_mini_object_get_qdata"> <return-type type="gpointer" /> <parameters> @@ -8664,6 +8741,14 @@ </return-type> <parameters /> </method> + <method name="RemoveParent" cname="gst_mini_object_remove_parent" version="1.16"> + <return-type type="void" /> + <parameters> + <parameter name="parent" type="GstMiniObject*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="SetQdata" cname="gst_mini_object_set_qdata"> <return-type type="void" /> <parameters> @@ -8835,6 +8920,15 @@ </parameter> </parameters> </method> + <method name="FdCtlPri" cname="gst_poll_fd_ctl_pri" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="fd" type="GstPollFD*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="active" type="gboolean" /> + </parameters> + </method> <method name="FdCtlRead" cname="gst_poll_fd_ctl_read"> <return-type type="gboolean" /> <parameters> @@ -8869,6 +8963,14 @@ </parameter> </parameters> </method> + <method name="FdHasPri" cname="gst_poll_fd_has_pri" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="fd" type="GstPollFD*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="FdIgnored" cname="gst_poll_fd_ignored"> <return-type type="void" /> <parameters> @@ -9015,6 +9117,7 @@ <parameter name="need_pool" type="gboolean" /> </parameters> </constructor> + <constructor cname="gst_query_new_bitrate" disable_void_ctor="" version="1.16" /> <constructor cname="gst_query_new_buffering"> <parameters> <parameter name="format" type="GstFormat" /> @@ -9181,6 +9284,12 @@ <parameter allow-none="1" name="need_pool" type="gboolean*" owned="true" pass_as="out" /> </parameters> </method> + <method name="ParseBitrate" cname="gst_query_parse_bitrate" version="1.16"> + <return-type type="void" /> + <parameters> + <parameter allow-none="1" name="nominal_bitrate" type="guint*" owned="true" pass_as="out" /> + </parameters> + </method> <method name="ParseBufferingPercent" cname="gst_query_parse_buffering_percent"> <return-type type="void" /> <parameters> @@ -9392,6 +9501,12 @@ <parameter name="_result" type="gboolean" /> </parameters> </method> + <method name="SetBitrate" cname="gst_query_set_bitrate" version="1.16"> + <return-type type="void" /> + <parameters> + <parameter name="nominal_bitrate" type="guint" /> + </parameters> + </method> <method name="SetBufferingPercent" cname="gst_query_set_buffering_percent"> <return-type type="void" /> <parameters> @@ -9609,6 +9724,14 @@ </return-type> <parameters /> </method> + <method name="SetBuffer" cname="gst_sample_set_buffer" version="1.16"> + <return-type type="void" /> + <parameters> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="SetBufferList" cname="gst_sample_set_buffer_list" version="1.6"> <return-type type="void" /> <parameters> @@ -9617,6 +9740,30 @@ </parameter> </parameters> </method> + <method name="SetCaps" cname="gst_sample_set_caps" version="1.16"> + <return-type type="void" /> + <parameters> + <parameter name="caps" type="GstCaps*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> + <method name="SetInfo" cname="gst_sample_set_info" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="info" type="GstStructure*" owned="true"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> + <method name="SetSegment" cname="gst_sample_set_segment" version="1.16"> + <return-type type="void" /> + <parameters> + <parameter name="segment" type="GstSegment*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> </boxed> <boxed name="Segment" cname="GstSegment" opaque="false" hidden="false"> <method name="GetType" cname="gst_segment_get_type" shared="true"> @@ -11158,7 +11305,7 @@ <return-type type="GType" /> <parameters> <parameter name="api" type="const-gchar*" /> - <parameter name="tags" type="const-gchar*" /> + <parameter name="tags" type="const-gchar**" array="true" null_term_array="true" /> </parameters> </method> <method name="MetaGetInfo" cname="gst_meta_get_info" shared="true"> @@ -11252,7 +11399,7 @@ <method name="ProtectionFilterSystemsByAvailableDecryptors" cname="gst_protection_filter_systems_by_available_decryptors" shared="true" version="1.14"> <return-type type="gchar***" owned="true" array="true" null_term_array="true" /> <parameters> - <parameter name="system_identifiers" type="const-gchar*" /> + <parameter name="system_identifiers" type="const-gchar**" array="true" null_term_array="true" /> </parameters> </method> <method name="ProtectionMetaApiGetType" cname="gst_protection_meta_api_get_type" shared="true"> @@ -11380,6 +11527,7 @@ <constant value="Encoder" ctype="gchar*" gtype="gchar*" name="ELEMENT_FACTORY_KLASS_ENCODER" /> <constant value="Encryptor" ctype="gchar*" gtype="gchar*" name="ELEMENT_FACTORY_KLASS_ENCRYPTOR" /> <constant value="Formatter" ctype="gchar*" gtype="gchar*" name="ELEMENT_FACTORY_KLASS_FORMATTER" /> + <constant value="Hardware" ctype="gchar*" gtype="gchar*" name="ELEMENT_FACTORY_KLASS_HARDWARE" version="1.16" /> <constant value="Audio" ctype="gchar*" gtype="gchar*" name="ELEMENT_FACTORY_KLASS_MEDIA_AUDIO" /> <constant value="Image" ctype="gchar*" gtype="gchar*" name="ELEMENT_FACTORY_KLASS_MEDIA_IMAGE" /> <constant value="Metadata" ctype="gchar*" gtype="gchar*" name="ELEMENT_FACTORY_KLASS_MEDIA_METADATA" /> @@ -11440,6 +11588,7 @@ <constant value="1024" ctype="gint" gtype="gint" name="PARAM_MUTABLE_READY" /> <constant value="65536" ctype="gint" gtype="gint" name="PARAM_USER_SHIFT" /> <constant value="protection-system" ctype="gchar*" gtype="gchar*" name="PROTECTION_SYSTEM_ID_CAPS_FIELD" version="1.6" /> + <constant value="unspecified-system-id" ctype="gchar*" gtype="gchar*" name="PROTECTION_UNSPECIFIED_SYSTEM_ID" version="1.16" /> <constant value="paA" ctype="gchar*" gtype="gchar*" name="PTR_FORMAT" /> <constant value="8" ctype="gint" gtype="gint" name="QUERY_NUM_SHIFT" /> <constant value="3" ctype="GstQueryTypeFlags" gtype="GstQueryTypeFlags" name="QUERY_TYPE_BOTH" /> @@ -11541,9 +11690,9 @@ <constant value="-1" ctype="gint" gtype="gint" name="VALUE_LESS_THAN" /> <constant value="2" ctype="gint" gtype="gint" name="VALUE_UNORDERED" /> <constant value="1" ctype="gint" gtype="gint" name="VERSION_MAJOR" /> - <constant value="0" ctype="gint" gtype="gint" name="VERSION_MICRO" /> + <constant value="1" ctype="gint" gtype="gint" name="VERSION_MICRO" /> <constant value="15" ctype="gint" gtype="gint" name="VERSION_MINOR" /> - <constant value="1" ctype="gint" gtype="gint" name="VERSION_NANO" /> + <constant value="0" ctype="gint" gtype="gint" name="VERSION_NANO" /> </object> <class name="Parse" cname="GstParse" disable_void_ctor="1"> <method name="ParseBinFromDescription" cname="gst_parse_bin_from_description" shared="true"> @@ -12362,28 +12511,6 @@ </parameter> </parameters> </method> - <method name="TagRegister" cname="gst_tag_register" shared="true"> - <return-type type="void" /> - <parameters> - <parameter name="name" type="const-gchar*" /> - <parameter name="flag" type="GstTagFlag" /> - <parameter name="type" type="GType" /> - <parameter name="nick" type="const-gchar*" /> - <parameter name="blurb" type="const-gchar*" /> - <parameter scope="call" allow-none="1" name="func" type="GstTagMergeFunc" /> - </parameters> - </method> - <method name="TagRegisterStatic" cname="gst_tag_register_static" shared="true"> - <return-type type="void" /> - <parameters> - <parameter name="name" type="const-gchar*" /> - <parameter name="flag" type="GstTagFlag" /> - <parameter name="type" type="GType" /> - <parameter name="nick" type="const-gchar*" /> - <parameter name="blurb" type="const-gchar*" /> - <parameter scope="call" allow-none="1" name="func" type="GstTagMergeFunc" /> - </parameters> - </method> <method name="TagCheckLanguageCode" cname="gst_tag_check_language_code" shared="true"> <return-type type="gboolean" /> <parameters> @@ -13759,7 +13886,7 @@ <return-type type="GType" /> </method> <property name="ConverterConfig" cname="converter-config" type="GstStructure*" readable="true" writeable="true" construct="false" construct-only="false" /> - <field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GstAudioAggregatorPad*" hidden="true" /> + <field cname="parent" access="private" writeable="false" readable="false" is_callback="false" name="Parent" type="GstAudioAggregatorPad*" hidden="true" /> <field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GstAudioAggregatorConvertPadPrivate*"> <warning>missing glib:type-name</warning> </field> @@ -14386,6 +14513,14 @@ <parameter name="enabled" type="gboolean" /> </parameters> </method> + <method name="SetOutputCaps" cname="gst_audio_decoder_set_output_caps" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="caps" type="GstCaps*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="SetOutputFormat" cname="gst_audio_decoder_set_output_format"> <return-type type="gboolean" /> <parameters> @@ -15108,7 +15243,7 @@ <field cname="acquired" access="public" writeable="false" readable="true" is_callback="false" name="Acquired" type="gboolean" /> <field cname="memory" access="public" writeable="false" readable="true" is_callback="false" name="Memory" type="guint8" /> <field cname="size" access="public" writeable="false" readable="true" is_callback="false" name="Size" type="gsize" /> - <field cname="timestamps" access="public" writeable="false" readable="true" is_callback="false" name="Timestamps" type="guint64" /> + <field cname="timestamps" access="private" writeable="false" readable="false" is_callback="false" name="Timestamps" type="guint64" /> <field cname="spec" access="public" writeable="false" readable="true" is_callback="false" name="Spec" type="GstAudioRingBufferSpec"> <warning>missing glib:type-name</warning> </field> @@ -15250,6 +15385,79 @@ <struct name="AudioAggregatorPrivate" cname="GstAudioAggregatorPrivate" opaque="true" hidden="true" /> <struct name="AudioBaseSinkPrivate" cname="GstAudioBaseSinkPrivate" opaque="true" hidden="true" /> <struct name="AudioBaseSrcPrivate" cname="GstAudioBaseSrcPrivate" opaque="true" hidden="true" /> + <struct name="AudioBuffer" cname="GstAudioBuffer" opaque="false" hidden="false" version="1.16"> + <field cname="info" access="public" writeable="true" readable="true" is_callback="false" name="Info" type="GstAudioInfo"> + <warning>missing glib:type-name</warning> + </field> + <field cname="n_samples" access="public" writeable="true" readable="true" is_callback="false" name="NSamples" type="gsize" array_index="4" /> + <field cname="n_planes" access="public" writeable="true" readable="true" is_callback="false" name="NPlanes" type="gint" /> + <field cname="planes" access="public" writeable="true" readable="true" is_callback="false" name="Planes" type="gpointer" /> + <field cname="buffer" access="public" writeable="true" readable="true" is_callback="false" name="Buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </field> + <field cname="map_infos" access="private" writeable="false" readable="false" is_callback="false" name="MapInfos" type="GstMapInfo*"> + <warning>missing glib:type-name</warning> + </field> + <field cname="priv_planes_arr" access="private" writeable="false" readable="false" is_callback="false" name="PrivPlanesArr" type="gpointer" array="true" array_len="8" hidden="true" /> + <field cname="priv_map_infos_arr" access="private" writeable="false" readable="false" is_callback="false" name="PrivMapInfosArr" type="GstMapInfo" array="true" array_len="8" hidden="true" /> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4" padding="true" /> + <method name="Map" cname="gst_audio_buffer_map" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="info" type="GstAudioInfo*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="gstbuffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="flags" type="GstMapFlags" /> + </parameters> + </method> + <method name="Unmap" cname="gst_audio_buffer_unmap" version="1.16"> + <return-type type="void" /> + <parameters /> + </method> + <method name="Clip" cname="gst_audio_buffer_clip" shared="true"> + <return-type type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="buffer" type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="segment" type="GstSegment*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="rate" type="gint" /> + <parameter name="bpf" type="gint" /> + </parameters> + </method> + <method name="ReorderChannels" cname="gst_audio_buffer_reorder_channels" shared="true"> + <return-type type="gboolean" /> + <parameters> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="format" type="GstAudioFormat" /> + <parameter name="channels" type="gint" array_index="4" /> + <parameter name="from" type="GstAudioChannelPosition*" array="true" array_length_param_index="2" /> + <parameter name="to" type="GstAudioChannelPosition*" array="true" array_length_param_index="2" /> + </parameters> + </method> + <method name="Truncate" cname="gst_audio_buffer_truncate" shared="true" version="1.16"> + <return-type type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="buffer" type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="bpf" type="gint" /> + <parameter name="trim" type="gsize" /> + <parameter name="samples" type="gsize" /> + </parameters> + </method> + </struct> <struct name="AudioCdSrcPrivate" cname="GstAudioCdSrcPrivate" opaque="true" hidden="true" /> <struct name="AudioCdSrcTrack" cname="GstAudioCdSrcTrack" opaque="false" hidden="false"> <field cname="is_audio" access="public" writeable="true" readable="true" is_callback="false" name="IsAudio" type="gboolean" /> @@ -15350,6 +15558,10 @@ <parameter name="in_frames" type="gsize" /> </parameters> </method> + <method name="IsPassthrough" cname="gst_audio_converter_is_passthrough" version="1.16"> + <return-type type="gboolean" /> + <parameters /> + </method> <method name="Reset" cname="gst_audio_converter_reset"> <return-type type="void" /> <parameters /> @@ -15480,6 +15692,23 @@ <parameters /> </method> </boxed> + <struct name="AudioMeta" cname="GstAudioMeta" opaque="false" hidden="false" version="1.16"> + <field cname="meta" access="public" writeable="true" readable="true" is_callback="false" name="Meta" type="GstMeta"> + <warning>missing glib:type-name</warning> + </field> + <field cname="info" access="public" writeable="true" readable="true" is_callback="false" name="Info" type="GstAudioInfo"> + <warning>missing glib:type-name</warning> + </field> + <field cname="samples" access="public" writeable="true" readable="true" is_callback="false" name="Samples" type="gsize" /> + <field cname="offsets" access="public" writeable="true" readable="true" is_callback="false" name="Offsets" type="gsize" /> + <field cname="priv_offsets_arr" access="private" writeable="false" readable="false" is_callback="false" name="PrivOffsetsArr" type="gsize" array="true" array_len="8" hidden="true" /> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4" padding="true" /> + <method name="GetInfo" cname="gst_audio_meta_get_info" shared="true"> + <return-type type="GstMetaInfo*"> + <warning>missing glib:type-name</warning> + </return-type> + </method> + </struct> <struct name="AudioQuantize" cname="GstAudioQuantize" opaque="true" hidden="false"> <method name="Free" cname="gst_audio_quantize_free"> <return-type type="void" /> @@ -15607,15 +15836,15 @@ <return-type type="void" /> <parameters /> </method> - <method name="GetAlignmentThreshold" cname="gst_audio_stream_align_get_alignment_threshold"> + <method name="GetAlignmentThreshold" cname="gst_audio_stream_align_get_alignment_threshold" version="1.14"> <return-type type="guint64" /> <parameters /> </method> - <method name="GetDiscontWait" cname="gst_audio_stream_align_get_discont_wait"> + <method name="GetDiscontWait" cname="gst_audio_stream_align_get_discont_wait" version="1.14"> <return-type type="guint64" /> <parameters /> </method> - <method name="GetRate" cname="gst_audio_stream_align_get_rate"> + <method name="GetRate" cname="gst_audio_stream_align_get_rate" version="1.14"> <return-type type="gint" /> <parameters /> </method> @@ -15642,19 +15871,19 @@ <parameter name="out_sample_position" type="guint64*" owned="true" pass_as="out" /> </parameters> </method> - <method name="SetAlignmentThreshold" cname="gst_audio_stream_align_set_alignment_threshold"> + <method name="SetAlignmentThreshold" cname="gst_audio_stream_align_set_alignment_threshold" version="1.14"> <return-type type="void" /> <parameters> <parameter name="alignment_threshold" type="guint64" /> </parameters> </method> - <method name="SetDiscontWait" cname="gst_audio_stream_align_set_discont_wait"> + <method name="SetDiscontWait" cname="gst_audio_stream_align_set_discont_wait" version="1.14"> <return-type type="void" /> <parameters> <parameter name="discont_wait" type="guint64" /> </parameters> </method> - <method name="SetRate" cname="gst_audio_stream_align_set_rate"> + <method name="SetRate" cname="gst_audio_stream_align_set_rate" version="1.14"> <return-type type="void" /> <parameters> <parameter name="rate" type="gint" /> @@ -15684,9 +15913,22 @@ <warning>missing glib:type-name</warning> </parameter> <parameter name="format" type="GstAudioFormat" /> - <parameter name="channels" type="gint" /> - <parameter name="from" type="GstAudioChannelPosition*" array="true" /> - <parameter name="to" type="GstAudioChannelPosition*" array="true" /> + <parameter name="channels" type="gint" array_index="4" /> + <parameter name="from" type="GstAudioChannelPosition*" array="true" array_length_param_index="2" /> + <parameter name="to" type="GstAudioChannelPosition*" array="true" array_length_param_index="2" /> + </parameters> + </method> + <method name="AudioBufferTruncate" cname="gst_audio_buffer_truncate" shared="true" version="1.16"> + <return-type type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="buffer" type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="bpf" type="gint" /> + <parameter name="trim" type="gsize" /> + <parameter name="samples" type="gsize" /> </parameters> </method> <method name="AudioChannelGetFallbackMask" cname="gst_audio_channel_get_fallback_mask" shared="true" version="1.8"> @@ -15793,12 +16035,12 @@ </parameters> </method> <method name="AudioGetChannelReorderMap" cname="gst_audio_get_channel_reorder_map" shared="true"> - <return-type type="gboolean" /> + <return-type type="gboolean" array_index="3" /> <parameters> - <parameter name="channels" type="gint" /> - <parameter name="from" type="GstAudioChannelPosition*" array="true" /> - <parameter name="to" type="GstAudioChannelPosition*" array="true" /> - <parameter name="reorder_map" type="gint*" array="true" /> + <parameter name="channels" type="gint" array_index="3" /> + <parameter name="from" type="GstAudioChannelPosition*" array="true" array_length_param_index="0" /> + <parameter name="to" type="GstAudioChannelPosition*" array="true" array_length_param_index="0" /> + <parameter name="reorder_map" type="gint*" array="true" array_length_param_index="0" /> </parameters> </method> <method name="AudioIec61937FrameSize" cname="gst_audio_iec61937_frame_size" shared="true"> @@ -15822,15 +16064,23 @@ <parameter name="endianness" type="gint" /> </parameters> </method> + <method name="AudioMetaApiGetType" cname="gst_audio_meta_api_get_type" shared="true"> + <return-type type="GType" /> + </method> + <method name="AudioMetaGetInfo" cname="gst_audio_meta_get_info" shared="true"> + <return-type type="GstMetaInfo*"> + <warning>missing glib:type-name</warning> + </return-type> + </method> <method name="AudioReorderChannels" cname="gst_audio_reorder_channels" shared="true"> <return-type type="gboolean" /> <parameters> <parameter name="data" type="guint8*" array="true" array_length_param_index="1" /> <parameter name="n_length" type="gsize" /> <parameter name="format" type="GstAudioFormat" /> - <parameter name="channels" type="gint" /> - <parameter name="from" type="GstAudioChannelPosition*" array="true" /> - <parameter name="to" type="GstAudioChannelPosition*" array="true" /> + <parameter name="channels" type="gint" array_index="5" /> + <parameter name="from" type="GstAudioChannelPosition*" array="true" array_length_param_index="3" /> + <parameter name="to" type="GstAudioChannelPosition*" array="true" array_length_param_index="3" /> </parameters> </method> <method name="AudioResamplerNew" cname="gst_audio_resampler_new" shared="true"> @@ -16448,7 +16698,7 @@ <parameter name="caps" type="GstCaps*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="_ret" type="GstCaps**"> + <parameter allow-none="1" name="_ret" type="GstCaps**" owned="true" pass_as="out"> <warning>missing glib:type-name</warning> </parameter> </parameters> @@ -16493,7 +16743,12 @@ </parameter> </parameters> </method> + <method name="SimpleGetNextTime" cname="gst_aggregator_simple_get_next_time" version="1.16"> + <return-type type="guint64" /> + <parameters /> + </method> <property name="Latency" cname="latency" type="guint64" readable="true" writeable="true" construct="false" construct-only="false" /> + <property name="MinUpstreamLatency" cname="min-upstream-latency" type="guint64" readable="true" writeable="true" construct="false" construct-only="false" version="1.16" /> <property name="StartTime" cname="start-time" type="guint64" readable="true" writeable="true" construct="false" construct-only="false" /> <field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GstElement*" hidden="true" /> <field cname="srcpad" access="public" writeable="false" readable="true" is_callback="false" name="Srcpad" type="GstPad*" /> @@ -16557,10 +16812,10 @@ <field cname="segment" access="public" writeable="false" readable="true" is_callback="false" name="Segment" type="GstSegment"> <warning>missing glib:type-name</warning> </field> - <field cname="priv" access="public" writeable="false" readable="true" is_callback="false" name="Priv" type="GstAggregatorPadPrivate*"> + <field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GstAggregatorPadPrivate*"> <warning>missing glib:type-name</warning> </field> - <field cname="_gst_reserved" access="public" writeable="false" readable="true" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4" padding="true" /> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4" padding="true" /> </object> <object name="BaseParse" cname="GstBaseParse" defaultconstructoraccess="protected" opaque="false" hidden="false" parent="GstElement"> <class_struct cname="GstBaseParseClass"> @@ -17003,6 +17258,10 @@ <return-type type="gint64" /> <parameters /> </method> + <method name="GetProcessingDeadline" cname="gst_base_sink_get_processing_deadline" version="1.16"> + <return-type type="guint64" /> + <parameters /> + </method> <method name="GetRenderDelay" cname="gst_base_sink_get_render_delay"> <return-type type="guint64" /> <parameters /> @@ -17076,6 +17335,12 @@ <parameter name="max_lateness" type="gint64" /> </parameters> </method> + <method name="SetProcessingDeadline" cname="gst_base_sink_set_processing_deadline" version="1.16"> + <return-type type="void" /> + <parameters> + <parameter name="processing_deadline" type="guint64" /> + </parameters> + </method> <method name="SetQosEnabled" cname="gst_base_sink_set_qos_enabled"> <return-type type="void" /> <parameters> @@ -17130,6 +17395,7 @@ <property name="LastSample" cname="last-sample" type="GstSample*" readable="true" writeable="false" construct="false" construct-only="false" /> <property name="MaxBitrate" cname="max-bitrate" type="guint64" readable="true" writeable="true" construct="false" construct-only="false" version="1.2" /> <property name="MaxLateness" cname="max-lateness" type="gint64" readable="true" writeable="true" construct="false" construct-only="false" /> + <property name="ProcessingDeadline" cname="processing-deadline" type="guint64" readable="true" writeable="true" construct="false" construct-only="false" version="1.16" /> <property name="Qos" cname="qos" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" /> <property name="RenderDelay" cname="render-delay" type="guint64" readable="true" writeable="true" construct="false" construct-only="false" /> <property name="Sync" cname="sync" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" /> @@ -18259,6 +18525,120 @@ <parameters /> </method> </struct> + <struct name="BitWriter" cname="GstBitWriter" opaque="false" hidden="false"> + <field cname="data" access="public" writeable="true" readable="true" is_callback="false" name="Data" type="guint8" /> + <field cname="bit_size" access="public" writeable="true" readable="true" is_callback="false" name="BitSize" type="guint" /> + <field cname="bit_capacity" access="private" writeable="false" readable="false" is_callback="false" name="BitCapacity" type="guint" /> + <field cname="auto_grow" access="private" writeable="false" readable="false" is_callback="false" name="AutoGrow" type="gboolean" /> + <field cname="owned" access="private" writeable="false" readable="false" is_callback="false" name="Owned" type="gboolean" /> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4" padding="true" /> + <method name="AlignBytes" cname="gst_bit_writer_align_bytes"> + <return-type type="gboolean" /> + <parameters> + <parameter name="trailing_bit" type="guint8" /> + </parameters> + </method> + <method name="Free" cname="gst_bit_writer_free"> + <return-type type="void" /> + <parameters /> + </method> + <method name="FreeAndGetBuffer" cname="gst_bit_writer_free_and_get_buffer"> + <return-type type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters /> + </method> + <method name="FreeAndGetData" cname="gst_bit_writer_free_and_get_data"> + <return-type type="guint8**" owned="true" array="true" /> + <parameters /> + </method> + <method name="GetData" cname="gst_bit_writer_get_data"> + <return-type type="guint8" /> + <parameters /> + </method> + <method name="GetRemaining" cname="gst_bit_writer_get_remaining"> + <return-type type="guint" /> + <parameters /> + </method> + <method name="GetSize" cname="gst_bit_writer_get_size"> + <return-type type="guint" /> + <parameters /> + </method> + <method name="Init" cname="gst_bit_writer_init"> + <return-type type="void" /> + <parameters /> + </method> + <method name="InitWithData" cname="gst_bit_writer_init_with_data"> + <return-type type="void" /> + <parameters> + <parameter name="data" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="size" type="guint" /> + <parameter name="initialized" type="gboolean" /> + </parameters> + </method> + <method name="InitWithSize" cname="gst_bit_writer_init_with_size"> + <return-type type="void" /> + <parameters> + <parameter name="size" type="guint32" /> + <parameter name="fixed" type="gboolean" /> + </parameters> + </method> + <method name="PutBitsUint16" cname="gst_bit_writer_put_bits_uint16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="value" type="guint16" /> + <parameter name="nbits" type="guint" /> + </parameters> + </method> + <method name="PutBitsUint32" cname="gst_bit_writer_put_bits_uint32"> + <return-type type="gboolean" /> + <parameters> + <parameter name="value" type="guint32" /> + <parameter name="nbits" type="guint" /> + </parameters> + </method> + <method name="PutBitsUint64" cname="gst_bit_writer_put_bits_uint64"> + <return-type type="gboolean" /> + <parameters> + <parameter name="value" type="guint64" /> + <parameter name="nbits" type="guint" /> + </parameters> + </method> + <method name="PutBitsUint8" cname="gst_bit_writer_put_bits_uint8"> + <return-type type="gboolean" /> + <parameters> + <parameter name="value" type="guint8" /> + <parameter name="nbits" type="guint" /> + </parameters> + </method> + <method name="PutBytes" cname="gst_bit_writer_put_bytes"> + <return-type type="gboolean" /> + <parameters> + <parameter name="data" type="guint8" /> + <parameter name="nbytes" type="guint" /> + </parameters> + </method> + <method name="Reset" cname="gst_bit_writer_reset"> + <return-type type="void" /> + <parameters /> + </method> + <method name="ResetAndGetBuffer" cname="gst_bit_writer_reset_and_get_buffer"> + <return-type type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters /> + </method> + <method name="ResetAndGetData" cname="gst_bit_writer_reset_and_get_data"> + <return-type type="guint8**" owned="true" array="true" /> + <parameters /> + </method> + <method name="SetPos" cname="gst_bit_writer_set_pos"> + <return-type type="gboolean" /> + <parameters> + <parameter name="pos" type="guint" /> + </parameters> + </method> + </struct> <struct name="ByteReader" cname="GstByteReader" opaque="1" hidden="false"> <field cname="data" access="public" writeable="true" readable="true" is_callback="false" name="Data" type="guint8*" array="true" array_length_param_index="1" /> <field cname="size" access="public" writeable="true" readable="true" is_callback="false" name="Size" type="guint" /> @@ -18627,6 +19007,19 @@ <parameter allow-none="1" name="prob" type="GstTypeFindProbability" owned="true" pass_as="out" /> </parameters> </method> + <method name="TypeFindHelperForBufferWithExtension" cname="gst_type_find_helper_for_buffer_with_extension" shared="true" version="1.16"> + <return-type type="GstCaps*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter allow-none="1" name="obj" type="GstObject*" /> + <parameter name="buf" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter allow-none="1" name="extension" type="const-gchar*" /> + <parameter allow-none="1" name="prob" type="GstTypeFindProbability" owned="true" pass_as="out" /> + </parameters> + </method> <method name="TypeFindHelperForData" cname="gst_type_find_helper_for_data" shared="true"> <return-type type="GstCaps*" owned="true"> <warning>missing glib:type-name</warning> @@ -18638,6 +19031,18 @@ <parameter allow-none="1" name="prob" type="GstTypeFindProbability" owned="true" pass_as="out" /> </parameters> </method> + <method name="TypeFindHelperForDataWithExtension" cname="gst_type_find_helper_for_data_with_extension" shared="true" version="1.16"> + <return-type type="GstCaps*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter allow-none="1" name="obj" type="GstObject*" /> + <parameter name="data" type="guint8*" array="true" array_length_param_index="2" /> + <parameter name="size" type="gsize" array_index="1" /> + <parameter allow-none="1" name="extension" type="const-gchar*" /> + <parameter allow-none="1" name="prob" type="GstTypeFindProbability" owned="true" pass_as="out" /> + </parameters> + </method> <method name="TypeFindHelperForExtension" cname="gst_type_find_helper_for_extension" shared="true"> <return-type type="GstCaps*" owned="true"> <warning>missing glib:type-name</warning> @@ -18656,7 +19061,21 @@ <parameter allow-none="1" name="parent" type="GstObject*" /> <parameter scope="call" name="func" type="GstTypeFindHelperGetRangeFunction" /> <parameter name="size" type="guint64" /> - <parameter name="extension" type="const-gchar*" /> + <parameter allow-none="1" name="extension" type="const-gchar*" /> + <parameter allow-none="1" name="prob" type="GstTypeFindProbability" owned="true" pass_as="out" /> + </parameters> + </method> + <method name="TypeFindHelperGetRangeFull" cname="gst_type_find_helper_get_range_full" shared="true" version="1.14.3"> + <return-type type="GstFlowReturn" /> + <parameters> + <parameter name="obj" type="GstObject*" /> + <parameter allow-none="1" name="parent" type="GstObject*" /> + <parameter scope="call" name="func" type="GstTypeFindHelperGetRangeFunction" /> + <parameter name="size" type="guint64" /> + <parameter allow-none="1" name="extension" type="const-gchar*" /> + <parameter name="caps" type="GstCaps**" owned="true" pass_as="out"> + <warning>missing glib:type-name</warning> + </parameter> <parameter allow-none="1" name="prob" type="GstTypeFindProbability" owned="true" pass_as="out" /> </parameters> </method> @@ -19347,7 +19766,7 @@ </callback> <object name="AudioVisualizer" cname="GstAudioVisualizer" defaultconstructoraccess="protected" opaque="false" hidden="false" parent="GstElement"> <class_struct cname="GstAudioVisualizerClass"> - <field cname="parent_class" access="public" writeable="false" readable="true" is_callback="false" name="ParentClass" type="GstElementClass"> + <field cname="parent_class" access="private" writeable="false" readable="false" is_callback="false" name="ParentClass" type="GstElementClass"> <warning>missing glib:type-name</warning> </field> <method vm="setup" /> @@ -19435,6 +19854,7 @@ <parameters /> </method> <property name="Timeout" cname="timeout" type="guint64" readable="true" writeable="true" construct="true" construct-only="false" /> + <property name="UseCache" cname="use-cache" type="gboolean" readable="true" writeable="true" construct="true" construct-only="false" /> <field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GObject*" hidden="true" /> <field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GstDiscovererPrivate*"> <warning>missing glib:type-name</warning> @@ -19771,7 +20191,7 @@ <return-type type="GstEncodingProfile*" owned="true" /> <parameters> <parameter name="targetname" type="const-gchar*" /> - <parameter name="profilename" type="const-gchar*" /> + <parameter allow-none="1" name="profilename" type="const-gchar*" /> <parameter allow-none="1" name="category" type="const-gchar*" /> </parameters> </method> @@ -20492,9 +20912,9 @@ <constant value="online-service" ctype="gchar*" gtype="gchar*" name="ENCODING_CATEGORY_ONLINE_SERVICE" /> <constant value="storage-editing" ctype="gchar*" gtype="gchar*" name="ENCODING_CATEGORY_STORAGE_EDITING" /> <constant value="1" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MAJOR" /> - <constant value="0" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MICRO" /> + <constant value="1" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MICRO" /> <constant value="15" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MINOR" /> - <constant value="1" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_NANO" /> + <constant value="0" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_NANO" /> </object> </namespace> <namespace name="Gst.Rtp" library="libgstrtp-1.0-0.dll"> @@ -20536,6 +20956,16 @@ <member cname="GST_RTCP_TYPE_PSFB" name="Psfb" value="206" /> <member cname="GST_RTCP_TYPE_XR" name="Xr" value="207" /> </enum> + <enum name="RTCPXRType" cname="GstRTCPXRType" type="enum" gtype="gst_rtcpxr_type_get_type" version="1.16"> + <member cname="GST_RTCP_XR_TYPE_INVALID" name="Invalid" value="-1" /> + <member cname="GST_RTCP_XR_TYPE_LRLE" name="Lrle" value="1" /> + <member cname="GST_RTCP_XR_TYPE_DRLE" name="Drle" value="2" /> + <member cname="GST_RTCP_XR_TYPE_PRT" name="Prt" value="3" /> + <member cname="GST_RTCP_XR_TYPE_RRT" name="Rrt" value="4" /> + <member cname="GST_RTCP_XR_TYPE_DLRR" name="Dlrr" value="5" /> + <member cname="GST_RTCP_XR_TYPE_SSUMM" name="Ssumm" value="6" /> + <member cname="GST_RTCP_XR_TYPE_VOIP_METRICS" name="VoipMetrics" value="7" /> + </enum> <enum name="RTPPayload" cname="GstRTPPayload" type="enum" gtype="gst_rtp_payload_get_type"> <member cname="GST_RTP_PAYLOAD_PCMU" name="Pcmu" value="0" /> <member cname="GST_RTP_PAYLOAD_1016" name="_1016" value="1" /> @@ -20706,6 +21136,10 @@ </parameter> </parameters> </virtual_method> + <method name="IsSourceInfoEnabled" cname="gst_rtp_base_depayload_is_source_info_enabled" version="1.16"> + <return-type type="gboolean" /> + <parameters /> + </method> <method name="Push" cname="gst_rtp_base_depayload_push"> <return-type type="GstFlowReturn" /> <parameters> @@ -20722,6 +21156,13 @@ </parameter> </parameters> </method> + <method name="SetSourceInfoEnabled" cname="gst_rtp_base_depayload_set_source_info_enabled" version="1.16"> + <return-type type="void" /> + <parameters> + <parameter name="enable" type="gboolean" /> + </parameters> + </method> + <property name="SourceInfo" cname="source-info" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" version="1.16" /> <property name="Stats" cname="stats" type="GstStructure*" readable="true" writeable="false" construct="false" construct-only="false" /> <field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GstElement*" hidden="true" /> <field cname="sinkpad" access="public" writeable="false" readable="true" is_callback="false" name="Sinkpad" type="GstPad*" /> @@ -20804,6 +21245,24 @@ </parameter> </parameters> </virtual_method> + <method name="AllocateOutputBuffer" cname="gst_rtp_base_payload_allocate_output_buffer" version="1.16"> + <return-type type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="payload_len" type="guint" /> + <parameter name="pad_len" type="guint8" /> + <parameter name="csrc_count" type="guint8" /> + </parameters> + </method> + <method name="GetSourceCount" cname="gst_rtp_base_payload_get_source_count" version="1.16"> + <return-type type="guint" /> + <parameters> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="IsFilled" cname="gst_rtp_base_payload_is_filled"> <return-type type="gboolean" /> <parameters> @@ -20811,6 +21270,10 @@ <parameter name="duration" type="guint64" /> </parameters> </method> + <method name="IsSourceInfoEnabled" cname="gst_rtp_base_payload_is_source_info_enabled" version="1.16"> + <return-type type="gboolean" /> + <parameters /> + </method> <method name="Push" cname="gst_rtp_base_payload_push"> <return-type type="GstFlowReturn" /> <parameters> @@ -20836,6 +21299,12 @@ <parameter name="clock_rate" type="guint32" /> </parameters> </method> + <method name="SetSourceInfoEnabled" cname="gst_rtp_base_payload_set_source_info_enabled" version="1.16"> + <return-type type="void" /> + <parameters> + <parameter name="enable" type="gboolean" /> + </parameters> + </method> <property name="MaxPtime" cname="max-ptime" type="gint64" readable="true" writeable="true" construct="false" construct-only="false" /> <property name="MinPtime" cname="min-ptime" type="gint64" readable="true" writeable="true" construct="false" construct-only="false" /> <property name="Mtu" cname="mtu" type="guint" readable="true" writeable="true" construct="false" construct-only="false" /> @@ -20844,6 +21313,7 @@ <property name="PtimeMultiple" cname="ptime-multiple" type="gint64" readable="true" writeable="true" construct="false" construct-only="false" /> <property name="Seqnum" cname="seqnum" type="guint" readable="true" writeable="false" construct="false" construct-only="false" /> <property name="SeqnumOffset" cname="seqnum-offset" type="gint" readable="true" writeable="true" construct="false" construct-only="false" /> + <property name="SourceInfo" cname="source-info" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" version="1.16" /> <property name="Ssrc" cname="ssrc" type="guint" readable="true" writeable="true" construct="false" construct-only="false" /> <property name="Stats" cname="stats" type="GstStructure*" readable="true" writeable="false" construct="false" construct-only="false" /> <property name="Timestamp" cname="timestamp" type="guint" readable="true" writeable="false" construct="false" construct-only="false" /> @@ -21290,6 +21760,170 @@ <parameter name="octet_count" type="guint32" /> </parameters> </method> + <method name="XrFirstRb" cname="gst_rtcp_packet_xr_first_rb" version="1.16"> + <return-type type="gboolean" /> + <parameters /> + </method> + <method name="XrGetBlockLength" cname="gst_rtcp_packet_xr_get_block_length" version="1.16"> + <return-type type="guint16" /> + <parameters /> + </method> + <method name="XrGetBlockType" cname="gst_rtcp_packet_xr_get_block_type" version="1.16"> + <return-type type="GstRTCPXRType" /> + <parameters /> + </method> + <method name="XrGetDlrrBlock" cname="gst_rtcp_packet_xr_get_dlrr_block" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="nth" type="guint" /> + <parameter name="ssrc" type="guint32" /> + <parameter name="last_rr" type="guint32" /> + <parameter name="delay" type="guint32" /> + </parameters> + </method> + <method name="XrGetPrtBySeq" cname="gst_rtcp_packet_xr_get_prt_by_seq" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="seq" type="guint16" /> + <parameter name="receipt_time" type="guint32" /> + </parameters> + </method> + <method name="XrGetPrtInfo" cname="gst_rtcp_packet_xr_get_prt_info" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="ssrc" type="guint32" /> + <parameter name="thinning" type="guint8" /> + <parameter name="begin_seq" type="guint16" /> + <parameter name="end_seq" type="guint16" /> + </parameters> + </method> + <method name="XrGetRleInfo" cname="gst_rtcp_packet_xr_get_rle_info" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="ssrc" type="guint32" /> + <parameter name="thinning" type="guint8" /> + <parameter name="begin_seq" type="guint16" /> + <parameter name="end_seq" type="guint16" /> + <parameter name="chunk_count" type="guint32" /> + </parameters> + </method> + <method name="XrGetRleNthChunk" cname="gst_rtcp_packet_xr_get_rle_nth_chunk" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="nth" type="guint" /> + <parameter name="chunk" type="guint16" /> + </parameters> + </method> + <method name="XrGetRrt" cname="gst_rtcp_packet_xr_get_rrt" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="timestamp" type="guint64" /> + </parameters> + </method> + <method name="XrGetSsrc" cname="gst_rtcp_packet_xr_get_ssrc" version="1.16"> + <return-type type="guint32" /> + <parameters /> + </method> + <method name="XrGetSummaryInfo" cname="gst_rtcp_packet_xr_get_summary_info" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="ssrc" type="guint32" /> + <parameter name="begin_seq" type="guint16" /> + <parameter name="end_seq" type="guint16" /> + </parameters> + </method> + <method name="XrGetSummaryJitter" cname="gst_rtcp_packet_xr_get_summary_jitter" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="min_jitter" type="guint32" /> + <parameter name="max_jitter" type="guint32" /> + <parameter name="mean_jitter" type="guint32" /> + <parameter name="dev_jitter" type="guint32" /> + </parameters> + </method> + <method name="XrGetSummaryPkt" cname="gst_rtcp_packet_xr_get_summary_pkt" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="lost_packets" type="guint32" /> + <parameter name="dup_packets" type="guint32" /> + </parameters> + </method> + <method name="XrGetSummaryTtl" cname="gst_rtcp_packet_xr_get_summary_ttl" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="is_ipv4" type="gboolean" /> + <parameter name="min_ttl" type="guint8" /> + <parameter name="max_ttl" type="guint8" /> + <parameter name="mean_ttl" type="guint8" /> + <parameter name="dev_ttl" type="guint8" /> + </parameters> + </method> + <method name="XrGetVoipBurstMetrics" cname="gst_rtcp_packet_xr_get_voip_burst_metrics" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="burst_density" type="guint8" /> + <parameter name="gap_density" type="guint8" /> + <parameter name="burst_duration" type="guint16" /> + <parameter name="gap_duration" type="guint16" /> + </parameters> + </method> + <method name="XrGetVoipConfigurationParams" cname="gst_rtcp_packet_xr_get_voip_configuration_params" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="gmin" type="guint8" /> + <parameter name="rx_config" type="guint8" /> + </parameters> + </method> + <method name="XrGetVoipDelayMetrics" cname="gst_rtcp_packet_xr_get_voip_delay_metrics" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="roundtrip_delay" type="guint16" /> + <parameter name="end_system_delay" type="guint16" /> + </parameters> + </method> + <method name="XrGetVoipJitterBufferParams" cname="gst_rtcp_packet_xr_get_voip_jitter_buffer_params" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="jb_nominal" type="guint16" /> + <parameter name="jb_maximum" type="guint16" /> + <parameter name="jb_abs_max" type="guint16" /> + </parameters> + </method> + <method name="XrGetVoipMetricsSsrc" cname="gst_rtcp_packet_xr_get_voip_metrics_ssrc" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="ssrc" type="guint32" /> + </parameters> + </method> + <method name="XrGetVoipPacketMetrics" cname="gst_rtcp_packet_xr_get_voip_packet_metrics" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="loss_rate" type="guint8" /> + <parameter name="discard_rate" type="guint8" /> + </parameters> + </method> + <method name="XrGetVoipQualityMetrics" cname="gst_rtcp_packet_xr_get_voip_quality_metrics" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="r_factor" type="guint8" /> + <parameter name="ext_r_factor" type="guint8" /> + <parameter name="mos_lq" type="guint8" /> + <parameter name="mos_cq" type="guint8" /> + </parameters> + </method> + <method name="XrGetVoipSignalMetrics" cname="gst_rtcp_packet_xr_get_voip_signal_metrics" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="signal_level" type="guint8" /> + <parameter name="noise_level" type="guint8" /> + <parameter name="rerl" type="guint8" /> + <parameter name="gmin" type="guint8" /> + </parameters> + </method> + <method name="XrNextRb" cname="gst_rtcp_packet_xr_next_rb" version="1.16"> + <return-type type="gboolean" /> + <parameters /> + </method> </struct> <struct name="RTPBaseAudioPayloadPrivate" cname="GstRTPBaseAudioPayloadPrivate" opaque="true" hidden="true" /> <struct name="RTPBaseDepayloadPrivate" cname="GstRTPBaseDepayloadPrivate" opaque="true" hidden="true" /> @@ -21629,7 +22263,61 @@ </parameters> </method> </struct> + <struct name="RTPSourceMeta" cname="GstRTPSourceMeta" opaque="false" hidden="false" version="1.16"> + <field cname="meta" access="public" writeable="true" readable="true" is_callback="false" name="Meta" type="GstMeta"> + <warning>missing glib:type-name</warning> + </field> + <field cname="ssrc" access="public" writeable="true" readable="true" is_callback="false" name="Ssrc" type="guint32" /> + <field cname="ssrc_valid" access="public" writeable="true" readable="true" is_callback="false" name="SsrcValid" type="gboolean" /> + <field cname="csrc" access="public" writeable="true" readable="true" is_callback="false" name="Csrc" type="guint32" array="true" array_len="15" /> + <field cname="csrc_count" access="public" writeable="true" readable="true" is_callback="false" name="CsrcCount" type="guint" /> + <method name="AppendCsrc" cname="gst_rtp_source_meta_append_csrc" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="csrc" type="guint32" /> + <parameter name="csrc_count" type="guint" /> + </parameters> + </method> + <method name="GetSourceCount" cname="gst_rtp_source_meta_get_source_count" version="1.16"> + <return-type type="guint" /> + <parameters /> + </method> + <method name="SetSsrc" cname="gst_rtp_source_meta_set_ssrc" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter allow-none="1" name="ssrc" type="guint32" /> + </parameters> + </method> + <method name="GetInfo" cname="gst_rtp_source_meta_get_info" shared="true"> + <return-type type="GstMetaInfo*"> + <warning>missing glib:type-name</warning> + </return-type> + </method> + </struct> <object name="Global" cname="GstRtpGlobal" opaque="true"> + <method name="BufferAddRtpSourceMeta" cname="gst_buffer_add_rtp_source_meta" shared="true" version="1.16"> + <return-type type="GstRTPSourceMeta*"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter allow-none="1" name="ssrc" type="guint32" /> + <parameter allow-none="1" name="csrc" type="guint32" /> + <parameter name="csrc_count" type="guint" /> + </parameters> + </method> + <method name="BufferGetRtpSourceMeta" cname="gst_buffer_get_rtp_source_meta" shared="true" version="1.16"> + <return-type type="GstRTPSourceMeta*"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="RtcpBufferMap" cname="gst_rtcp_buffer_map" shared="true"> <return-type type="gboolean" /> <parameters> @@ -21874,6 +22562,14 @@ <parameter name="payload_type" type="guint8" /> </parameters> </method> + <method name="RtpSourceMetaApiGetType" cname="gst_rtp_source_meta_api_get_type" shared="true"> + <return-type type="GType" /> + </method> + <method name="RtpSourceMetaGetInfo" cname="gst_rtp_source_meta_get_info" shared="true"> + <return-type type="GstMetaInfo*"> + <warning>missing glib:type-name</warning> + </return-type> + </method> </object> <object name="Constants" cname="GstRtpConstants" opaque="true"> <constant value="31" ctype="gint" gtype="gint" name="RTCP_MAX_BYE_SSRC_COUNT" /> @@ -21924,6 +22620,7 @@ <constant value="19" ctype="gchar*" gtype="gchar*" name="RTP_PAYLOAD_TS41_STRING" /> <constant value="18" ctype="gint" gtype="gint" name="RTP_PAYLOAD_TS48" /> <constant value="18" ctype="gchar*" gtype="gchar*" name="RTP_PAYLOAD_TS48_STRING" /> + <constant value="15" ctype="gint" gtype="gint" name="RTP_SOURCE_META_MAX_CSRC_COUNT" /> <constant value="2" ctype="gint" gtype="gint" name="RTP_VERSION" /> </object> </namespace> @@ -22550,6 +23247,16 @@ </parameter> </parameters> </method> + <method name="SendMessages" cname="gst_rtsp_connection_send_messages" version="1.16"> + <return-type type="GstRTSPResult" /> + <parameters> + <parameter name="messages" type="GstRTSPMessage*" array="true" array_length_param_index="1" /> + <parameter name="n_messages" type="guint" /> + <parameter name="timeout" type="GTimeVal*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="SetAcceptCertificateFunc" cname="gst_rtsp_connection_set_accept_certificate_func" version="1.14"> <return-type type="void" /> <parameters> @@ -22695,7 +23402,10 @@ <field cname="hdr_fields" access="private" writeable="false" readable="false" is_callback="false" name="HdrFields" type="GArray*" array="true" null_term_array="true" /> <field cname="body" access="private" writeable="false" readable="false" is_callback="false" name="Body" type="guint8*" /> <field cname="body_size" access="private" writeable="false" readable="false" is_callback="false" name="BodySize" type="guint" /> - <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4" padding="true" /> + <field cname="body_buffer" access="private" writeable="false" readable="false" is_callback="false" name="BodyBuffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </field> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="3" padding="true" /> <method name="AddHeader" cname="gst_rtsp_message_add_header"> <return-type type="GstRTSPResult" /> <parameters> @@ -22741,6 +23451,14 @@ <parameter name="size" type="guint*" owned="true" pass_as="out" /> </parameters> </method> + <method name="GetBodyBuffer" cname="gst_rtsp_message_get_body_buffer" version="1.16"> + <return-type type="GstRTSPResult" /> + <parameters> + <parameter name="buffer" type="GstBuffer**" pass_as="out"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="GetHeader" cname="gst_rtsp_message_get_header"> <return-type type="GstRTSPResult" /> <parameters> @@ -22761,6 +23479,10 @@ <return-type type="GstRTSPMsgType" /> <parameters /> </method> + <method name="HasBodyBuffer" cname="gst_rtsp_message_has_body_buffer" version="1.16"> + <return-type type="gboolean" /> + <parameters /> + </method> <method name="Init" cname="gst_rtsp_message_init"> <return-type type="GstRTSPResult" /> <parameters /> @@ -22837,6 +23559,14 @@ <parameter name="size" type="guint" /> </parameters> </method> + <method name="SetBodyBuffer" cname="gst_rtsp_message_set_body_buffer" version="1.16"> + <return-type type="GstRTSPResult" /> + <parameters> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="StealBody" cname="gst_rtsp_message_steal_body" hidden="true"> <return-type type="GstRTSPResult" /> <parameters> @@ -22844,6 +23574,14 @@ <parameter name="size" type="guint*" owned="true" pass_as="out" /> </parameters> </method> + <method name="StealBodyBuffer" cname="gst_rtsp_message_steal_body_buffer" version="1.16"> + <return-type type="GstRTSPResult" /> + <parameters> + <parameter name="buffer" type="GstBuffer**" owned="true" pass_as="out"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="TakeBody" cname="gst_rtsp_message_take_body"> <return-type type="GstRTSPResult" /> <parameters> @@ -22851,6 +23589,14 @@ <parameter name="size" type="guint" /> </parameters> </method> + <method name="TakeBodyBuffer" cname="gst_rtsp_message_take_body_buffer" version="1.16"> + <return-type type="GstRTSPResult" /> + <parameters> + <parameter name="buffer" type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="TakeHeader" cname="gst_rtsp_message_take_header"> <return-type type="GstRTSPResult" /> <parameters> @@ -23100,6 +23846,14 @@ <parameter allow-none="1" name="id" type="guint*" owned="true" pass_as="out" /> </parameters> </method> + <method name="SendMessages" cname="gst_rtsp_watch_send_messages" version="1.16"> + <return-type type="GstRTSPResult" /> + <parameters> + <parameter name="messages" type="GstRTSPMessage*" array="true" array_length_param_index="1" /> + <parameter name="n_messages" type="guint" /> + <parameter allow-none="1" name="id" type="guint*" owned="true" pass_as="out" /> + </parameters> + </method> <method name="SetFlushing" cname="gst_rtsp_watch_set_flushing" version="1.4"> <return-type type="void" /> <parameters> @@ -23212,6 +23966,16 @@ <parameter name="nonce" type="const-gchar*" /> </parameters> </method> + <method name="RtspGenerateDigestAuthResponseFromMd5" cname="gst_rtsp_generate_digest_auth_response_from_md5" shared="true" version="1.16"> + <return-type type="gchar*" owned="true" /> + <parameters> + <parameter allow-none="1" name="algorithm" type="const-gchar*" /> + <parameter name="method" type="const-gchar*" /> + <parameter name="md5" type="const-gchar*" /> + <parameter name="uri" type="const-gchar*" /> + <parameter name="nonce" type="const-gchar*" /> + </parameters> + </method> <method name="RtspHeaderAllowMultiple" cname="gst_rtsp_header_allow_multiple" shared="true"> <return-type type="gboolean" /> <parameters> @@ -24701,6 +25465,15 @@ </parameter> </parameters> </method> + <method name="NewFromText" cname="gst_sdp_message_new_from_text" shared="true" version="1.16"> + <return-type type="GstSDPResult" /> + <parameters> + <parameter name="text" type="const-gchar*" /> + <parameter name="msg" type="GstSDPMessage**" owned="true" pass_as="out"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="ParseBuffer" cname="gst_sdp_message_parse_buffer" shared="true"> <return-type type="GstSDPResult" /> <parameters> @@ -24813,6 +25586,15 @@ </parameter> </parameters> </method> + <method name="SdpMessageNewFromText" cname="gst_sdp_message_new_from_text" shared="true" version="1.16"> + <return-type type="GstSDPResult" /> + <parameters> + <parameter name="text" type="const-gchar*" /> + <parameter name="msg" type="GstSDPMessage**" owned="true" pass_as="out"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="SdpMessageParseBuffer" cname="gst_sdp_message_parse_buffer" shared="true"> <return-type type="GstSDPResult" /> <parameters> @@ -25132,6 +25914,31 @@ <member cname="GST_VIDEO_ALPHA_MODE_SET" name="Set" value="1" /> <member cname="GST_VIDEO_ALPHA_MODE_MULT" name="Mult" value="2" /> </enum> + <enum name="VideoAncillaryDID" cname="GstVideoAncillaryDID" type="enum" gtype="gst_video_ancillary_did_get_type"> + <member cname="GST_VIDEO_ANCILLARY_DID_UNDEFINED" name="Undefined" value="0" /> + <member cname="GST_VIDEO_ANCILLARY_DID_DELETION" name="Deletion" value="128" /> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_3G_AUDIO_DATA_FIRST" name="Hanc3gAudioDataFirst" value="160" /> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_3G_AUDIO_DATA_LAST" name="Hanc3gAudioDataLast" value="167" /> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_HDTV_AUDIO_DATA_FIRST" name="HancHdtvAudioDataFirst" value="224" /> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_HDTV_AUDIO_DATA_LAST" name="HancHdtvAudioDataLast" value="231" /> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_SDTV_AUDIO_DATA_1_FIRST" name="HancSdtvAudioData1First" value="236" /> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_SDTV_AUDIO_DATA_1_LAST" name="HancSdtvAudioData1Last" value="239" /> + <member cname="GST_VIDEO_ANCILLARY_DID_CAMERA_POSITION" name="CameraPosition" value="240" /> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_ERROR_DETECTION" name="HancErrorDetection" value="244" /> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_SDTV_AUDIO_DATA_2_FIRST" name="HancSdtvAudioData2First" value="248" /> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_SDTV_AUDIO_DATA_2_LAST" name="HancSdtvAudioData2Last" value="255" /> + </enum> + <enum name="VideoAncillaryDID16" cname="GstVideoAncillaryDID16" type="enum" gtype="gst_video_ancillary_di_d16_get_type" version="1.16"> + <member cname="GST_VIDEO_ANCILLARY_DID16_S334_EIA_708" name="_708" value="24833" /> + <member cname="GST_VIDEO_ANCILLARY_DID16_S334_EIA_608" name="_608" value="24834" /> + </enum> + <enum name="VideoCaptionType" cname="GstVideoCaptionType" type="enum" gtype="gst_video_caption_type_get_type" version="1.16"> + <member cname="GST_VIDEO_CAPTION_TYPE_UNKNOWN" name="Unknown" value="0" /> + <member cname="GST_VIDEO_CAPTION_TYPE_CEA608_RAW" name="Cea608Raw" value="1" /> + <member cname="GST_VIDEO_CAPTION_TYPE_CEA608_S334_1A" name="Cea608S3341a" value="2" /> + <member cname="GST_VIDEO_CAPTION_TYPE_CEA708_RAW" name="Cea708Raw" value="3" /> + <member cname="GST_VIDEO_CAPTION_TYPE_CEA708_CDP" name="Cea708Cdp" value="4" /> + </enum> <enum name="VideoChromaMethod" cname="GstVideoChromaMethod" type="enum" gtype="gst_video_chroma_method_get_type"> <member cname="GST_VIDEO_CHROMA_METHOD_NEAREST" name="Nearest" value="0" /> <member cname="GST_VIDEO_CHROMA_METHOD_LINEAR" name="Linear" value="1" /> @@ -25261,6 +26068,9 @@ <member cname="GST_VIDEO_FORMAT_GRAY10_LE32" name="Gray10Le32" value="78" /> <member cname="GST_VIDEO_FORMAT_NV12_10LE32" name="Nv1210le32" value="79" /> <member cname="GST_VIDEO_FORMAT_NV16_10LE32" name="Nv1610le32" value="80" /> + <member cname="GST_VIDEO_FORMAT_NV12_10LE40" name="Nv1210le40" value="81" /> + <member cname="GST_VIDEO_FORMAT_Y210" name="Y210" value="82" /> + <member cname="GST_VIDEO_FORMAT_Y410" name="Y410" value="83" /> </enum> <enum name="VideoGLTextureOrientation" cname="GstVideoGLTextureOrientation" type="enum"> <member cname="GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL" name="NormalYNormal" value="0" /> @@ -25286,6 +26096,7 @@ <member cname="GST_VIDEO_INTERLACE_MODE_INTERLEAVED" name="Interleaved" value="1" /> <member cname="GST_VIDEO_INTERLACE_MODE_MIXED" name="Mixed" value="2" /> <member cname="GST_VIDEO_INTERLACE_MODE_FIELDS" name="Fields" value="3" /> + <member cname="GST_VIDEO_INTERLACE_MODE_ALTERNATE" name="Alternate" value="4" /> </enum> <enum name="VideoMatrixMode" cname="GstVideoMatrixMode" type="enum" gtype="gst_video_matrix_mode_get_type" version="1.6"> <member cname="GST_VIDEO_MATRIX_MODE_FULL" name="Full" value="0" /> @@ -25332,11 +26143,6 @@ <member cname="GST_VIDEO_ORIENTATION_AUTO" name="Auto" value="8" /> <member cname="GST_VIDEO_ORIENTATION_CUSTOM" name="Custom" value="9" /> </enum> - <enum name="VideoOverlayFormatFlags" cname="GstVideoOverlayFormatFlags" type="enum"> - <member cname="GST_VIDEO_OVERLAY_FORMAT_FLAG_NONE" name="None" value="0" /> - <member cname="GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA" name="PremultipliedAlpha" value="1" /> - <member cname="GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA" name="GlobalAlpha" value="2" /> - </enum> <enum name="VideoPrimariesMode" cname="GstVideoPrimariesMode" type="enum" gtype="gst_video_primaries_mode_get_type" version="1.6"> <member cname="GST_VIDEO_PRIMARIES_MODE_NONE" name="None" value="0" /> <member cname="GST_VIDEO_PRIMARIES_MODE_MERGE_ONLY" name="MergeOnly" value="1" /> @@ -25371,11 +26177,18 @@ <member cname="GST_VIDEO_TRANSFER_BT2020_12" name="Bt202012" value="11" /> <member cname="GST_VIDEO_TRANSFER_ADOBERGB" name="Adobergb" value="12" /> </enum> + <enum name="VideoVBIParserResult" cname="GstVideoVBIParserResult" type="enum" gtype="gst_video_vbi_parser_result_get_type" version="1.16"> + <member cname="GST_VIDEO_VBI_PARSER_RESULT_DONE" name="Done" value="0" /> + <member cname="GST_VIDEO_VBI_PARSER_RESULT_OK" name="Ok" value="1" /> + <member cname="GST_VIDEO_VBI_PARSER_RESULT_ERROR" name="Error" value="2" /> + </enum> <enum name="VideoBufferFlags" cname="GstVideoBufferFlags" type="flags" gtype="gst_video_buffer_flags_get_type"> <member cname="GST_VIDEO_BUFFER_FLAG_INTERLACED" name="Interlaced" value="1048576" /> <member cname="GST_VIDEO_BUFFER_FLAG_TFF" name="Tff" value="2097152" /> <member cname="GST_VIDEO_BUFFER_FLAG_RFF" name="Rff" value="4194304" /> <member cname="GST_VIDEO_BUFFER_FLAG_ONEFIELD" name="Onefield" value="8388608" /> + <member cname="GST_VIDEO_BUFFER_FLAG_BOTTOM_FIELD" name="BottomField" value="8388608" /> + <member cname="GST_VIDEO_BUFFER_FLAG_TOP_FIELD" name="TopField" value="10485760" /> <member cname="GST_VIDEO_BUFFER_FLAG_MULTIPLE_VIEW" name="MultipleView" value="16777216" /> <member cname="GST_VIDEO_BUFFER_FLAG_FIRST_IN_BUNDLE" name="FirstInBundle" value="33554432" /> <member cname="GST_VIDEO_BUFFER_FLAG_LAST" name="Last" value="268435456" /> @@ -25428,6 +26241,8 @@ <member cname="GST_VIDEO_FRAME_FLAG_TFF" name="Tff" value="2" /> <member cname="GST_VIDEO_FRAME_FLAG_RFF" name="Rff" value="4" /> <member cname="GST_VIDEO_FRAME_FLAG_ONEFIELD" name="Onefield" value="8" /> + <member cname="GST_VIDEO_FRAME_FLAG_BOTTOM_FIELD" name="BottomField" value="8" /> + <member cname="GST_VIDEO_FRAME_FLAG_TOP_FIELD" name="TopField" value="10" /> <member cname="GST_VIDEO_FRAME_FLAG_MULTIPLE_VIEW" name="MultipleView" value="16" /> <member cname="GST_VIDEO_FRAME_FLAG_FIRST_IN_BUNDLE" name="FirstInBundle" value="32" /> </enum> @@ -25445,6 +26260,11 @@ <member cname="GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT" name="HalfAspect" value="16384" /> <member cname="GST_VIDEO_MULTIVIEW_FLAGS_MIXED_MONO" name="MixedMono" value="32768" /> </enum> + <enum name="VideoOverlayFormatFlags" cname="GstVideoOverlayFormatFlags" type="flags" gtype="gst_video_overlay_format_flags_get_type"> + <member cname="GST_VIDEO_OVERLAY_FORMAT_FLAG_NONE" name="None" value="0" /> + <member cname="GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA" name="PremultipliedAlpha" value="1" /> + <member cname="GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA" name="GlobalAlpha" value="2" /> + </enum> <enum name="VideoPackFlags" cname="GstVideoPackFlags" type="flags" gtype="gst_video_pack_flags_get_type"> <member cname="GST_VIDEO_PACK_FLAG_NONE" name="None" value="0" /> <member cname="GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE" name="TruncateRange" value="1" /> @@ -26078,6 +26898,169 @@ </parameters> </signal> </object> + <object name="VideoAggregator" cname="GstVideoAggregator" defaultconstructoraccess="protected" opaque="false" hidden="false" parent="GstAggregator"> + <class_struct cname="GstVideoAggregatorClass"> + <field cname="parent_class" access="private" writeable="false" readable="false" is_callback="false" name="ParentClass" type="GstAggregatorClass"> + <warning>missing glib:type-name</warning> + </field> + <method vm="update_caps" /> + <method vm="aggregate_frames" /> + <method vm="create_output_buffer" /> + <method vm="find_best_format" /> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="20" padding="true" /> + </class_struct> + <method name="GetType" cname="gst_video_aggregator_get_type" shared="true"> + <return-type type="GType" /> + </method> + <virtual_method name="AggregateFrames" cname="aggregate_frames"> + <return-type type="GstFlowReturn" /> + <parameters> + <parameter name="outbuffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </virtual_method> + <virtual_method name="CreateOutputBuffer" cname="create_output_buffer"> + <return-type type="GstFlowReturn" /> + <parameters> + <parameter name="outbuffer" type="GstBuffer**"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </virtual_method> + <virtual_method name="FindBestFormat" cname="find_best_format"> + <return-type type="void" /> + <parameters> + <parameter name="downstream_caps" type="GstCaps*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="best_info" type="GstVideoInfo*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="at_least_one_alpha" type="gboolean" /> + </parameters> + </virtual_method> + <virtual_method name="UpdateCaps" cname="update_caps"> + <return-type type="GstCaps*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="caps" type="GstCaps*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </virtual_method> + <field cname="aggregator" access="public" writeable="false" readable="true" is_callback="false" name="Aggregator" type="GstAggregator*" /> + <field cname="info" access="public" writeable="false" readable="true" is_callback="false" name="Info" type="GstVideoInfo"> + <warning>missing glib:type-name</warning> + </field> + <field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GstVideoAggregatorPrivate*"> + <warning>missing glib:type-name</warning> + </field> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="20" padding="true" /> + </object> + <object name="VideoAggregatorConvertPad" cname="GstVideoAggregatorConvertPad" opaque="false" hidden="false" parent="GstVideoAggregatorPad"> + <class_struct cname="GstVideoAggregatorConvertPadClass"> + <field cname="parent_class" access="public" writeable="false" readable="true" is_callback="false" name="ParentClass" type="GstVideoAggregatorPadClass"> + <warning>missing glib:type-name</warning> + </field> + <method vm="create_conversion_info" /> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4" padding="true" /> + </class_struct> + <method name="GetType" cname="gst_video_aggregator_convert_pad_get_type" shared="true"> + <return-type type="GType" /> + </method> + <virtual_method name="CreateConversionInfo" cname="create_conversion_info"> + <return-type type="void" /> + <parameters> + <parameter name="agg" type="GstVideoAggregator*" /> + <parameter name="conversion_info" type="GstVideoInfo*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </virtual_method> + <method name="UpdateConversionInfo" cname="gst_video_aggregator_convert_pad_update_conversion_info"> + <return-type type="void" /> + <parameters /> + </method> + <property name="ConverterConfig" cname="converter-config" type="GstStructure*" readable="true" writeable="true" construct="false" construct-only="false" /> + <field cname="parent" access="private" writeable="false" readable="false" is_callback="false" name="Parent" type="GstVideoAggregatorPad*" hidden="true" /> + <field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GstVideoAggregatorConvertPadPrivate*"> + <warning>missing glib:type-name</warning> + </field> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4" padding="true" /> + </object> + <object name="VideoAggregatorPad" cname="GstVideoAggregatorPad" opaque="false" hidden="false" parent="GstAggregatorPad"> + <class_struct cname="GstVideoAggregatorPadClass"> + <field cname="parent_class" access="public" writeable="false" readable="true" is_callback="false" name="ParentClass" type="GstAggregatorPadClass"> + <warning>missing glib:type-name</warning> + </field> + <method vm="update_conversion_info" /> + <method vm="prepare_frame" /> + <method vm="clean_frame" /> + <field cname="_gst_reserved" access="public" writeable="false" readable="true" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="20" padding="true" /> + </class_struct> + <method name="GetType" cname="gst_video_aggregator_pad_get_type" shared="true"> + <return-type type="GType" /> + </method> + <virtual_method name="CleanFrame" cname="clean_frame"> + <return-type type="void" /> + <parameters> + <parameter name="videoaggregator" type="GstVideoAggregator*" /> + <parameter name="prepared_frame" type="GstVideoFrame*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </virtual_method> + <virtual_method name="PrepareFrame" cname="prepare_frame"> + <return-type type="gboolean" /> + <parameters> + <parameter name="videoaggregator" type="GstVideoAggregator*" /> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="prepared_frame" type="GstVideoFrame*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </virtual_method> + <virtual_method name="UpdateConversionInfo" cname="update_conversion_info"> + <return-type type="void" /> + <parameters /> + </virtual_method> + <method name="GetCurrentBuffer" cname="gst_video_aggregator_pad_get_current_buffer"> + <return-type type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters /> + </method> + <method name="GetPreparedFrame" cname="gst_video_aggregator_pad_get_prepared_frame"> + <return-type type="GstVideoFrame*"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters /> + </method> + <method name="HasCurrentBuffer" cname="gst_video_aggregator_pad_has_current_buffer"> + <return-type type="gboolean" /> + <parameters /> + </method> + <method name="SetNeedsAlpha" cname="gst_video_aggregator_pad_set_needs_alpha"> + <return-type type="void" /> + <parameters> + <parameter name="needs_alpha" type="gboolean" /> + </parameters> + </method> + <property name="RepeatAfterEos" cname="repeat-after-eos" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" /> + <property name="Zorder" cname="zorder" type="guint" readable="true" writeable="true" construct="false" construct-only="false" /> + <field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GstAggregatorPad*" hidden="true" /> + <field cname="info" access="public" writeable="false" readable="true" is_callback="false" name="Info" type="GstVideoInfo"> + <warning>missing glib:type-name</warning> + </field> + <field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GstVideoAggregatorPadPrivate*"> + <warning>missing glib:type-name</warning> + </field> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4" padding="true" /> + </object> <object name="VideoBufferPool" cname="GstVideoBufferPool" opaque="false" hidden="false" parent="GstBufferPool"> <class_struct cname="GstVideoBufferPoolClass"> <field cname="parent_class" access="public" writeable="false" readable="true" is_callback="false" name="ParentClass" type="GstBufferPoolClass"> @@ -26425,6 +27408,20 @@ <parameter name="enabled" type="gboolean" /> </parameters> </method> + <method name="SetInterlacedOutputState" cname="gst_video_decoder_set_interlaced_output_state" version="1.16."> + <return-type type="GstVideoCodecState*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="fmt" type="GstVideoFormat" /> + <parameter name="mode" type="GstVideoInterlaceMode" /> + <parameter name="width" type="guint" /> + <parameter name="height" type="guint" /> + <parameter allow-none="1" name="reference" type="GstVideoCodecState*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="SetLatency" cname="gst_video_decoder_set_latency"> <return-type type="void" /> <parameters> @@ -26932,6 +27929,9 @@ </return-type> </method> </struct> + <struct name="VideoAggregatorConvertPadPrivate" cname="GstVideoAggregatorConvertPadPrivate" opaque="true" hidden="true" /> + <struct name="VideoAggregatorPadPrivate" cname="GstVideoAggregatorPadPrivate" opaque="true" hidden="true" /> + <struct name="VideoAggregatorPrivate" cname="GstVideoAggregatorPrivate" opaque="true" hidden="true" /> <struct name="VideoAlignment" cname="GstVideoAlignment" opaque="false" hidden="false"> <field cname="padding_top" access="public" writeable="true" readable="true" is_callback="false" name="PaddingTop" type="guint" /> <field cname="padding_bottom" access="public" writeable="true" readable="true" is_callback="false" name="PaddingBottom" type="guint" /> @@ -26943,7 +27943,27 @@ <parameters /> </method> </struct> + <struct name="VideoAncillary" cname="GstVideoAncillary" opaque="false" hidden="false" version="1.16"> + <field cname="DID" access="public" writeable="true" readable="true" is_callback="false" name="DID" type="guint8" /> + <field cname="SDID_block_number" access="public" writeable="true" readable="true" is_callback="false" name="SDIDBlockNumber" type="guint8" /> + <field cname="data_count" access="public" writeable="true" readable="true" is_callback="false" name="DataCount" type="guint8" /> + <field cname="data" access="public" writeable="true" readable="true" is_callback="false" name="Data" type="guint8" array="true" array_length_param_index="2" /> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4" padding="true" /> + </struct> <struct name="VideoBufferPoolPrivate" cname="GstVideoBufferPoolPrivate" opaque="true" hidden="true" /> + <struct name="VideoCaptionMeta" cname="GstVideoCaptionMeta" opaque="false" hidden="false" version="1.16"> + <field cname="meta" access="public" writeable="true" readable="true" is_callback="false" name="Meta" type="GstMeta"> + <warning>missing glib:type-name</warning> + </field> + <field cname="caption_type" access="public" writeable="true" readable="true" is_callback="false" name="CaptionType" type="GstVideoCaptionType" /> + <field cname="data" access="public" writeable="true" readable="true" is_callback="false" name="Data" type="guint8*" array="true" array_length_param_index="3" /> + <field cname="size" access="public" writeable="true" readable="true" is_callback="false" name="Size" type="gsize" /> + <method name="GetInfo" cname="gst_video_caption_meta_get_info" shared="true"> + <return-type type="GstMetaInfo*"> + <warning>missing glib:type-name</warning> + </return-type> + </method> + </struct> <struct name="VideoChromaResample" cname="GstVideoChromaResample" opaque="true" hidden="false"> <method name="" cname="gst_video_chroma_resample"> <return-type type="void" /> @@ -26971,8 +27991,8 @@ <field cname="ref_count" access="private" writeable="false" readable="false" is_callback="false" name="RefCount" type="gint" /> <field cname="flags" access="private" writeable="false" readable="false" is_callback="false" name="Flags" type="guint32" /> <field cname="system_frame_number" access="public" writeable="true" readable="true" is_callback="false" name="SystemFrameNumber" type="guint32" /> - <field cname="decode_frame_number" access="public" writeable="true" readable="true" is_callback="false" name="DecodeFrameNumber" type="guint32" /> - <field cname="presentation_frame_number" access="public" writeable="true" readable="true" is_callback="false" name="PresentationFrameNumber" type="guint32" /> + <field cname="decode_frame_number" access="private" writeable="false" readable="false" is_callback="false" name="DecodeFrameNumber" type="guint32" /> + <field cname="presentation_frame_number" access="private" writeable="false" readable="false" is_callback="false" name="PresentationFrameNumber" type="guint32" /> <field cname="dts" access="public" writeable="true" readable="true" is_callback="false" name="Dts" type="guint64" /> <field cname="pts" access="public" writeable="true" readable="true" is_callback="false" name="Pts" type="guint64" /> <field cname="duration" access="public" writeable="true" readable="true" is_callback="false" name="Duration" type="guint64" /> @@ -27345,6 +28365,15 @@ <parameter name="height" type="guint" /> </parameters> </method> + <method name="SetInterlacedFormat" cname="gst_video_info_set_interlaced_format" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="format" type="GstVideoFormat" /> + <parameter name="mode" type="GstVideoInterlaceMode" /> + <parameter name="width" type="guint" /> + <parameter name="height" type="guint" /> + </parameters> + </method> <method name="ToCaps" cname="gst_video_info_to_caps"> <return-type type="GstCaps*" owned="true"> <warning>missing glib:type-name</warning> @@ -27476,7 +28505,6 @@ </return-type> </method> </struct> - <struct name="VideoOverlayProperties" cname="GstVideoOverlayProperties" opaque="true" hidden="false" /> <boxed name="VideoOverlayRectangle" cname="GstVideoOverlayRectangle" opaque="true" hidden="false"> <method name="GetType" cname="gst_video_overlay_rectangle_get_type" shared="true"> <return-type type="GType" /> @@ -27749,6 +28777,17 @@ <parameter name="field_count" type="guint" /> </parameters> </constructor> + <constructor cname="gst_video_time_code_new_from_date_time_full" version="1.16"> + <parameters> + <parameter name="fps_n" type="guint" /> + <parameter name="fps_d" type="guint" /> + <parameter name="dt" type="GDateTime*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="flags" type="GstVideoTimeCodeFlags" /> + <parameter name="field_count" type="guint" /> + </parameters> + </constructor> <constructor cname="gst_video_time_code_new_from_string" version="1.12"> <parameters> <parameter name="tc_str" type="const-gchar*" /> @@ -27828,6 +28867,18 @@ <parameter name="field_count" type="guint" /> </parameters> </method> + <method name="InitFromDateTimeFull" cname="gst_video_time_code_init_from_date_time_full" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="fps_n" type="guint" /> + <parameter name="fps_d" type="guint" /> + <parameter name="dt" type="GDateTime*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="flags" type="GstVideoTimeCodeFlags" /> + <parameter name="field_count" type="guint" /> + </parameters> + </method> <method name="IsValid" cname="gst_video_time_code_is_valid" version="1.10"> <return-type type="gboolean" /> <parameters /> @@ -27913,6 +28964,78 @@ </return-type> </method> </struct> + <boxed name="VideoVBIEncoder" cname="GstVideoVBIEncoder" opaque="false" hidden="false" version="1.16"> + <method name="GetType" cname="gst_video_vbi_encoder_get_type" shared="true"> + <return-type type="GType" /> + </method> + <constructor cname="gst_video_vbi_encoder_new" version="1.16"> + <parameters> + <parameter name="format" type="GstVideoFormat" /> + <parameter name="pixel_width" type="guint32" /> + </parameters> + </constructor> + <method name="AddAncillary" cname="gst_video_vbi_encoder_add_ancillary" version="1.16"> + <return-type type="gboolean" /> + <parameters> + <parameter name="composite" type="gboolean" /> + <parameter name="DID" type="guint8" /> + <parameter name="SDID_block_number" type="guint8" /> + <parameter name="data" type="guint8*" array="true" array_length_param_index="4" /> + <parameter name="data_count" type="guint" array_index="3" /> + </parameters> + </method> + <method name="Copy" cname="gst_video_vbi_encoder_copy"> + <return-type type="GstVideoVBIEncoder*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters /> + </method> + <method name="Free" cname="gst_video_vbi_encoder_free" version="1.16"> + <return-type type="void" /> + <parameters /> + </method> + <method name="WriteLine" cname="gst_video_vbi_encoder_write_line"> + <return-type type="void" /> + <parameters> + <parameter name="data" type="guint8" /> + </parameters> + </method> + </boxed> + <boxed name="VideoVBIParser" cname="GstVideoVBIParser" opaque="false" hidden="false" version="1.16"> + <method name="GetType" cname="gst_video_vbi_parser_get_type" shared="true"> + <return-type type="GType" /> + </method> + <constructor cname="gst_video_vbi_parser_new" version="1.16"> + <parameters> + <parameter name="format" type="GstVideoFormat" /> + <parameter name="pixel_width" type="guint32" /> + </parameters> + </constructor> + <method name="AddLine" cname="gst_video_vbi_parser_add_line" version="1.16"> + <return-type type="void" /> + <parameters> + <parameter name="data" type="guint8*" array="true" /> + </parameters> + </method> + <method name="Copy" cname="gst_video_vbi_parser_copy"> + <return-type type="GstVideoVBIParser*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters /> + </method> + <method name="Free" cname="gst_video_vbi_parser_free" version="1.16"> + <return-type type="void" /> + <parameters /> + </method> + <method name="GetAncillary" cname="gst_video_vbi_parser_get_ancillary" version="1.16"> + <return-type type="GstVideoVBIParserResult" /> + <parameters> + <parameter name="anc" type="GstVideoAncillary*" pass_as="out"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> + </boxed> <object name="Global" cname="GstVideoGlobal" opaque="true"> <method name="BufferAddVideoAffineTransformationMeta" cname="gst_buffer_add_video_affine_transformation_meta" shared="true" version="1.8"> <return-type type="GstVideoAffineTransformationMeta*"> @@ -27924,6 +29047,19 @@ </parameter> </parameters> </method> + <method name="BufferAddVideoCaptionMeta" cname="gst_buffer_add_video_caption_meta" shared="true" version="1.16"> + <return-type type="GstVideoCaptionMeta*"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="caption_type" type="GstVideoCaptionType" /> + <parameter name="data" type="guint8*" array="true" array_length_param_index="3" /> + <parameter name="size" type="gsize" array_index="2" /> + </parameters> + </method> <method name="BufferAddVideoGlTextureUploadMeta" cname="gst_buffer_add_video_gl_texture_upload_meta" shared="true"> <return-type type="GstVideoGLTextureUploadMeta*"> <warning>missing glib:type-name</warning> @@ -27955,23 +29091,6 @@ <parameter name="height" type="guint" /> </parameters> </method> - <method name="BufferAddVideoMetaFull" cname="gst_buffer_add_video_meta_full" shared="true"> - <return-type type="GstVideoMeta*"> - <warning>missing glib:type-name</warning> - </return-type> - <parameters> - <parameter name="buffer" type="GstBuffer*"> - <warning>missing glib:type-name</warning> - </parameter> - <parameter name="flags" type="GstVideoFrameFlags" /> - <parameter name="format" type="GstVideoFormat" /> - <parameter name="width" type="guint" /> - <parameter name="height" type="guint" /> - <parameter name="n_planes" type="guint" /> - <parameter name="offset" type="gsize" /> - <parameter name="stride" type="gint" /> - </parameters> - </method> <method name="BufferAddVideoOverlayCompositionMeta" cname="gst_buffer_add_video_overlay_composition_meta" shared="true"> <return-type type="GstVideoOverlayCompositionMeta*"> <warning>missing glib:type-name</warning> @@ -28355,6 +29474,30 @@ <parameter name="display_par_d" type="guint" /> </parameters> </method> + <method name="VideoCaptionMetaApiGetType" cname="gst_video_caption_meta_api_get_type" shared="true"> + <return-type type="GType" /> + </method> + <method name="VideoCaptionMetaGetInfo" cname="gst_video_caption_meta_get_info" shared="true"> + <return-type type="GstMetaInfo*"> + <warning>missing glib:type-name</warning> + </return-type> + </method> + <method name="VideoCaptionTypeFromCaps" cname="gst_video_caption_type_from_caps" shared="true" version="1.16"> + <return-type type="GstVideoCaptionType" /> + <parameters> + <parameter name="caps" type="GstCaps*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> + <method name="VideoCaptionTypeToCaps" cname="gst_video_caption_type_to_caps" shared="true" version="1.16"> + <return-type type="GstCaps*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="type" type="GstVideoCaptionType" /> + </parameters> + </method> <method name="VideoChromaFromString" cname="gst_video_chroma_from_string" shared="true"> <return-type type="GstVideoChromaSite" /> <parameters> @@ -28400,8 +29543,8 @@ <parameter name="info" type="GstVideoFormatInfo*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="offset" type="gint*" owned="true" pass_as="out" array="true" array_len="4" /> - <parameter name="scale" type="gint*" owned="true" pass_as="out" array="true" array_len="4" /> + <parameter name="offset" type="gint" pass_as="out" array="true" array_len="4" /> + <parameter name="scale" type="gint" pass_as="out" array="true" array_len="4" /> </parameters> </method> <method name="VideoColorTransferDecode" cname="gst_video_color_transfer_decode" shared="true" version="1.6"> @@ -28746,6 +29889,7 @@ <constant value="GstBufferPoolOptionVideoAlignment" ctype="gchar*" gtype="gchar*" name="BUFFER_POOL_OPTION_VIDEO_ALIGNMENT" /> <constant value="GstBufferPoolOptionVideoGLTextureUploadMeta" ctype="gchar*" gtype="gchar*" name="BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META" version="1.2.2" /> <constant value="GstBufferPoolOptionVideoMeta" ctype="gchar*" gtype="gchar*" name="BUFFER_POOL_OPTION_VIDEO_META" /> + <constant value="format:Interlaced" ctype="gchar*" gtype="gchar*" name="CAPS_FEATURE_FORMAT_INTERLACED" version="1.16." /> <constant value="meta:GstVideoAffineTransformation" ctype="gchar*" gtype="gchar*" name="CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META" /> <constant value="meta:GstVideoGLTextureUploadMeta" ctype="gchar*" gtype="gchar*" name="CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META" /> <constant value="meta:GstVideoMeta" ctype="gchar*" gtype="gchar*" name="CAPS_FEATURE_META_GST_VIDEO_META" /> @@ -28795,7 +29939,7 @@ <constant value="src" ctype="gchar*" gtype="gchar*" name="VIDEO_DECODER_SRC_NAME" /> <constant value="sink" ctype="gchar*" gtype="gchar*" name="VIDEO_ENCODER_SINK_NAME" /> <constant value="src" ctype="gchar*" gtype="gchar*" name="VIDEO_ENCODER_SRC_NAME" /> - <constant value="{ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32 }" ctype="gchar*" gtype="gchar*" name="VIDEO_FORMATS_ALL" /> + <constant value="{ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40 }" ctype="gchar*" gtype="gchar*" name="VIDEO_FORMATS_ALL" /> <constant value="(fraction) [ 0, max ]" ctype="gchar*" gtype="gchar*" name="VIDEO_FPS_RANGE" /> <constant value="4" ctype="gint" gtype="gint" name="VIDEO_MAX_COMPONENTS" /> <constant value="4" ctype="gint" gtype="gint" name="VIDEO_MAX_PLANES" /> @@ -28815,6 +29959,12 @@ </object> </namespace> <namespace name="Gst.WebRTC" library="libgstwebrtc-1.0-0.dll"> + <enum name="WebRTCBundlePolicy" cname="GstWebRTCBundlePolicy" type="enum" gtype="gst_webrtc_bundle_policy_get_type"> + <member cname="GST_WEBRTC_BUNDLE_POLICY_NONE" name="None" value="0" /> + <member cname="GST_WEBRTC_BUNDLE_POLICY_BALANCED" name="Balanced" value="1" /> + <member cname="GST_WEBRTC_BUNDLE_POLICY_MAX_COMPAT" name="MaxCompat" value="2" /> + <member cname="GST_WEBRTC_BUNDLE_POLICY_MAX_BUNDLE" name="MaxBundle" value="3" /> + </enum> <enum name="WebRTCDTLSSetup" cname="GstWebRTCDTLSSetup" type="enum" gtype="gst_webrtc_dtls_setup_get_type"> <member cname="GST_WEBRTC_DTLS_SETUP_NONE" name="None" value="0" /> <member cname="GST_WEBRTC_DTLS_SETUP_ACTPASS" name="Actpass" value="1" /> @@ -28828,6 +29978,17 @@ <member cname="GST_WEBRTC_DTLS_TRANSPORT_STATE_CONNECTING" name="Connecting" value="3" /> <member cname="GST_WEBRTC_DTLS_TRANSPORT_STATE_CONNECTED" name="Connected" value="4" /> </enum> + <enum name="WebRTCDataChannelState" cname="GstWebRTCDataChannelState" type="enum" gtype="gst_webrtc_data_channel_state_get_type"> + <member cname="GST_WEBRTC_DATA_CHANNEL_STATE_NEW" name="New" value="0" /> + <member cname="GST_WEBRTC_DATA_CHANNEL_STATE_CONNECTING" name="Connecting" value="1" /> + <member cname="GST_WEBRTC_DATA_CHANNEL_STATE_OPEN" name="Open" value="2" /> + <member cname="GST_WEBRTC_DATA_CHANNEL_STATE_CLOSING" name="Closing" value="3" /> + <member cname="GST_WEBRTC_DATA_CHANNEL_STATE_CLOSED" name="Closed" value="4" /> + </enum> + <enum name="WebRTCFECType" cname="GstWebRTCFECType" type="enum" gtype="gst_webrtc_fec_type_get_type"> + <member cname="GST_WEBRTC_FEC_TYPE_NONE" name="None" value="0" /> + <member cname="GST_WEBRTC_FEC_TYPE_ULP_RED" name="UlpRed" value="1" /> + </enum> <enum name="WebRTCICEComponent" cname="GstWebRTCICEComponent" type="enum" gtype="gst_webrtc_ice_component_get_type"> <member cname="GST_WEBRTC_ICE_COMPONENT_RTP" name="Rtp" value="0" /> <member cname="GST_WEBRTC_ICE_COMPONENT_RTCP" name="Rtcp" value="1" /> @@ -28850,6 +30011,10 @@ <member cname="GST_WEBRTC_ICE_ROLE_CONTROLLED" name="Controlled" value="0" /> <member cname="GST_WEBRTC_ICE_ROLE_CONTROLLING" name="Controlling" value="1" /> </enum> + <enum name="WebRTCICETransportPolicy" cname="GstWebRTCICETransportPolicy" type="enum" gtype="gst_webrtc_ice_transport_policy_get_type"> + <member cname="GST_WEBRTC_ICE_TRANSPORT_POLICY_ALL" name="All" value="0" /> + <member cname="GST_WEBRTC_ICE_TRANSPORT_POLICY_RELAY" name="Relay" value="1" /> + </enum> <enum name="WebRTCPeerConnectionState" cname="GstWebRTCPeerConnectionState" type="enum" gtype="gst_webrtc_peer_connection_state_get_type"> <member cname="GST_WEBRTC_PEER_CONNECTION_STATE_NEW" name="New" value="0" /> <member cname="GST_WEBRTC_PEER_CONNECTION_STATE_CONNECTING" name="Connecting" value="1" /> @@ -28858,6 +30023,12 @@ <member cname="GST_WEBRTC_PEER_CONNECTION_STATE_FAILED" name="Failed" value="4" /> <member cname="GST_WEBRTC_PEER_CONNECTION_STATE_CLOSED" name="Closed" value="5" /> </enum> + <enum name="WebRTCPriorityType" cname="GstWebRTCPriorityType" type="enum" gtype="gst_webrtc_priority_type_get_type"> + <member cname="GST_WEBRTC_PRIORITY_TYPE_VERY_LOW" name="VeryLow" value="1" /> + <member cname="GST_WEBRTC_PRIORITY_TYPE_LOW" name="Low" value="2" /> + <member cname="GST_WEBRTC_PRIORITY_TYPE_MEDIUM" name="Medium" value="3" /> + <member cname="GST_WEBRTC_PRIORITY_TYPE_HIGH" name="High" value="4" /> + </enum> <enum name="WebRTCRTPTransceiverDirection" cname="GstWebRTCRTPTransceiverDirection" type="enum" gtype="gst_webrtc_rtp_transceiver_direction_get_type"> <member cname="GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_NONE" name="None" value="0" /> <member cname="GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_INACTIVE" name="Inactive" value="1" /> @@ -28865,6 +30036,12 @@ <member cname="GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_RECVONLY" name="Recvonly" value="3" /> <member cname="GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_SENDRECV" name="Sendrecv" value="4" /> </enum> + <enum name="WebRTCSCTPTransportState" cname="GstWebRTCSCTPTransportState" type="enum" gtype="gst_webrtc_sctp_transport_state_get_type"> + <member cname="GST_WEBRTC_SCTP_TRANSPORT_STATE_NEW" name="New" value="0" /> + <member cname="GST_WEBRTC_SCTP_TRANSPORT_STATE_CONNECTING" name="Connecting" value="1" /> + <member cname="GST_WEBRTC_SCTP_TRANSPORT_STATE_CONNECTED" name="Connected" value="2" /> + <member cname="GST_WEBRTC_SCTP_TRANSPORT_STATE_CLOSED" name="Closed" value="3" /> + </enum> <enum name="WebRTCSDPType" cname="GstWebRTCSDPType" type="enum" gtype="gst_webrtc_sdp_type_get_type"> <member cname="GST_WEBRTC_SDP_TYPE_OFFER" name="Offer" value="1" /> <member cname="GST_WEBRTC_SDP_TYPE_PRANSWER" name="Pranswer" value="2" /> @@ -28897,7 +30074,7 @@ </enum> <object name="WebRTCDTLSTransport" cname="GstWebRTCDTLSTransport" opaque="false" hidden="false" parent="GstObject"> <class_struct cname="GstWebRTCDTLSTransportClass"> - <field cname="parent_class" access="public" writeable="false" readable="true" is_callback="false" name="ParentClass" type="GstBinClass"> + <field cname="parent_class" access="public" writeable="false" readable="true" is_callback="false" name="ParentClass" type="GstObjectClass"> <warning>missing glib:type-name</warning> </field> <field cname="_padding" access="public" writeable="false" readable="true" is_callback="false" name="_Padding" type="gpointer" array="true" array_len="4" /> @@ -28936,7 +30113,7 @@ </object> <object name="WebRTCICETransport" cname="GstWebRTCICETransport" defaultconstructoraccess="protected" opaque="false" hidden="false" parent="GstObject"> <class_struct cname="GstWebRTCICETransportClass"> - <field cname="parent_class" access="public" writeable="false" readable="true" is_callback="false" name="ParentClass" type="GstBinClass"> + <field cname="parent_class" access="public" writeable="false" readable="true" is_callback="false" name="ParentClass" type="GstObjectClass"> <warning>missing glib:type-name</warning> </field> <method vm="gather_candidates" /> @@ -29089,7 +30266,7 @@ <constructor cname="gst_webrtc_session_description_new"> <parameters> <parameter name="type" type="GstWebRTCSDPType" /> - <parameter name="sdp" type="GstSDPMessage*"> + <parameter name="sdp" type="GstSDPMessage*" owned="true"> <warning>missing glib:type-name</warning> </parameter> </parameters> diff --git a/sources/generated/meson.build b/sources/generated/meson.build index 942ef08..dec552f 100644 --- a/sources/generated/meson.build +++ b/sources/generated/meson.build @@ -1,747 +1,769 @@ generated_sources = [ - 'Gst.Sdp/MIKEYMacAlg.cs', - 'Gst.Sdp/MIKEYPRFFunc.cs', - 'Gst.Sdp/SDPResult.cs', - 'Gst.Sdp/MIKEYTSType.cs', - 'Gst.Sdp/Global.cs', - 'Gst.Sdp/MIKEYDecryptInfo.cs', - 'Gst.Sdp/MIKEYPayload.cs', - 'Gst.Sdp/SDPMessage.cs', - 'Gst.Sdp/SDPKey.cs', - 'Gst.Sdp/SDPZone.cs', - 'Gst.Sdp/MIKEYCacheType.cs', - 'Gst.Sdp/MIKEYPayloadPKE.cs', - 'Gst.Sdp/MIKEYMapType.cs', - 'Gst.Sdp/MIKEYKeyDataType.cs', - 'Gst.Sdp/MIKEYPayloadSP.cs', - 'Gst.Sdp/SDPAttribute.cs', - 'Gst.Sdp/SDPOrigin.cs', - 'Gst.Sdp/MIKEYPayloadT.cs', - 'Gst.Sdp/MIKEYMapSRTP.cs', - 'Gst.Sdp/MIKEYKVType.cs', - 'Gst.Sdp/MIKEYPayloadSPParam.cs', - 'Gst.Sdp/SDPBandwidth.cs', - 'Gst.Sdp/MIKEYSecSRTP.cs', - 'Gst.Sdp/MIKEYPayloadType.cs', - 'Gst.Sdp/MIKEYSecProto.cs', - 'Gst.Sdp/MIKEYPayloadKEMAC.cs', - 'Gst.Sdp/MIKEYMessage.cs', - 'Gst.Sdp/MIKEYEncAlg.cs', - 'Gst.Sdp/MIKEYEncryptInfo.cs', - 'Gst.Sdp/SDPTime.cs', - 'Gst.Sdp/MIKEYPayloadRAND.cs', - 'Gst.Sdp/MIKEYPayloadKeyData.cs', - 'Gst.Sdp/SDPMedia.cs', - 'Gst.Sdp/MIKEYType.cs', - 'Gst.Sdp/SDPConnection.cs', - 'Gst.Sdp/Constants.cs', - 'Gst.Rtsp/RTSPAuthMethod.cs', - 'Gst.Rtsp/Global.cs', - 'Gst.Rtsp/RTSPTime2.cs', - 'Gst.Rtsp/RTSPEvent.cs', - 'Gst.Rtsp/RTSPRangeUnit.cs', - 'Gst.Rtsp/RTSPWatch.cs', - 'Gst.Rtsp/RTSPVersion.cs', - 'Gst.Rtsp/RTSPMessage.cs', - 'Gst.Rtsp/RTSPResult.cs', - 'Gst.Rtsp/RTSPUrl.cs', - 'Gst.Rtsp/RTSPConnection.cs', - 'Gst.Rtsp/RTSPHeaderField.cs', - 'Gst.Rtsp/SendEventHandler.cs', - 'Gst.Rtsp/RTSPLowerTrans.cs', - 'Gst.Rtsp/RTSPState.cs', - 'Gst.Rtsp/RTSPMsgType.cs', - 'Gst.Rtsp/RTSPWatchFuncs.cs', - 'Gst.Rtsp/RTSPTransMode.cs', - 'Gst.Rtsp/RTSPAuthCredential.cs', - 'Gst.Rtsp/RTSPTimeRange.cs', - 'Gst.Rtsp/IRTSPExtension.cs', - 'Gst.Rtsp/RTSPTimeType.cs', - 'Gst.Rtsp/RTSPMethod.cs', - 'Gst.Rtsp/RTSPFamily.cs', - 'Gst.Rtsp/RTSPTransport.cs', - 'Gst.Rtsp/RTSPExtensionAdapter.cs', - 'Gst.Rtsp/RTSPRange.cs', - 'Gst.Rtsp/RTSPProfile.cs', - 'Gst.Rtsp/RTSPStatusCode.cs', - 'Gst.Rtsp/Constants.cs', - 'Gst.Rtsp/RTSPAuthParam.cs', - 'Gst.Rtsp/RTSPTime.cs', - 'Gst.Base/Gst.BaseSharp.CollectPadsFunctionNative.cs', - 'Gst.Base/CollectPadsCompareFunction.cs', - 'Gst.Base/Gst.BaseSharp.CollectPadsCompareFunctionNative.cs', - 'Gst.Base/Gst.BaseSharp.TypeFindHelperGetRangeFunctionNative.cs', - 'Gst.Base/Gst.BaseSharp.DataQueueCheckFullFunctionNative.cs', - 'Gst.Base/Global.cs', - 'Gst.Base/CollectPadsFunction.cs', - 'Gst.Base/DataQueueEmptyCallback.cs', - 'Gst.Base/BaseSrc.cs', - 'Gst.Base/Gst.BaseSharp.CollectDataDestroyNotifyNative.cs', - 'Gst.Base/CollectPadsClipFunction.cs', - 'Gst.Base/PushSrc.cs', - 'Gst.Base/TypeFindHelperGetRangeFunction.cs', + 'Gst.App/AppSink.cs', + 'Gst.App/AppSinkCallbacks.cs', + 'Gst.App/AppSrc.cs', + 'Gst.App/AppSrcCallbacks.cs', + 'Gst.App/AppStreamType.cs', + 'Gst.App/Constants.cs', + 'Gst.App/EndOfStreamEventHandler.cs', + 'Gst.App/Global.cs', + 'Gst.App/NeedDataHandler.cs', + 'Gst.App/NewPrerollHandler.cs', + 'Gst.App/NewSampleHandler.cs', + 'Gst.App/PushBufferEventHandler.cs', + 'Gst.App/PushBufferListEventHandler.cs', + 'Gst.App/PushSampleEventHandler.cs', + 'Gst.App/SeekDataHandler.cs', + 'Gst.App/TryPullPrerollEventHandler.cs', + 'Gst.App/TryPullSampleEventHandler.cs', + 'Gst.Audio/AudioBaseSink.cs', + 'Gst.Audio/AudioBaseSinkCustomSlavingCallback.cs', + 'Gst.Audio/AudioBaseSinkDiscontReason.cs', + 'Gst.Audio/AudioBaseSinkSlaveMethod.cs', + 'Gst.Audio/AudioBaseSrc.cs', + 'Gst.Audio/AudioBaseSrcSlaveMethod.cs', + 'Gst.Audio/AudioBuffer.cs', + 'Gst.Audio/AudioCdSrc.cs', + 'Gst.Audio/AudioCdSrcMode.cs', + 'Gst.Audio/AudioCdSrcTrack.cs', + 'Gst.Audio/AudioChannelMixer.cs', + 'Gst.Audio/AudioChannelMixerFlags.cs', + 'Gst.Audio/AudioChannelPosition.cs', + 'Gst.Audio/AudioClippingMeta.cs', + 'Gst.Audio/AudioClock.cs', + 'Gst.Audio/AudioClockGetTimeFunc.cs', + 'Gst.Audio/AudioConverter.cs', + 'Gst.Audio/AudioConverterFlags.cs', + 'Gst.Audio/AudioDecoder.cs', + 'Gst.Audio/AudioDitherMethod.cs', + 'Gst.Audio/AudioDownmixMeta.cs', + 'Gst.Audio/AudioEncoder.cs', + 'Gst.Audio/AudioFilter.cs', + 'Gst.Audio/AudioFlags.cs', + 'Gst.Audio/AudioFormat.cs', + 'Gst.Audio/AudioFormatFlags.cs', + 'Gst.Audio/AudioFormatInfo.cs', + 'Gst.Audio/AudioFormatPack.cs', + 'Gst.Audio/AudioFormatUnpack.cs', + 'Gst.Audio/AudioInfo.cs', + 'Gst.Audio/AudioLayout.cs', + 'Gst.Audio/AudioMeta.cs', + 'Gst.Audio/AudioNoiseShapingMethod.cs', + 'Gst.Audio/AudioPackFlags.cs', + 'Gst.Audio/AudioQuantize.cs', + 'Gst.Audio/AudioQuantizeFlags.cs', + 'Gst.Audio/AudioResampler.cs', + 'Gst.Audio/AudioResamplerFilterInterpolation.cs', + 'Gst.Audio/AudioResamplerFilterMode.cs', + 'Gst.Audio/AudioResamplerFlags.cs', + 'Gst.Audio/AudioResamplerMethod.cs', + 'Gst.Audio/AudioRingBuffer.cs', + 'Gst.Audio/AudioRingBufferCallback.cs', + 'Gst.Audio/AudioRingBufferFormatType.cs', + 'Gst.Audio/AudioRingBufferSpec.cs', + 'Gst.Audio/AudioRingBufferState.cs', + 'Gst.Audio/AudioSink.cs', + 'Gst.Audio/AudioSrc.cs', + 'Gst.Audio/AudioStreamAlign.cs', + 'Gst.Audio/Constants.cs', + 'Gst.Audio/Global.cs', + 'Gst.Audio/Gst.AudioSharp.AudioBaseSinkCustomSlavingCallbackNative.cs', + 'Gst.Audio/Gst.AudioSharp.AudioClockGetTimeFuncNative.cs', + 'Gst.Audio/Gst.AudioSharp.AudioFormatPackNative.cs', + 'Gst.Audio/Gst.AudioSharp.AudioFormatUnpackNative.cs', + 'Gst.Audio/Gst.AudioSharp.AudioRingBufferCallbackNative.cs', + 'Gst.Audio/IStreamVolume.cs', + 'Gst.Audio/StreamVolumeAdapter.cs', + 'Gst.Audio/StreamVolumeFormat.cs', 'Gst.Base/Adapter.cs', - 'Gst.Base/Gst.BaseSharp.CollectPadsEventFunctionNative.cs', + 'Gst.Base/Aggregator.cs', + 'Gst.Base/AggregatorPad.cs', + 'Gst.Base/BaseParse.cs', 'Gst.Base/BaseParseFrame.cs', - 'Gst.Base/DataQueue.cs', - 'Gst.Base/CollectDataDestroyNotify.cs', - 'Gst.Base/FlowCombiner.cs', - 'Gst.Base/Gst.BaseSharp.CollectPadsClipFunctionNative.cs', 'Gst.Base/BaseParseFrameFlags.cs', - 'Gst.Base/Gst.BaseSharp.DataQueueFullCallbackNative.cs', - 'Gst.Base/DataQueueSize.cs', - 'Gst.Base/Gst.BaseSharp.CollectPadsFlushFunctionNative.cs', - 'Gst.Base/CollectPadsQueryFunction.cs', - 'Gst.Base/Gst.BaseSharp.CollectPadsBufferFunctionNative.cs', - 'Gst.Base/CollectPadsStateFlags.cs', + 'Gst.Base/BaseSink.cs', + 'Gst.Base/BaseSrc.cs', + 'Gst.Base/BaseSrcFlags.cs', 'Gst.Base/BaseTransform.cs', - 'Gst.Base/ByteReader.cs', - 'Gst.Base/CollectPads.cs', - 'Gst.Base/DataQueueFullCallback.cs', 'Gst.Base/BitReader.cs', - 'Gst.Base/Gst.BaseSharp.DataQueueEmptyCallbackNative.cs', + 'Gst.Base/BitWriter.cs', + 'Gst.Base/ByteReader.cs', 'Gst.Base/ByteWriter.cs', - 'Gst.Base/Gst.BaseSharp.CollectPadsQueryFunctionNative.cs', - 'Gst.Base/QueueArray.cs', - 'Gst.Base/DataQueueCheckFullFunction.cs', - 'Gst.Base/BaseParse.cs', - 'Gst.Base/CollectPadsFlushFunction.cs', 'Gst.Base/CollectData.cs', - 'Gst.Base/Constants.cs', - 'Gst.Base/CollectPadsEventFunction.cs', - 'Gst.Base/BaseSink.cs', + 'Gst.Base/CollectDataDestroyNotify.cs', + 'Gst.Base/CollectPads.cs', 'Gst.Base/CollectPadsBufferFunction.cs', - 'Gst.Base/BaseSrcFlags.cs', + 'Gst.Base/CollectPadsClipFunction.cs', + 'Gst.Base/CollectPadsCompareFunction.cs', + 'Gst.Base/CollectPadsEventFunction.cs', + 'Gst.Base/CollectPadsFlushFunction.cs', + 'Gst.Base/CollectPadsFunction.cs', + 'Gst.Base/CollectPadsQueryFunction.cs', + 'Gst.Base/CollectPadsStateFlags.cs', + 'Gst.Base/Constants.cs', + 'Gst.Base/DataQueue.cs', + 'Gst.Base/DataQueueCheckFullFunction.cs', + 'Gst.Base/DataQueueEmptyCallback.cs', + 'Gst.Base/DataQueueFullCallback.cs', 'Gst.Base/DataQueueItem.cs', - 'Gst.PbUtils/EncodingTarget.cs', - 'Gst.PbUtils/EncodingAudioProfile.cs', - 'Gst.PbUtils/EncodingContainerProfile.cs', - 'Gst.PbUtils/SourceSetupHandler.cs', - 'Gst.PbUtils/Global.cs', - 'Gst.PbUtils/DiscovererVideoInfo.cs', - 'Gst.PbUtils/Gst.PbUtilsSharp.AudioVisualizerShaderFuncNative.cs', - 'Gst.PbUtils/InstallPluginsResultFunc.cs', - 'Gst.PbUtils/EncodingProfile.cs', - 'Gst.PbUtils/DiscovererContainerInfo.cs', - 'Gst.PbUtils/InstallPluginsContext.cs', - 'Gst.PbUtils/DiscovererResult.cs', - 'Gst.PbUtils/DiscoveredHandler.cs', - 'Gst.PbUtils/InstallPluginsReturn.cs', - 'Gst.PbUtils/DiscovererStreamInfo.cs', - 'Gst.PbUtils/AudioVisualizerShaderFunc.cs', + 'Gst.Base/DataQueueSize.cs', + 'Gst.Base/FlowCombiner.cs', + 'Gst.Base/Global.cs', + 'Gst.Base/Gst.BaseSharp.CollectDataDestroyNotifyNative.cs', + 'Gst.Base/Gst.BaseSharp.CollectPadsBufferFunctionNative.cs', + 'Gst.Base/Gst.BaseSharp.CollectPadsClipFunctionNative.cs', + 'Gst.Base/Gst.BaseSharp.CollectPadsCompareFunctionNative.cs', + 'Gst.Base/Gst.BaseSharp.CollectPadsEventFunctionNative.cs', + 'Gst.Base/Gst.BaseSharp.CollectPadsFlushFunctionNative.cs', + 'Gst.Base/Gst.BaseSharp.CollectPadsFunctionNative.cs', + 'Gst.Base/Gst.BaseSharp.CollectPadsQueryFunctionNative.cs', + 'Gst.Base/Gst.BaseSharp.DataQueueCheckFullFunctionNative.cs', + 'Gst.Base/Gst.BaseSharp.DataQueueEmptyCallbackNative.cs', + 'Gst.Base/Gst.BaseSharp.DataQueueFullCallbackNative.cs', + 'Gst.Base/Gst.BaseSharp.TypeFindHelperGetRangeFunctionNative.cs', + 'Gst.Base/PushSrc.cs', + 'Gst.Base/QueueArray.cs', + 'Gst.Base/TypeFindHelperGetRangeFunction.cs', + 'Gst.Controller/ARGBControlBinding.cs', + 'Gst.Controller/Constants.cs', + 'Gst.Controller/ControlPoint.cs', + 'Gst.Controller/DirectControlBinding.cs', + 'Gst.Controller/DirectControlBindingConvertGValue.cs', + 'Gst.Controller/DirectControlBindingConvertValue.cs', + 'Gst.Controller/Global.cs', + 'Gst.Controller/Gst.ControllerSharp.DirectControlBindingConvertGValueNative.cs', + 'Gst.Controller/Gst.ControllerSharp.DirectControlBindingConvertValueNative.cs', + 'Gst.Controller/InterpolationControlSource.cs', + 'Gst.Controller/InterpolationMode.cs', + 'Gst.Controller/LFOControlSource.cs', + 'Gst.Controller/LFOWaveform.cs', + 'Gst.Controller/ProxyControlBinding.cs', + 'Gst.Controller/TimedValueControlSource.cs', + 'Gst.Controller/TriggerControlSource.cs', + 'Gst.Controller/ValueAddedHandler.cs', + 'Gst.Controller/ValueChangedHandler.cs', + 'Gst.Controller/ValueRemovedHandler.cs', + 'Gst.FFT/Constants.cs', + 'Gst.FFT/FFTF32.cs', + 'Gst.FFT/FFTF32Complex.cs', + 'Gst.FFT/FFTF64.cs', + 'Gst.FFT/FFTF64Complex.cs', + 'Gst.FFT/FFTS16.cs', + 'Gst.FFT/FFTS16Complex.cs', + 'Gst.FFT/FFTS32.cs', + 'Gst.FFT/FFTS32Complex.cs', + 'Gst.FFT/FFTWindow.cs', + 'Gst.FFT/Global.cs', + 'Gst.Net/Constants.cs', + 'Gst.Net/Global.cs', + 'Gst.Net/Gst.NetSharp.PtpStatisticsCallbackNative.cs', + 'Gst.Net/NetAddressMeta.cs', + 'Gst.Net/NetClientClock.cs', + 'Gst.Net/NetControlMessageMeta.cs', + 'Gst.Net/NetTimePacket.cs', + 'Gst.Net/NetTimeProvider.cs', + 'Gst.Net/PtpClock.cs', + 'Gst.Net/PtpStatisticsCallback.cs', 'Gst.PbUtils/AudioVisualizer.cs', + 'Gst.PbUtils/AudioVisualizerShader.cs', + 'Gst.PbUtils/AudioVisualizerShaderFunc.cs', 'Gst.PbUtils/Constants.cs', + 'Gst.PbUtils/DiscoveredHandler.cs', 'Gst.PbUtils/Discoverer.cs', - 'Gst.PbUtils/DiscovererSubtitleInfo.cs', - 'Gst.PbUtils/DiscovererSerializeFlags.cs', 'Gst.PbUtils/DiscovererAudioInfo.cs', - 'Gst.PbUtils/AudioVisualizerShader.cs', + 'Gst.PbUtils/DiscovererContainerInfo.cs', 'Gst.PbUtils/DiscovererInfo.cs', + 'Gst.PbUtils/DiscovererResult.cs', + 'Gst.PbUtils/DiscovererSerializeFlags.cs', + 'Gst.PbUtils/DiscovererStreamInfo.cs', + 'Gst.PbUtils/DiscovererSubtitleInfo.cs', + 'Gst.PbUtils/DiscovererVideoInfo.cs', + 'Gst.PbUtils/EncodingAudioProfile.cs', + 'Gst.PbUtils/EncodingContainerProfile.cs', + 'Gst.PbUtils/EncodingProfile.cs', + 'Gst.PbUtils/EncodingTarget.cs', 'Gst.PbUtils/EncodingVideoProfile.cs', + 'Gst.PbUtils/Global.cs', + 'Gst.PbUtils/Gst.PbUtilsSharp.AudioVisualizerShaderFuncNative.cs', 'Gst.PbUtils/Gst.PbUtilsSharp.InstallPluginsResultFuncNative.cs', - 'Gst/ReferenceTimestampMeta.cs', - 'Gst/StaticCaps.cs', - 'Gst/MessageType.cs', - 'Gst/GstSharp.PadUnlinkFunctionNative.cs', - 'Gst/Int64Range.cs', - 'Gst/IPreset.cs', - 'Gst/MetaInfo.cs', - 'Gst/GstSharp.IteratorForeachFunctionNative.cs', - 'Gst/StreamFlags.cs', - 'Gst/TypeFindFunction.cs', - 'Gst/QueryType.cs', - 'Gst/GstSharp.TypeFindFunctionNative.cs', + 'Gst.PbUtils/InstallPluginsContext.cs', + 'Gst.PbUtils/InstallPluginsResultFunc.cs', + 'Gst.PbUtils/InstallPluginsReturn.cs', + 'Gst.PbUtils/SourceSetupHandler.cs', + 'Gst.Rtp/Constants.cs', + 'Gst.Rtp/Global.cs', + 'Gst.Rtp/RTCPBuffer.cs', + 'Gst.Rtp/RTCPFBType.cs', + 'Gst.Rtp/RTCPPacket.cs', + 'Gst.Rtp/RTCPSDESType.cs', + 'Gst.Rtp/RTCPType.cs', + 'Gst.Rtp/RTCPXRType.cs', + 'Gst.Rtp/RTPBaseAudioPayload.cs', + 'Gst.Rtp/RTPBaseDepayload.cs', + 'Gst.Rtp/RTPBasePayload.cs', + 'Gst.Rtp/RTPBuffer.cs', + 'Gst.Rtp/RTPBufferFlags.cs', + 'Gst.Rtp/RTPBufferMapFlags.cs', + 'Gst.Rtp/RTPPayload.cs', + 'Gst.Rtp/RTPPayloadInfo.cs', + 'Gst.Rtp/RTPProfile.cs', + 'Gst.Rtp/RTPSourceMeta.cs', + 'Gst.Rtsp/Constants.cs', + 'Gst.Rtsp/Global.cs', + 'Gst.Rtsp/Gst.RtspSharp.RTSPConnectionAcceptCertificateFuncNative.cs', + 'Gst.Rtsp/IRTSPExtension.cs', + 'Gst.Rtsp/RTSPAuthCredential.cs', + 'Gst.Rtsp/RTSPAuthMethod.cs', + 'Gst.Rtsp/RTSPAuthParam.cs', + 'Gst.Rtsp/RTSPConnection.cs', + 'Gst.Rtsp/RTSPConnectionAcceptCertificateFunc.cs', + 'Gst.Rtsp/RTSPEvent.cs', + 'Gst.Rtsp/RTSPExtensionAdapter.cs', + 'Gst.Rtsp/RTSPFamily.cs', + 'Gst.Rtsp/RTSPHeaderField.cs', + 'Gst.Rtsp/RTSPLowerTrans.cs', + 'Gst.Rtsp/RTSPMessage.cs', + 'Gst.Rtsp/RTSPMethod.cs', + 'Gst.Rtsp/RTSPMsgType.cs', + 'Gst.Rtsp/RTSPProfile.cs', + 'Gst.Rtsp/RTSPRange.cs', + 'Gst.Rtsp/RTSPRangeUnit.cs', + 'Gst.Rtsp/RTSPResult.cs', + 'Gst.Rtsp/RTSPState.cs', + 'Gst.Rtsp/RTSPStatusCode.cs', + 'Gst.Rtsp/RTSPTime.cs', + 'Gst.Rtsp/RTSPTime2.cs', + 'Gst.Rtsp/RTSPTimeRange.cs', + 'Gst.Rtsp/RTSPTimeType.cs', + 'Gst.Rtsp/RTSPTransMode.cs', + 'Gst.Rtsp/RTSPTransport.cs', + 'Gst.Rtsp/RTSPUrl.cs', + 'Gst.Rtsp/RTSPVersion.cs', + 'Gst.Rtsp/RTSPWatch.cs', + 'Gst.Rtsp/RTSPWatchFuncs.cs', + 'Gst.Rtsp/SendEventHandler.cs', + 'Gst.Sdp/Constants.cs', + 'Gst.Sdp/Global.cs', + 'Gst.Sdp/MIKEYCacheType.cs', + 'Gst.Sdp/MIKEYDecryptInfo.cs', + 'Gst.Sdp/MIKEYEncAlg.cs', + 'Gst.Sdp/MIKEYEncryptInfo.cs', + 'Gst.Sdp/MIKEYKVType.cs', + 'Gst.Sdp/MIKEYKeyDataType.cs', + 'Gst.Sdp/MIKEYMacAlg.cs', + 'Gst.Sdp/MIKEYMapSRTP.cs', + 'Gst.Sdp/MIKEYMapType.cs', + 'Gst.Sdp/MIKEYMessage.cs', + 'Gst.Sdp/MIKEYPRFFunc.cs', + 'Gst.Sdp/MIKEYPayload.cs', + 'Gst.Sdp/MIKEYPayloadKEMAC.cs', + 'Gst.Sdp/MIKEYPayloadKeyData.cs', + 'Gst.Sdp/MIKEYPayloadPKE.cs', + 'Gst.Sdp/MIKEYPayloadRAND.cs', + 'Gst.Sdp/MIKEYPayloadSP.cs', + 'Gst.Sdp/MIKEYPayloadSPParam.cs', + 'Gst.Sdp/MIKEYPayloadT.cs', + 'Gst.Sdp/MIKEYPayloadType.cs', + 'Gst.Sdp/MIKEYSecProto.cs', + 'Gst.Sdp/MIKEYSecSRTP.cs', + 'Gst.Sdp/MIKEYTSType.cs', + 'Gst.Sdp/MIKEYType.cs', + 'Gst.Sdp/SDPAttribute.cs', + 'Gst.Sdp/SDPBandwidth.cs', + 'Gst.Sdp/SDPConnection.cs', + 'Gst.Sdp/SDPKey.cs', + 'Gst.Sdp/SDPMedia.cs', + 'Gst.Sdp/SDPMessage.cs', + 'Gst.Sdp/SDPOrigin.cs', + 'Gst.Sdp/SDPResult.cs', + 'Gst.Sdp/SDPTime.cs', + 'Gst.Sdp/SDPZone.cs', + 'Gst.Tags/Constants.cs', + 'Gst.Tags/Global.cs', + 'Gst.Tags/ITagXmpWriter.cs', + 'Gst.Tags/TagDemux.cs', + 'Gst.Tags/TagDemuxResult.cs', + 'Gst.Tags/TagImageType.cs', + 'Gst.Tags/TagLicenseFlags.cs', + 'Gst.Tags/TagMux.cs', + 'Gst.Tags/TagXmpWriterAdapter.cs', + 'Gst.Video/ColorBalanceAdapter.cs', + 'Gst.Video/ColorBalanceChannel.cs', + 'Gst.Video/ColorBalanceType.cs', + 'Gst.Video/Constants.cs', + 'Gst.Video/Global.cs', + 'Gst.Video/Gst.VideoSharp.VideoAffineTransformationGetMatrixNative.cs', + 'Gst.Video/Gst.VideoSharp.VideoConvertSampleCallbackNative.cs', + 'Gst.Video/Gst.VideoSharp.VideoFormatPackNative.cs', + 'Gst.Video/Gst.VideoSharp.VideoFormatUnpackNative.cs', + 'Gst.Video/Gst.VideoSharp.VideoGLTextureUploadNative.cs', + 'Gst.Video/IColorBalance.cs', + 'Gst.Video/INavigation.cs', + 'Gst.Video/IVideoDirection.cs', + 'Gst.Video/IVideoOrientation.cs', + 'Gst.Video/IVideoOverlay.cs', + 'Gst.Video/NavigationAdapter.cs', + 'Gst.Video/NavigationCommand.cs', + 'Gst.Video/NavigationEventType.cs', + 'Gst.Video/NavigationMessageType.cs', + 'Gst.Video/NavigationQueryType.cs', + 'Gst.Video/ValueChangedEventHandler.cs', + 'Gst.Video/ValueChangedHandler.cs', + 'Gst.Video/VideoAffineTransformationGetMatrix.cs', + 'Gst.Video/VideoAffineTransformationMeta.cs', + 'Gst.Video/VideoAggregator.cs', + 'Gst.Video/VideoAggregatorConvertPad.cs', + 'Gst.Video/VideoAggregatorPad.cs', + 'Gst.Video/VideoAlignment.cs', + 'Gst.Video/VideoAlphaMode.cs', + 'Gst.Video/VideoAncillary.cs', + 'Gst.Video/VideoAncillaryDID.cs', + 'Gst.Video/VideoAncillaryDID16.cs', + 'Gst.Video/VideoBufferFlags.cs', + 'Gst.Video/VideoBufferPool.cs', + 'Gst.Video/VideoCaptionMeta.cs', + 'Gst.Video/VideoCaptionType.cs', + 'Gst.Video/VideoChromaFlags.cs', + 'Gst.Video/VideoChromaMethod.cs', + 'Gst.Video/VideoChromaMode.cs', + 'Gst.Video/VideoChromaResample.cs', + 'Gst.Video/VideoChromaSite.cs', + 'Gst.Video/VideoCodecFrame.cs', + 'Gst.Video/VideoCodecFrameFlags.cs', + 'Gst.Video/VideoCodecState.cs', + 'Gst.Video/VideoColorMatrix.cs', + 'Gst.Video/VideoColorPrimaries.cs', + 'Gst.Video/VideoColorPrimariesInfo.cs', + 'Gst.Video/VideoColorRange.cs', + 'Gst.Video/VideoColorimetry.cs', + 'Gst.Video/VideoConvertSampleCallback.cs', + 'Gst.Video/VideoConverter.cs', + 'Gst.Video/VideoCropMeta.cs', + 'Gst.Video/VideoDecoder.cs', + 'Gst.Video/VideoDirectionAdapter.cs', + 'Gst.Video/VideoDither.cs', + 'Gst.Video/VideoDitherFlags.cs', + 'Gst.Video/VideoDitherMethod.cs', + 'Gst.Video/VideoEncoder.cs', + 'Gst.Video/VideoFieldOrder.cs', + 'Gst.Video/VideoFilter.cs', + 'Gst.Video/VideoFlags.cs', + 'Gst.Video/VideoFormat.cs', + 'Gst.Video/VideoFormatFlags.cs', + 'Gst.Video/VideoFormatInfo.cs', + 'Gst.Video/VideoFormatPack.cs', + 'Gst.Video/VideoFormatUnpack.cs', + 'Gst.Video/VideoFrame.cs', + 'Gst.Video/VideoFrameFlags.cs', + 'Gst.Video/VideoFrameMapFlags.cs', + 'Gst.Video/VideoGLTextureOrientation.cs', + 'Gst.Video/VideoGLTextureType.cs', + 'Gst.Video/VideoGLTextureUpload.cs', + 'Gst.Video/VideoGLTextureUploadMeta.cs', + 'Gst.Video/VideoGammaMode.cs', + 'Gst.Video/VideoInfo.cs', + 'Gst.Video/VideoInterlaceMode.cs', + 'Gst.Video/VideoMatrixMode.cs', + 'Gst.Video/VideoMeta.cs', + 'Gst.Video/VideoMetaTransform.cs', + 'Gst.Video/VideoMultiviewFlags.cs', + 'Gst.Video/VideoMultiviewFlagsSet.cs', + 'Gst.Video/VideoMultiviewFramePacking.cs', + 'Gst.Video/VideoMultiviewMode.cs', + 'Gst.Video/VideoOrientationAdapter.cs', + 'Gst.Video/VideoOrientationMethod.cs', + 'Gst.Video/VideoOverlayAdapter.cs', + 'Gst.Video/VideoOverlayComposition.cs', + 'Gst.Video/VideoOverlayCompositionMeta.cs', + 'Gst.Video/VideoOverlayFormatFlags.cs', + 'Gst.Video/VideoOverlayProperties.cs', + 'Gst.Video/VideoOverlayRectangle.cs', + 'Gst.Video/VideoPackFlags.cs', + 'Gst.Video/VideoPrimariesMode.cs', + 'Gst.Video/VideoRectangle.cs', + 'Gst.Video/VideoRegionOfInterestMeta.cs', + 'Gst.Video/VideoResampler.cs', + 'Gst.Video/VideoResamplerFlags.cs', + 'Gst.Video/VideoResamplerMethod.cs', + 'Gst.Video/VideoScaler.cs', + 'Gst.Video/VideoScalerFlags.cs', + 'Gst.Video/VideoSink.cs', + 'Gst.Video/VideoTileMode.cs', + 'Gst.Video/VideoTileType.cs', + 'Gst.Video/VideoTimeCode.cs', + 'Gst.Video/VideoTimeCodeConfig.cs', + 'Gst.Video/VideoTimeCodeFlags.cs', + 'Gst.Video/VideoTimeCodeInterval.cs', + 'Gst.Video/VideoTimeCodeMeta.cs', + 'Gst.Video/VideoTransferFunction.cs', + 'Gst.Video/VideoVBIEncoder.cs', + 'Gst.Video/VideoVBIParser.cs', + 'Gst.Video/VideoVBIParserResult.cs', + 'Gst.WebRTC/Constants.cs', + 'Gst.WebRTC/Global.cs', + 'Gst.WebRTC/OnNewCandidateHandler.cs', + 'Gst.WebRTC/WebRTCBundlePolicy.cs', + 'Gst.WebRTC/WebRTCDTLSSetup.cs', + 'Gst.WebRTC/WebRTCDTLSTransport.cs', + 'Gst.WebRTC/WebRTCDTLSTransportState.cs', + 'Gst.WebRTC/WebRTCDataChannelState.cs', + 'Gst.WebRTC/WebRTCFECType.cs', + 'Gst.WebRTC/WebRTCICEComponent.cs', + 'Gst.WebRTC/WebRTCICEConnectionState.cs', + 'Gst.WebRTC/WebRTCICEGatheringState.cs', + 'Gst.WebRTC/WebRTCICERole.cs', + 'Gst.WebRTC/WebRTCICETransport.cs', + 'Gst.WebRTC/WebRTCICETransportPolicy.cs', + 'Gst.WebRTC/WebRTCPeerConnectionState.cs', + 'Gst.WebRTC/WebRTCPriorityType.cs', + 'Gst.WebRTC/WebRTCRTPReceiver.cs', + 'Gst.WebRTC/WebRTCRTPSender.cs', + 'Gst.WebRTC/WebRTCRTPTransceiver.cs', + 'Gst.WebRTC/WebRTCRTPTransceiverDirection.cs', + 'Gst.WebRTC/WebRTCSCTPTransportState.cs', + 'Gst.WebRTC/WebRTCSDPType.cs', + 'Gst.WebRTC/WebRTCSessionDescription.cs', + 'Gst.WebRTC/WebRTCSignalingState.cs', + 'Gst.WebRTC/WebRTCStatsType.cs', + 'Gst/AllocationParams.cs', + 'Gst/Allocator.cs', + 'Gst/AllocatorFlags.cs', + 'Gst/Application.cs', + 'Gst/AtomicQueue.cs', + 'Gst/Bin.cs', + 'Gst/BinFlags.cs', + 'Gst/Bitmask.cs', + 'Gst/Buffer.cs', + 'Gst/BufferCopyFlags.cs', + 'Gst/BufferFlags.cs', + 'Gst/BufferForeachMetaFunc.cs', + 'Gst/BufferList.cs', + 'Gst/BufferListFunc.cs', + 'Gst/BufferPool.cs', + 'Gst/BufferPoolAcquireFlags.cs', + 'Gst/BufferPoolAcquireParams.cs', + 'Gst/BufferingMode.cs', + 'Gst/Bus.cs', + 'Gst/BusFlags.cs', + 'Gst/BusFunc.cs', + 'Gst/BusSyncHandler.cs', + 'Gst/BusSyncReply.cs', + 'Gst/Caps.cs', + 'Gst/CapsFeatures.cs', + 'Gst/CapsFilterMapFunc.cs', + 'Gst/CapsFlags.cs', + 'Gst/CapsForeachFunc.cs', + 'Gst/CapsIntersectMode.cs', + 'Gst/CapsMapFunc.cs', + 'Gst/ChildAddedEventHandler.cs', + 'Gst/ChildProxyAdapter.cs', + 'Gst/ChildRemovedEventHandler.cs', + 'Gst/Clock.cs', + 'Gst/ClockCallback.cs', + 'Gst/ClockEntry.cs', + 'Gst/ClockEntryType.cs', + 'Gst/ClockFlags.cs', + 'Gst/ClockReturn.cs', 'Gst/ClockType.cs', + 'Gst/Constants.cs', + 'Gst/Context.cs', + 'Gst/ControlBinding.cs', + 'Gst/ControlBindingConvert.cs', + 'Gst/ControlSource.cs', + 'Gst/ControlSourceGetValue.cs', + 'Gst/ControlSourceGetValueArray.cs', + 'Gst/CoreError.cs', + 'Gst/DateTime.cs', + 'Gst/Debug.cs', + 'Gst/DebugCategory.cs', + 'Gst/DebugColorFlags.cs', + 'Gst/DebugColorMode.cs', + 'Gst/DebugFuncPtr.cs', + 'Gst/DebugGraphDetails.cs', + 'Gst/DebugLevel.cs', + 'Gst/DebugMessage.cs', + 'Gst/DeepElementAddedHandler.cs', + 'Gst/DeepElementRemovedHandler.cs', + 'Gst/DeepNotifyHandler.cs', + 'Gst/Device.cs', + 'Gst/DeviceMonitor.cs', 'Gst/DeviceProvider.cs', - 'Gst/MiniObjectCopyFunction.cs', - 'Gst/GstSharp.PadForwardFunctionNative.cs', - 'Gst/GstSharp.ValueDeserializeFuncNative.cs', - 'Gst/SyncMessageHandler.cs', - 'Gst/TagMergeFunc.cs', - 'Gst/TimedValue.cs', - 'Gst/PadFlags.cs', - 'Gst/IteratorFoldFunction.cs', - 'Gst/TocLoopType.cs', - 'Gst/PadForwardFunction.cs', - 'Gst/GstSharp.CapsFilterMapFuncNative.cs', - 'Gst/ValueSerializeFunc.cs', - 'Gst/MetaInitFunction.cs', - 'Gst/GstSharp.MetaTransformFunctionNative.cs', - 'Gst/AllocatorFlags.cs', - 'Gst/PluginDesc.cs', - 'Gst/GstSharp.TaskFunctionNative.cs', + 'Gst/DeviceProviderFactory.cs', + 'Gst/DoLatencyHandler.cs', + 'Gst/DynamicTypeFactory.cs', + 'Gst/Element.cs', + 'Gst/ElementAddedHandler.cs', 'Gst/ElementCallAsyncFunc.cs', - 'Gst/ValueTable.cs', - 'Gst/Object.cs', - 'Gst/GstSharp.MetaFreeFunctionNative.cs', + 'Gst/ElementFactory.cs', + 'Gst/ElementFlags.cs', + 'Gst/ElementForeachPadFunc.cs', 'Gst/ElementRemovedHandler.cs', - 'Gst/GstSharp.MemoryShareFunctionNative.cs', - 'Gst/MemoryMapFunction.cs', - 'Gst/URIHandlerAdapter.cs', - 'Gst/ClockFlags.cs', - 'Gst/GstSharp.PadGetRangeFunctionNative.cs', - 'Gst/Tracer.cs', - 'Gst/Stream.cs', - 'Gst/PadTemplateFlags.cs', - 'Gst/GstSharp.IteratorItemFunctionNative.cs', - 'Gst/ChildRemovedEventHandler.cs', - 'Gst/ControlBinding.cs', - 'Gst/PluginFlags.cs', + 'Gst/Event.cs', + 'Gst/EventType.cs', + 'Gst/EventTypeFlags.cs', + 'Gst/FeatureAddedHandler.cs', + 'Gst/FlagSet.cs', + 'Gst/FlowReturn.cs', + 'Gst/Format.cs', + 'Gst/FormatDefinition.cs', + 'Gst/GhostPad.cs', 'Gst/Global.cs', - 'Gst/IteratorResult.cs', - 'Gst/BufferPoolAcquireParams.cs', - 'Gst/Pipeline.cs', - 'Gst/GstSharp.LogFunctionNative.cs', - 'Gst/UnlinkedHandler.cs', - 'Gst/SystemClock.cs', - 'Gst/StreamType.cs', - 'Gst/PadProbeInfo.cs', - 'Gst/DeepElementAddedHandler.cs', - 'Gst/CapsMapFunc.cs', - 'Gst/GstSharp.IteratorNextFunctionNative.cs', - 'Gst/PadLinkFunction.cs', - 'Gst/PresetAdapter.cs', + 'Gst/GstSharp.BufferForeachMetaFuncNative.cs', + 'Gst/GstSharp.BufferListFuncNative.cs', + 'Gst/GstSharp.BusFuncNative.cs', + 'Gst/GstSharp.BusSyncHandlerNative.cs', + 'Gst/GstSharp.CapsFilterMapFuncNative.cs', 'Gst/GstSharp.CapsForeachFuncNative.cs', + 'Gst/GstSharp.CapsMapFuncNative.cs', + 'Gst/GstSharp.ClockCallbackNative.cs', + 'Gst/GstSharp.ControlBindingConvertNative.cs', + 'Gst/GstSharp.ControlSourceGetValueArrayNative.cs', + 'Gst/GstSharp.ControlSourceGetValueNative.cs', + 'Gst/GstSharp.DebugFuncPtrNative.cs', + 'Gst/GstSharp.ElementCallAsyncFuncNative.cs', + 'Gst/GstSharp.ElementForeachPadFuncNative.cs', + 'Gst/GstSharp.IteratorCopyFunctionNative.cs', + 'Gst/GstSharp.IteratorFoldFunctionNative.cs', + 'Gst/GstSharp.IteratorForeachFunctionNative.cs', + 'Gst/GstSharp.IteratorFreeFunctionNative.cs', + 'Gst/GstSharp.IteratorItemFunctionNative.cs', + 'Gst/GstSharp.IteratorNextFunctionNative.cs', + 'Gst/GstSharp.IteratorResyncFunctionNative.cs', + 'Gst/GstSharp.LogFunctionNative.cs', + 'Gst/GstSharp.MemoryCopyFunctionNative.cs', + 'Gst/GstSharp.MemoryIsSpanFunctionNative.cs', + 'Gst/GstSharp.MemoryMapFullFunctionNative.cs', 'Gst/GstSharp.MemoryMapFunctionNative.cs', - 'Gst/MetaFlags.cs', - 'Gst/PadIterIntLinkFunction.cs', - 'Gst/ProxyPad.cs', - 'Gst/TracerValueScope.cs', - 'Gst/Bitmask.cs', - 'Gst/IteratorForeachFunction.cs', - 'Gst/PluginDependencyFlags.cs', - 'Gst/PluginInitFullFunc.cs', - 'Gst/Caps.cs', - 'Gst/SeekFlags.cs', - 'Gst/DeepNotifyHandler.cs', + 'Gst/GstSharp.MemoryShareFunctionNative.cs', + 'Gst/GstSharp.MemoryUnmapFullFunctionNative.cs', + 'Gst/GstSharp.MemoryUnmapFunctionNative.cs', + 'Gst/GstSharp.MetaFreeFunctionNative.cs', + 'Gst/GstSharp.MetaInitFunctionNative.cs', + 'Gst/GstSharp.MetaTransformFunctionNative.cs', + 'Gst/GstSharp.MiniObjectCopyFunctionNative.cs', + 'Gst/GstSharp.MiniObjectDisposeFunctionNative.cs', 'Gst/GstSharp.MiniObjectFreeFunctionNative.cs', - 'Gst/GstSharp.ElementCallAsyncFuncNative.cs', - 'Gst/PadRemovedHandler.cs', - 'Gst/BusFunc.cs', - 'Gst/MiniObject.cs', - 'Gst/AllocationParams.cs', - 'Gst/MiniObjectFreeFunction.cs', - 'Gst/QOSType.cs', - 'Gst/StreamNotifyHandler.cs', - 'Gst/GstSharp.CapsMapFuncNative.cs', - 'Gst/PadAddedHandler.cs', - 'Gst/PadLinkCheck.cs', - 'Gst/GstSharp.PadLinkFunctionNative.cs', 'Gst/GstSharp.MiniObjectNotifyNative.cs', - 'Gst/FlowReturn.cs', - 'Gst/IteratorCopyFunction.cs', - 'Gst/LibraryError.cs', - 'Gst/IteratorNextFunction.cs', - 'Gst/Memory.cs', - 'Gst/GstSharp.TagMergeFuncNative.cs', - 'Gst/TypeFind.cs', - 'Gst/GstSharp.BusFuncNative.cs', - 'Gst/GstSharp.TagForeachFuncNative.cs', - 'Gst/PadProbeReturn.cs', - 'Gst/GstSharp.MemoryUnmapFullFunctionNative.cs', - 'Gst/Meta.cs', - 'Gst/BufferCopyFlags.cs', - 'Gst/TaskThreadFunc.cs', - 'Gst/Toc.cs', - 'Gst/ValueCompareFunc.cs', - 'Gst/Clock.cs', - 'Gst/TracerValueFlags.cs', - 'Gst/Uri.cs', - 'Gst/URIError.cs', - 'Gst/TaskFunction.cs', - 'Gst/GstSharp.ValueSerializeFuncNative.cs', - 'Gst/Structure.cs', - 'Gst/Buffer.cs', - 'Gst/StreamCollection.cs', - 'Gst/Application.cs', - 'Gst/PadProbeCallback.cs', + 'Gst/GstSharp.PadActivateFunctionNative.cs', 'Gst/GstSharp.PadActivateModeFunctionNative.cs', - 'Gst/GstSharp.BufferListFuncNative.cs', - 'Gst/GstSharp.IteratorResyncFunctionNative.cs', - 'Gst/MemoryFlags.cs', - 'Gst/MiniObjectDisposeFunction.cs', + 'Gst/GstSharp.PadChainFunctionNative.cs', + 'Gst/GstSharp.PadChainListFunctionNative.cs', + 'Gst/GstSharp.PadEventFullFunctionNative.cs', + 'Gst/GstSharp.PadEventFunctionNative.cs', + 'Gst/GstSharp.PadForwardFunctionNative.cs', + 'Gst/GstSharp.PadGetRangeFunctionNative.cs', + 'Gst/GstSharp.PadIterIntLinkFunctionNative.cs', + 'Gst/GstSharp.PadLinkFunctionNative.cs', 'Gst/GstSharp.PadProbeCallbackNative.cs', - 'Gst/MiniObjectFlags.cs', - 'Gst/GstSharp.IteratorCopyFunctionNative.cs', - 'Gst/IteratorItem.cs', - 'Gst/PadProbeType.cs', - 'Gst/ParseFlags.cs', - 'Gst/ValueList.cs', - 'Gst/DebugLevel.cs', - 'Gst/StaticPadTemplate.cs', 'Gst/GstSharp.PadQueryFunctionNative.cs', - 'Gst/ClockEntry.cs', - 'Gst/BufferList.cs', + 'Gst/GstSharp.PadStickyEventsForeachFunctionNative.cs', + 'Gst/GstSharp.PadUnlinkFunctionNative.cs', + 'Gst/GstSharp.PluginFeatureFilterNative.cs', + 'Gst/GstSharp.PluginFilterNative.cs', + 'Gst/GstSharp.PluginInitFullFuncNative.cs', + 'Gst/GstSharp.PluginInitFuncNative.cs', + 'Gst/GstSharp.PromiseChangeFuncNative.cs', + 'Gst/GstSharp.StructureFilterMapFuncNative.cs', + 'Gst/GstSharp.StructureForeachFuncNative.cs', 'Gst/GstSharp.StructureMapFuncNative.cs', - 'Gst/MapFlags.cs', - 'Gst/DebugMessage.cs', - 'Gst/ControlSourceGetValueArray.cs', - 'Gst/PluginFeatureFilter.cs', + 'Gst/GstSharp.TagForeachFuncNative.cs', + 'Gst/GstSharp.TagMergeFuncNative.cs', + 'Gst/GstSharp.TaskFunctionNative.cs', + 'Gst/GstSharp.TaskPoolFunctionNative.cs', + 'Gst/GstSharp.TaskThreadFuncNative.cs', + 'Gst/GstSharp.TypeFindFunctionNative.cs', + 'Gst/GstSharp.ValueCompareFuncNative.cs', + 'Gst/GstSharp.ValueDeserializeFuncNative.cs', + 'Gst/GstSharp.ValueSerializeFuncNative.cs', + 'Gst/IChildProxy.cs', + 'Gst/IPreset.cs', 'Gst/ITagSetter.cs', - 'Gst/ElementFactory.cs', - 'Gst/DateTime.cs', - 'Gst/PadGetRangeFunction.cs', - 'Gst/ProgressType.cs', + 'Gst/ITocSetter.cs', + 'Gst/IURIHandler.cs', + 'Gst/Int64Range.cs', + 'Gst/Iterator.cs', + 'Gst/IteratorCopyFunction.cs', + 'Gst/IteratorFoldFunction.cs', + 'Gst/IteratorForeachFunction.cs', + 'Gst/IteratorFreeFunction.cs', + 'Gst/IteratorItem.cs', + 'Gst/IteratorItemFunction.cs', + 'Gst/IteratorNextFunction.cs', + 'Gst/IteratorResult.cs', + 'Gst/IteratorResyncFunction.cs', + 'Gst/LibraryError.cs', + 'Gst/LinkedHandler.cs', + 'Gst/LockFlags.cs', + 'Gst/LogFunction.cs', + 'Gst/MapFlags.cs', + 'Gst/MapInfo.cs', + 'Gst/Memory.cs', + 'Gst/MemoryCopyFunction.cs', + 'Gst/MemoryFlags.cs', + 'Gst/MemoryIsSpanFunction.cs', + 'Gst/MemoryMapFullFunction.cs', + 'Gst/MemoryMapFunction.cs', + 'Gst/MemoryShareFunction.cs', + 'Gst/MemoryUnmapFullFunction.cs', + 'Gst/MemoryUnmapFunction.cs', + 'Gst/Message.cs', + 'Gst/MessageHandler.cs', + 'Gst/MessageType.cs', + 'Gst/Meta.cs', + 'Gst/MetaFlags.cs', + 'Gst/MetaFreeFunction.cs', + 'Gst/MetaInfo.cs', + 'Gst/MetaInitFunction.cs', 'Gst/MetaTransformCopy.cs', - 'Gst/ProviderUnhiddenHandler.cs', - 'Gst/GstSharp.DebugFuncPtrNative.cs', - 'Gst/DebugColorFlags.cs', + 'Gst/MetaTransformFunction.cs', + 'Gst/MiniObject.cs', + 'Gst/MiniObjectCopyFunction.cs', + 'Gst/MiniObjectDisposeFunction.cs', + 'Gst/MiniObjectFlags.cs', + 'Gst/MiniObjectFreeFunction.cs', 'Gst/MiniObjectNotify.cs', - 'Gst/AtomicQueue.cs', - 'Gst/MetaFreeFunction.cs', - 'Gst/DynamicTypeFactory.cs', - 'Gst/MemoryUnmapFullFunction.cs', - 'Gst/BufferFlags.cs', - 'Gst/GstSharp.MemoryIsSpanFunctionNative.cs', - 'Gst/ParentBufferMeta.cs', - 'Gst/GstSharp.PadChainListFunctionNative.cs', - 'Gst/TagFlag.cs', - 'Gst/CapsFlags.cs', + 'Gst/Object.cs', + 'Gst/ObjectFlags.cs', 'Gst/Pad.cs', - 'Gst/PluginFilter.cs', + 'Gst/PadActivateFunction.cs', + 'Gst/PadActivateModeFunction.cs', + 'Gst/PadAddedHandler.cs', 'Gst/PadChainFunction.cs', - 'Gst/ValueDeserializeFunc.cs', - 'Gst/StructureMapFunc.cs', - 'Gst/Value.cs', - 'Gst/IteratorResyncFunction.cs', - 'Gst/ClockCallback.cs', - 'Gst/SchedulingFlags.cs', - 'Gst/ControlBindingConvert.cs', - 'Gst/Allocator.cs', - 'Gst/BufferingMode.cs', - 'Gst/FlagSet.cs', - 'Gst/Element.cs', - 'Gst/GstSharp.IteratorFoldFunctionNative.cs', - 'Gst/PluginFeature.cs', - 'Gst/ChildAddedEventHandler.cs', - 'Gst/GstSharp.MemoryUnmapFunctionNative.cs', - 'Gst/MemoryCopyFunction.cs', - 'Gst/PluginInitFunc.cs', - 'Gst/DebugCategory.cs', - 'Gst/DeviceMonitor.cs', - 'Gst/TocSetterAdapter.cs', - 'Gst/PluginError.cs', - 'Gst/DeepElementRemovedHandler.cs', - 'Gst/GhostPad.cs', - 'Gst/StructureChangeType.cs', - 'Gst/TagForeachFunc.cs', - 'Gst/BufferPoolAcquireFlags.cs', - 'Gst/GstSharp.ControlBindingConvertNative.cs', - 'Gst/GstSharp.MiniObjectDisposeFunctionNative.cs', - 'Gst/Debug.cs', - 'Gst/DeviceProviderFactory.cs', + 'Gst/PadChainListFunction.cs', + 'Gst/PadCreatedEventHandler.cs', + 'Gst/PadDirection.cs', + 'Gst/PadEventFullFunction.cs', + 'Gst/PadEventFunction.cs', + 'Gst/PadFlags.cs', + 'Gst/PadForwardFunction.cs', + 'Gst/PadGetRangeFunction.cs', + 'Gst/PadIterIntLinkFunction.cs', + 'Gst/PadLinkCheck.cs', + 'Gst/PadLinkFunction.cs', + 'Gst/PadLinkReturn.cs', + 'Gst/PadMode.cs', + 'Gst/PadPresence.cs', + 'Gst/PadProbeCallback.cs', + 'Gst/PadProbeInfo.cs', + 'Gst/PadProbeReturn.cs', + 'Gst/PadProbeType.cs', 'Gst/PadQueryFunction.cs', - 'Gst/TocScope.cs', + 'Gst/PadRemovedHandler.cs', + 'Gst/PadStickyEventsForeachFunction.cs', + 'Gst/PadTemplate.cs', + 'Gst/PadTemplateFlags.cs', 'Gst/PadUnlinkFunction.cs', - 'Gst/GstSharp.ControlSourceGetValueNative.cs', - 'Gst/QueryTypeFlags.cs', - 'Gst/CoreError.cs', - 'Gst/GstSharp.ControlSourceGetValueArrayNative.cs', - 'Gst/Sample.cs', - 'Gst/Device.cs', - 'Gst/TagMergeMode.cs', - 'Gst/ProtectionMeta.cs', - 'Gst/ElementFlags.cs', - 'Gst/TagScope.cs', - 'Gst/PadActivateFunction.cs', - 'Gst/GstSharp.StructureFilterMapFuncNative.cs', - 'Gst/Event.cs', - 'Gst/GstSharp.PadEventFullFunctionNative.cs', - 'Gst/GstSharp.PadActivateFunctionNative.cs', - 'Gst/ClockReturn.cs', - 'Gst/MemoryMapFullFunction.cs', - 'Gst/GstSharp.PluginFilterNative.cs', + 'Gst/ParamArray.cs', + 'Gst/ParamFraction.cs', + 'Gst/ParentBufferMeta.cs', + 'Gst/Parse.cs', 'Gst/ParseContext.cs', - 'Gst/LockFlags.cs', - 'Gst/StackTraceFlags.cs', - 'Gst/GstSharp.TaskPoolFunctionNative.cs', - 'Gst/Task.cs', - 'Gst/GstSharp.ClockCallbackNative.cs', - 'Gst/Registry.cs', - 'Gst/TracerRecord.cs', - 'Gst/Query.cs', - 'Gst/PadEventFunction.cs', - 'Gst/GstSharp.IteratorFreeFunctionNative.cs', - 'Gst/TocEntryType.cs', + 'Gst/ParseError.cs', + 'Gst/ParseFlags.cs', + 'Gst/Pipeline.cs', + 'Gst/PipelineFlags.cs', + 'Gst/Plugin.cs', + 'Gst/PluginAddedHandler.cs', + 'Gst/PluginDependencyFlags.cs', + 'Gst/PluginDesc.cs', + 'Gst/PluginError.cs', + 'Gst/PluginFeature.cs', + 'Gst/PluginFeatureFilter.cs', + 'Gst/PluginFilter.cs', + 'Gst/PluginFlags.cs', + 'Gst/PluginInitFullFunc.cs', + 'Gst/PluginInitFunc.cs', 'Gst/Poll.cs', - 'Gst/MemoryShareFunction.cs', + 'Gst/PollFD.cs', + 'Gst/PresetAdapter.cs', + 'Gst/ProgressType.cs', + 'Gst/Promise.cs', + 'Gst/PromiseChangeFunc.cs', + 'Gst/PromiseResult.cs', + 'Gst/ProtectionMeta.cs', + 'Gst/ProviderHiddenHandler.cs', + 'Gst/ProviderUnhiddenHandler.cs', + 'Gst/ProxyPad.cs', + 'Gst/QOSType.cs', + 'Gst/Query.cs', + 'Gst/QueryType.cs', + 'Gst/QueryTypeFlags.cs', + 'Gst/Rank.cs', + 'Gst/ReferenceTimestampMeta.cs', + 'Gst/Registry.cs', 'Gst/ResourceError.cs', - 'Gst/Tag.cs', - 'Gst/BinFlags.cs', - 'Gst/PadLinkReturn.cs', - 'Gst/Bus.cs', - 'Gst/GstSharp.PadIterIntLinkFunctionNative.cs', + 'Gst/Sample.cs', + 'Gst/SchedulingFlags.cs', + 'Gst/SearchMode.cs', + 'Gst/SeekFlags.cs', + 'Gst/SeekType.cs', 'Gst/Segment.cs', - 'Gst/GstSharp.PadChainFunctionNative.cs', - 'Gst/CapsIntersectMode.cs', - 'Gst/TaskPool.cs', - 'Gst/CapsForeachFunc.cs', - 'Gst/TypeFindFactory.cs', + 'Gst/SegmentFlags.cs', + 'Gst/StackTraceFlags.cs', 'Gst/State.cs', - 'Gst/Message.cs', - 'Gst/Context.cs', - 'Gst/LogFunction.cs', - 'Gst/TagSetterAdapter.cs', - 'Gst/GstSharp.PluginInitFullFuncNative.cs', - 'Gst/ParseError.cs', - 'Gst/IURIHandler.cs', - 'Gst/PadChainListFunction.cs', - 'Gst/MemoryUnmapFunction.cs', + 'Gst/StateChange.cs', 'Gst/StateChangeReturn.cs', - 'Gst/PadTemplate.cs', + 'Gst/StaticCaps.cs', + 'Gst/StaticPadTemplate.cs', + 'Gst/Stream.cs', + 'Gst/StreamCollection.cs', 'Gst/StreamError.cs', - 'Gst/ObjectFlags.cs', - 'Gst/GstSharp.PadStickyEventsForeachFunctionNative.cs', - 'Gst/BusFlags.cs', - 'Gst/ParamArray.cs', - 'Gst/MessageHandler.cs', - 'Gst/BusSyncHandler.cs', - 'Gst/ClockEntryType.cs', + 'Gst/StreamFlags.cs', + 'Gst/StreamNotifyHandler.cs', 'Gst/StreamStatusType.cs', - 'Gst/CapsFeatures.cs', - 'Gst/PadMode.cs', - 'Gst/Parse.cs', - 'Gst/GstSharp.PadEventFunctionNative.cs', - 'Gst/TaskState.cs', - 'Gst/DebugFuncPtr.cs', - 'Gst/Iterator.cs', - 'Gst/Rank.cs', - 'Gst/MapInfo.cs', - 'Gst/GstSharp.ValueCompareFuncNative.cs', - 'Gst/FeatureAddedHandler.cs', - 'Gst/ControlSourceGetValue.cs', - 'Gst/BufferPool.cs', - 'Gst/Format.cs', - 'Gst/Plugin.cs', - 'Gst/PadActivateModeFunction.cs', - 'Gst/PadDirection.cs', - 'Gst/GstSharp.BufferForeachMetaFuncNative.cs', - 'Gst/GstSharp.StructureForeachFuncNative.cs', - 'Gst/DebugColorMode.cs', - 'Gst/GstSharp.BusSyncHandlerNative.cs', - 'Gst/SyncedHandler.cs', - 'Gst/DoLatencyHandler.cs', - 'Gst/BusSyncReply.cs', - 'Gst/PadPresence.cs', - 'Gst/ControlSource.cs', - 'Gst/GstSharp.PluginInitFuncNative.cs', - 'Gst/PadEventFullFunction.cs', - 'Gst/SearchMode.cs', - 'Gst/ChildProxyAdapter.cs', - 'Gst/IChildProxy.cs', - 'Gst/PadStickyEventsForeachFunction.cs', - 'Gst/SeekType.cs', - 'Gst/GstSharp.MemoryMapFullFunctionNative.cs', - 'Gst/GstSharp.MiniObjectCopyFunctionNative.cs', - 'Gst/BufferListFunc.cs', - 'Gst/MemoryIsSpanFunction.cs', - 'Gst/ITocSetter.cs', - 'Gst/MetaTransformFunction.cs', - 'Gst/Constants.cs', - 'Gst/PadCreatedEventHandler.cs', - 'Gst/ProviderHiddenHandler.cs', + 'Gst/StreamType.cs', + 'Gst/Structure.cs', + 'Gst/StructureChangeType.cs', 'Gst/StructureFilterMapFunc.cs', - 'Gst/PluginAddedHandler.cs', - 'Gst/ValueArray.cs', - 'Gst/DebugGraphDetails.cs', - 'Gst/IteratorItemFunction.cs', 'Gst/StructureForeachFunc.cs', - 'Gst/EventType.cs', - 'Gst/ElementAddedHandler.cs', - 'Gst/Util.cs', - 'Gst/CapsFilterMapFunc.cs', - 'Gst/GstSharp.TaskThreadFuncNative.cs', - 'Gst/PipelineFlags.cs', - 'Gst/FormatDefinition.cs', - 'Gst/URIType.cs', - 'Gst/ParamFraction.cs', - 'Gst/TracerFactory.cs', - 'Gst/GstSharp.MetaInitFunctionNative.cs', - 'Gst/TypeFindProbability.cs', - 'Gst/Bin.cs', - 'Gst/GstSharp.MemoryCopyFunctionNative.cs', - 'Gst/StateChange.cs', - 'Gst/LinkedHandler.cs', - 'Gst/GstSharp.PluginFeatureFilterNative.cs', - 'Gst/TocEntry.cs', - 'Gst/EventTypeFlags.cs', - 'Gst/IteratorFreeFunction.cs', + 'Gst/StructureMapFunc.cs', + 'Gst/SyncMessageHandler.cs', + 'Gst/SyncedHandler.cs', + 'Gst/SystemClock.cs', + 'Gst/Tag.cs', + 'Gst/TagFlag.cs', + 'Gst/TagForeachFunc.cs', 'Gst/TagList.cs', + 'Gst/TagMergeFunc.cs', + 'Gst/TagMergeMode.cs', + 'Gst/TagScope.cs', + 'Gst/TagSetterAdapter.cs', + 'Gst/Task.cs', + 'Gst/TaskFunction.cs', + 'Gst/TaskPool.cs', 'Gst/TaskPoolFunction.cs', - 'Gst/BufferForeachMetaFunc.cs', - 'Gst/SegmentFlags.cs', - 'Gst/PollFD.cs', - 'Gst.Tags/TagXmpWriterAdapter.cs', - 'Gst.Tags/Global.cs', - 'Gst.Tags/TagMux.cs', - 'Gst.Tags/TagDemux.cs', - 'Gst.Tags/ITagXmpWriter.cs', - 'Gst.Tags/TagImageType.cs', - 'Gst.Tags/TagLicenseFlags.cs', - 'Gst.Tags/TagDemuxResult.cs', - 'Gst.Tags/Constants.cs', - 'Gst.FFT/FFTS16.cs', - 'Gst.FFT/Global.cs', - 'Gst.FFT/FFTF64.cs', - 'Gst.FFT/FFTF64Complex.cs', - 'Gst.FFT/FFTS32.cs', - 'Gst.FFT/FFTWindow.cs', - 'Gst.FFT/FFTF32.cs', - 'Gst.FFT/FFTF32Complex.cs', - 'Gst.FFT/FFTS16Complex.cs', - 'Gst.FFT/FFTS32Complex.cs', - 'Gst.FFT/Constants.cs', - 'Gst.App/NewSampleHandler.cs', - 'Gst.App/AppSrc.cs', - 'Gst.App/SeekDataHandler.cs', - 'Gst.App/TryPullPrerollEventHandler.cs', - 'Gst.App/Global.cs', - 'Gst.App/NeedDataHandler.cs', - 'Gst.App/AppSink.cs', - 'Gst.App/NewPrerollHandler.cs', - 'Gst.App/TryPullSampleEventHandler.cs', - 'Gst.App/AppStreamType.cs', - 'Gst.App/AppSrcCallbacks.cs', - 'Gst.App/AppSinkCallbacks.cs', - 'Gst.App/PushSampleEventHandler.cs', - 'Gst.App/PushBufferEventHandler.cs', - 'Gst.App/Constants.cs', - 'Gst.App/EndOfStreamEventHandler.cs', - 'Gst.Video/VideoDitherFlags.cs', - 'Gst.Video/VideoCodecFrameFlags.cs', - 'Gst.Video/VideoInterlaceMode.cs', - 'Gst.Video/VideoGammaMode.cs', - 'Gst.Video/VideoMultiviewMode.cs', - 'Gst.Video/VideoMultiviewFramePacking.cs', - 'Gst.Video/VideoFormatPack.cs', - 'Gst.Video/VideoAlignment.cs', - 'Gst.Video/VideoDither.cs', - 'Gst.Video/NavigationQueryType.cs', - 'Gst.Video/Gst.VideoSharp.VideoGLTextureUploadNative.cs', - 'Gst.Video/NavigationEventType.cs', - 'Gst.Video/VideoFormat.cs', - 'Gst.Video/IVideoDirection.cs', - 'Gst.Video/VideoTimeCode.cs', - 'Gst.Video/NavigationAdapter.cs', - 'Gst.Video/Global.cs', - 'Gst.Video/VideoResamplerFlags.cs', - 'Gst.Video/VideoInfo.cs', - 'Gst.Video/ColorBalanceType.cs', - 'Gst.Video/VideoScaler.cs', - 'Gst.Video/VideoDecoder.cs', - 'Gst.Video/VideoMetaTransform.cs', - 'Gst.Video/VideoAffineTransformationMeta.cs', - 'Gst.Video/IVideoOverlay.cs', - 'Gst.Video/VideoFlags.cs', - 'Gst.Video/IColorBalance.cs', - 'Gst.Video/VideoChromaResample.cs', - 'Gst.Video/VideoTimeCodeInterval.cs', - 'Gst.Video/VideoSink.cs', - 'Gst.Video/VideoPackFlags.cs', - 'Gst.Video/VideoResampler.cs', - 'Gst.Video/VideoColorRange.cs', - 'Gst.Video/VideoOrientationMethod.cs', - 'Gst.Video/Gst.VideoSharp.VideoFormatPackNative.cs', - 'Gst.Video/VideoColorPrimariesInfo.cs', - 'Gst.Video/VideoFilter.cs', - 'Gst.Video/VideoChromaMode.cs', - 'Gst.Video/VideoDirectionAdapter.cs', - 'Gst.Video/VideoColorMatrix.cs', - 'Gst.Video/VideoGLTextureUpload.cs', - 'Gst.Video/INavigation.cs', - 'Gst.Video/VideoGLTextureOrientation.cs', - 'Gst.Video/VideoFormatFlags.cs', - 'Gst.Video/VideoFrameFlags.cs', - 'Gst.Video/VideoOverlayCompositionMeta.cs', - 'Gst.Video/VideoOverlayRectangle.cs', - 'Gst.Video/VideoTileType.cs', - 'Gst.Video/Gst.VideoSharp.VideoAffineTransformationGetMatrixNative.cs', - 'Gst.Video/VideoGLTextureUploadMeta.cs', - 'Gst.Video/VideoFormatInfo.cs', - 'Gst.Video/VideoFormatUnpack.cs', - 'Gst.Video/VideoTimeCodeConfig.cs', - 'Gst.Video/VideoTransferFunction.cs', - 'Gst.Video/Gst.VideoSharp.VideoConvertSampleCallbackNative.cs', - 'Gst.Video/VideoChromaSite.cs', - 'Gst.Video/VideoColorimetry.cs', - 'Gst.Video/ValueChangedEventHandler.cs', - 'Gst.Video/VideoScalerFlags.cs', - 'Gst.Video/VideoAlphaMode.cs', - 'Gst.Video/VideoResamplerMethod.cs', - 'Gst.Video/VideoCodecFrame.cs', - 'Gst.Video/Gst.VideoSharp.VideoFormatUnpackNative.cs', - 'Gst.Video/ValueChangedHandler.cs', - 'Gst.Video/VideoRectangle.cs', - 'Gst.Video/VideoConvertSampleCallback.cs', - 'Gst.Video/NavigationMessageType.cs', - 'Gst.Video/VideoEncoder.cs', - 'Gst.Video/VideoTimeCodeMeta.cs', - 'Gst.Video/VideoOverlayComposition.cs', - 'Gst.Video/VideoColorPrimaries.cs', - 'Gst.Video/VideoTimeCodeFlags.cs', - 'Gst.Video/VideoBufferPool.cs', - 'Gst.Video/VideoOrientationAdapter.cs', - 'Gst.Video/VideoChromaMethod.cs', - 'Gst.Video/IVideoOrientation.cs', - 'Gst.Video/VideoFrameMapFlags.cs', - 'Gst.Video/VideoCropMeta.cs', - 'Gst.Video/VideoBufferFlags.cs', - 'Gst.Video/VideoFrame.cs', - 'Gst.Video/VideoMeta.cs', - 'Gst.Video/VideoConverter.cs', - 'Gst.Video/ColorBalanceAdapter.cs', - 'Gst.Video/VideoChromaFlags.cs', - 'Gst.Video/VideoCodecState.cs', - 'Gst.Video/VideoGLTextureType.cs', - 'Gst.Video/Constants.cs', - 'Gst.Video/ColorBalanceChannel.cs', - 'Gst.Video/VideoOverlayFormatFlags.cs', - 'Gst.Video/VideoMultiviewFlagsSet.cs', - 'Gst.Video/NavigationCommand.cs', - 'Gst.Video/VideoDitherMethod.cs', - 'Gst.Video/VideoOverlayAdapter.cs', - 'Gst.Video/VideoRegionOfInterestMeta.cs', - 'Gst.Video/VideoPrimariesMode.cs', - 'Gst.Video/VideoFieldOrder.cs', - 'Gst.Video/VideoAffineTransformationGetMatrix.cs', - 'Gst.Video/VideoMatrixMode.cs', - 'Gst.Video/VideoTileMode.cs', - 'Gst.Video/VideoMultiviewFlags.cs', + 'Gst/TaskState.cs', + 'Gst/TaskThreadFunc.cs', + 'Gst/TimedValue.cs', + 'Gst/Toc.cs', + 'Gst/TocEntry.cs', + 'Gst/TocEntryType.cs', + 'Gst/TocLoopType.cs', + 'Gst/TocScope.cs', + 'Gst/TocSetterAdapter.cs', + 'Gst/Tracer.cs', + 'Gst/TracerFactory.cs', + 'Gst/TracerRecord.cs', + 'Gst/TracerValueFlags.cs', + 'Gst/TracerValueScope.cs', + 'Gst/TypeFind.cs', + 'Gst/TypeFindFactory.cs', + 'Gst/TypeFindFunction.cs', + 'Gst/TypeFindProbability.cs', + 'Gst/URIError.cs', + 'Gst/URIHandlerAdapter.cs', + 'Gst/URIType.cs', + 'Gst/UnlinkedHandler.cs', + 'Gst/Uri.cs', + 'Gst/Util.cs', + 'Gst/Value.cs', + 'Gst/ValueArray.cs', + 'Gst/ValueCompareFunc.cs', + 'Gst/ValueDeserializeFunc.cs', + 'Gst/ValueList.cs', + 'Gst/ValueSerializeFunc.cs', + 'Gst/ValueTable.cs', 'GtkSharp/ObjectManager.cs', - 'Gst.Controller/InterpolationControlSource.cs', - 'Gst.Controller/ValueAddedHandler.cs', - 'Gst.Controller/Global.cs', - 'Gst.Controller/TimedValueControlSource.cs', - 'Gst.Controller/LFOControlSource.cs', - 'Gst.Controller/LFOWaveform.cs', - 'Gst.Controller/ProxyControlBinding.cs', - 'Gst.Controller/ARGBControlBinding.cs', - 'Gst.Controller/ValueRemovedHandler.cs', - 'Gst.Controller/Gst.ControllerSharp.DirectControlBindingConvertGValueNative.cs', - 'Gst.Controller/ValueChangedHandler.cs', - 'Gst.Controller/ControlPoint.cs', - 'Gst.Controller/DirectControlBinding.cs', - 'Gst.Controller/TriggerControlSource.cs', - 'Gst.Controller/InterpolationMode.cs', - 'Gst.Controller/DirectControlBindingConvertGValue.cs', - 'Gst.Controller/Constants.cs', - 'Gst.Controller/Gst.ControllerSharp.DirectControlBindingConvertValueNative.cs', - 'Gst.Controller/DirectControlBindingConvertValue.cs', - 'Gst.Audio/Gst.AudioSharp.AudioRingBufferCallbackNative.cs', - 'Gst.Audio/AudioRingBufferCallback.cs', - 'Gst.Audio/AudioCdSrcTrack.cs', - 'Gst.Audio/AudioFormatPack.cs', - 'Gst.Audio/Global.cs', - 'Gst.Audio/AudioCdSrcMode.cs', - 'Gst.Audio/AudioClockGetTimeFunc.cs', - 'Gst.Audio/AudioResamplerMethod.cs', - 'Gst.Audio/Gst.AudioSharp.AudioFormatPackNative.cs', - 'Gst.Audio/AudioFormatInfo.cs', - 'Gst.Audio/AudioDownmixMeta.cs', - 'Gst.Audio/AudioConverterFlags.cs', - 'Gst.Audio/AudioClippingMeta.cs', - 'Gst.Audio/AudioResampler.cs', - 'Gst.Audio/Gst.AudioSharp.AudioFormatUnpackNative.cs', - 'Gst.Audio/AudioSrc.cs', - 'Gst.Audio/AudioRingBufferFormatType.cs', - 'Gst.Audio/AudioSink.cs', - 'Gst.Audio/StreamVolumeFormat.cs', - 'Gst.Audio/AudioBaseSrcSlaveMethod.cs', - 'Gst.Audio/AudioQuantizeFlags.cs', - 'Gst.Audio/AudioRingBuffer.cs', - 'Gst.Audio/AudioFormatUnpack.cs', - 'Gst.Audio/AudioEncoder.cs', - 'Gst.Audio/AudioBaseSinkDiscontReason.cs', - 'Gst.Audio/Gst.AudioSharp.AudioBaseSinkCustomSlavingCallbackNative.cs', - 'Gst.Audio/AudioNoiseShapingMethod.cs', - 'Gst.Audio/AudioFormat.cs', - 'Gst.Audio/AudioRingBufferState.cs', - 'Gst.Audio/AudioChannelMixer.cs', - 'Gst.Audio/AudioDecoder.cs', - 'Gst.Audio/AudioCdSrc.cs', - 'Gst.Audio/AudioFlags.cs', - 'Gst.Audio/AudioResamplerFlags.cs', - 'Gst.Audio/AudioFilter.cs', - 'Gst.Audio/AudioClock.cs', - 'Gst.Audio/AudioLayout.cs', - 'Gst.Audio/AudioBaseSink.cs', - 'Gst.Audio/AudioQuantize.cs', - 'Gst.Audio/AudioPackFlags.cs', - 'Gst.Audio/Gst.AudioSharp.AudioClockGetTimeFuncNative.cs', - 'Gst.Audio/IStreamVolume.cs', - 'Gst.Audio/AudioRingBufferSpec.cs', - 'Gst.Audio/AudioFormatFlags.cs', - 'Gst.Audio/AudioDitherMethod.cs', - 'Gst.Audio/AudioBaseSrc.cs', - 'Gst.Audio/AudioChannelMixerFlags.cs', - 'Gst.Audio/Constants.cs', - 'Gst.Audio/AudioInfo.cs', - 'Gst.Audio/AudioBaseSinkSlaveMethod.cs', - 'Gst.Audio/AudioBaseSinkCustomSlavingCallback.cs', - 'Gst.Audio/StreamVolumeAdapter.cs', - 'Gst.Audio/AudioConverter.cs', - 'Gst.Audio/AudioResamplerFilterMode.cs', - 'Gst.Audio/AudioChannelPosition.cs', - 'Gst.Audio/AudioResamplerFilterInterpolation.cs', - 'Gst.Net/NetClientClock.cs', - 'Gst.Net/Global.cs', - 'Gst.Net/PtpClock.cs', - 'Gst.Net/Gst.NetSharp.PtpStatisticsCallbackNative.cs', - 'Gst.Net/NetControlMessageMeta.cs', - 'Gst.Net/NetAddressMeta.cs', - 'Gst.Net/NetTimePacket.cs', - 'Gst.Net/Constants.cs', - 'Gst.Net/PtpStatisticsCallback.cs', - 'Gst.Net/NetTimeProvider.cs', - 'Gst.Rtp/RTCPPacket.cs', - 'Gst.Rtp/RTPPayload.cs', - 'Gst.Rtp/Global.cs', - 'Gst.Rtp/RTCPBuffer.cs', - 'Gst.Rtp/RTCPFBType.cs', - 'Gst.Rtp/RTCPType.cs', - 'Gst.Rtp/RTCPSDESType.cs', - 'Gst.Rtp/RTPProfile.cs', - 'Gst.Rtp/RTPBufferFlags.cs', - 'Gst.Rtp/RTPBaseDepayload.cs', - 'Gst.Rtp/RTPPayloadInfo.cs', - 'Gst.Rtp/RTPBasePayload.cs', - 'Gst.Rtp/RTPBufferMapFlags.cs', - 'Gst.Rtp/Constants.cs', - 'Gst.Rtp/RTPBuffer.cs', - 'Gst.Rtp/RTPBaseAudioPayload.cs', - 'Gst.Base/AggregatorPad.cs', - 'Gst.Base/Aggregator.cs', - 'Gst.App/PushBufferListEventHandler.cs', - 'Gst/PromiseChangeFunc.cs', - 'Gst/PromiseResult.cs', - 'Gst/GstSharp.ElementForeachPadFuncNative.cs', - 'Gst/Promise.cs', - 'Gst/ElementForeachPadFunc.cs', - 'Gst/GstSharp.PromiseChangeFuncNative.cs', - 'Gst.Rtsp/RTSPConnectionAcceptCertificateFunc.cs', - 'Gst.Rtsp/Gst.RtspSharp.RTSPConnectionAcceptCertificateFuncNative.cs', - 'Gst.Audio/AudioStreamAlign.cs', - 'Gst.Video/VideoOverlayProperties.cs', - 'Gst.WebRTC/WebRTCPeerConnectionState.cs', - 'Gst.WebRTC/WebRTCSessionDescription.cs', - 'Gst.WebRTC/WebRTCICEGatheringState.cs', - 'Gst.WebRTC/WebRTCRTPTransceiverDirection.cs', - 'Gst.WebRTC/WebRTCRTPTransceiver.cs', - 'Gst.WebRTC/OnNewCandidateHandler.cs', - 'Gst.WebRTC/WebRTCICERole.cs', - 'Gst.WebRTC/Global.cs', - 'Gst.WebRTC/WebRTCICEComponent.cs', - 'Gst.WebRTC/WebRTCICEConnectionState.cs', - 'Gst.WebRTC/WebRTCDTLSTransport.cs', - 'Gst.WebRTC/WebRTCICETransport.cs', - 'Gst.WebRTC/WebRTCSDPType.cs', - 'Gst.WebRTC/WebRTCRTPSender.cs', - 'Gst.WebRTC/WebRTCSignalingState.cs', - 'Gst.WebRTC/WebRTCDTLSTransportState.cs', - 'Gst.WebRTC/WebRTCDTLSSetup.cs', - 'Gst.WebRTC/WebRTCRTPReceiver.cs', - 'Gst.WebRTC/WebRTCStatsType.cs', - 'Gst.WebRTC/Constants.cs', ] run_target('update_gstreamer_code', diff --git a/sources/gstreamer-sharp-api.raw b/sources/gstreamer-sharp-api.raw index d132b09..a048c4d 100644 --- a/sources/gstreamer-sharp-api.raw +++ b/sources/gstreamer-sharp-api.raw @@ -228,6 +228,7 @@ <member cname="GST_QUERY_CAPS" name="Caps" value="43523"/> <member cname="GST_QUERY_DRAIN" name="Drain" value="46086"/> <member cname="GST_QUERY_CONTEXT" name="Context" value="48643"/> + <member cname="GST_QUERY_BITRATE" name="Bitrate" value="51202"/> </enum> <enum name="Rank" cname="GstRank" type="enum" gtype="gst_rank_get_type"> <member cname="GST_RANK_NONE" name="None" value="0"/> @@ -466,13 +467,13 @@ <member cname="GST_DEBUG_UNDERLINE" name="Underline" value="512"/> </enum> <enum name="DebugGraphDetails" cname="GstDebugGraphDetails" type="flags" gtype="gst_debug_graph_details_get_type"> - <member cname="GST_DEBUG_GRAPH_SHOW_VERBOSE" name="Verbose" value="-1"/> <member cname="GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE" name="MediaType" value="1"/> <member cname="GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS" name="CapsDetails" value="2"/> <member cname="GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS" name="NonDefaultParams" value="4"/> <member cname="GST_DEBUG_GRAPH_SHOW_STATES" name="States" value="8"/> <member cname="GST_DEBUG_GRAPH_SHOW_ALL" name="All" value="15"/> <member cname="GST_DEBUG_GRAPH_SHOW_FULL_PARAMS" name="FullParams" value="16"/> + <member cname="GST_DEBUG_GRAPH_SHOW_VERBOSE" name="Verbose" value="4294967295"/> </enum> <enum name="ElementFlags" cname="GstElementFlags" type="flags" gtype="gst_element_flags_get_type"> <member cname="GST_ELEMENT_FLAG_LOCKED_STATE" name="LockedState" value="16"/> @@ -550,6 +551,7 @@ <member cname="GST_MESSAGE_STREAM_COLLECTION" name="StreamCollection" value="2147483652"/> <member cname="GST_MESSAGE_STREAMS_SELECTED" name="StreamsSelected" value="2147483653"/> <member cname="GST_MESSAGE_REDIRECT" name="Redirect" value="2147483654"/> + <member cname="GST_MESSAGE_DEVICE_CHANGED" name="DeviceChanged" value="2147483654"/> <member cname="GST_MESSAGE_ANY" name="Any" value="4294967295"/> </enum> <enum name="MetaFlags" cname="GstMetaFlags" type="flags" gtype="gst_meta_flags_get_type"> @@ -2307,7 +2309,7 @@ <method name="GetPollfd" cname="gst_bus_get_pollfd" version="1.14"> <return-type type="void"/> <parameters> - <parameter name="fd" type="GPollFD*"> + <parameter name="fd" type="GPollFD*" pass_as="out"> <warning>missing glib:type-name</warning> </parameter> </parameters> @@ -2447,6 +2449,12 @@ <parameter allow-none="1" name="id2" type="gpointer"/> </parameters> </method> + <method name="IdGetClock" cname="gst_clock_id_get_clock" shared="true" version="1.16"> + <return-type type="GstClock*" owned="true"/> + <parameters> + <parameter name="id" type="gpointer"/> + </parameters> + </method> <method name="IdGetTime" cname="gst_clock_id_get_time" shared="true"> <return-type type="guint64"/> <parameters> @@ -2471,6 +2479,13 @@ <parameter name="id" type="gpointer"/> </parameters> </method> + <method name="IdUsesClock" cname="gst_clock_id_uses_clock" shared="true" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="id" type="gpointer"/> + <parameter name="clock" type="GstClock*"/> + </parameters> + </method> <method name="IdWait" cname="gst_clock_id_wait" shared="true"> <return-type type="GstClockReturn"/> <parameters> @@ -3053,6 +3068,13 @@ <parameter name="device" type="GstDevice*"/> </parameters> </method> + <method name="DeviceChanged" cname="gst_device_provider_device_changed" version="1.16"> + <return-type type="void"/> + <parameters> + <parameter name="device" type="GstDevice*"/> + <parameter name="changed_device" type="GstDevice*"/> + </parameters> + </method> <method name="DeviceRemove" cname="gst_device_provider_device_remove" version="1.4"> <return-type type="void"/> <parameters> @@ -6129,6 +6151,13 @@ <parameter name="size" type="gsize"/> </parameters> </constructor> + <constructor cname="gst_buffer_new_wrapped_bytes" version="1.16"> + <parameters> + <parameter name="bytes" type="GBytes*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </constructor> <constructor cname="gst_buffer_new_wrapped_full"> <parameters> <parameter name="flags" type="GstMemoryFlags"/> @@ -6655,6 +6684,12 @@ </parameter> </parameters> </method> + <method name="Copy" cname="gst_caps_copy"> + <return-type type="GstCaps*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters/> + </method> <method name="CopyNth" cname="gst_caps_copy_nth"> <return-type type="GstCaps*" owned="true"> <warning>missing glib:type-name</warning> @@ -6856,6 +6891,14 @@ </parameter> </parameters> </method> + <method name="SetFeaturesSimple" cname="gst_caps_set_features_simple" version="1.16"> + <return-type type="void"/> + <parameters> + <parameter allow-none="1" name="features" type="GstCapsFeatures*" owned="true"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="SetValue" cname="gst_caps_set_value"> <return-type type="void"/> <parameters> @@ -7915,6 +7958,13 @@ <parameter name="device" type="GstDevice*"/> </parameters> </constructor> + <constructor cname="gst_message_new_device_changed" version="1.16"> + <parameters> + <parameter name="src" type="GstObject*"/> + <parameter name="device" type="GstDevice*"/> + <parameter name="changed_device" type="GstDevice*"/> + </parameters> + </constructor> <constructor cname="gst_message_new_device_removed" version="1.4"> <parameters> <parameter name="src" type="GstObject*"/> @@ -8261,6 +8311,13 @@ <parameter allow-none="1" name="device" type="GstDevice*" owned="true" pass_as="out"/> </parameters> </method> + <method name="ParseDeviceChanged" cname="gst_message_parse_device_changed" version="1.16"> + <return-type type="void"/> + <parameters> + <parameter allow-none="1" name="device" type="GstDevice*" owned="true" pass_as="out"/> + <parameter allow-none="1" name="changed_device" type="GstDevice*" owned="true" pass_as="out"/> + </parameters> + </method> <method name="ParseDeviceRemoved" cname="gst_message_parse_device_removed" version="1.4"> <return-type type="void"/> <parameters> @@ -8569,6 +8626,18 @@ <field cname="info" access="public" writeable="true" readable="true" is_callback="false" name="Info" type="GstMetaInfo*"> <warning>missing glib:type-name</warning> </field> + <method name="CompareSeqnum" cname="gst_meta_compare_seqnum" version="1.16"> + <return-type type="gint"/> + <parameters> + <parameter name="meta2" type="GstMeta*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> + <method name="GetSeqnum" cname="gst_meta_get_seqnum" version="1.16"> + <return-type type="guint64"/> + <parameters/> + </method> <method name="ApiTypeGetTags" cname="gst_meta_api_type_get_tags" shared="true" version="1.2"> <return-type type="const-gchar**" array="true" null_term_array="true"/> <parameters> @@ -8586,7 +8655,7 @@ <return-type type="GType"/> <parameters> <parameter name="api" type="const-gchar*"/> - <parameter name="tags" type="const-gchar*"/> + <parameter name="tags" type="const-gchar**" array="true" null_term_array="true"/> </parameters> </method> <method name="GetInfo" cname="gst_meta_get_info" shared="true"> @@ -8632,8 +8701,16 @@ <field cname="copy" access="public" writeable="true" readable="true" is_callback="false" name="CopyFunc" type="GstMiniObjectCopyFunction"/> <field cname="dispose" access="public" writeable="true" readable="true" is_callback="false" name="Dispose" type="GstMiniObjectDisposeFunction"/> <field cname="free" access="public" writeable="true" readable="true" is_callback="false" name="Free" type="GstMiniObjectFreeFunction"/> - <field cname="n_qdata" access="private" writeable="false" readable="false" is_callback="false" name="NQdata" type="guint"/> - <field cname="qdata" access="private" writeable="false" readable="false" is_callback="false" name="Qdata" type="gpointer"/> + <field cname="priv_uint" access="private" writeable="false" readable="false" is_callback="false" name="PrivUint" type="guint"/> + <field cname="priv_pointer" access="private" writeable="false" readable="false" is_callback="false" name="PrivPointer" type="gpointer"/> + <method name="AddParent" cname="gst_mini_object_add_parent" version="1.16"> + <return-type type="void"/> + <parameters> + <parameter name="parent" type="GstMiniObject*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="GetQdata" cname="gst_mini_object_get_qdata"> <return-type type="gpointer"/> <parameters> @@ -8656,6 +8733,14 @@ </return-type> <parameters/> </method> + <method name="RemoveParent" cname="gst_mini_object_remove_parent" version="1.16"> + <return-type type="void"/> + <parameters> + <parameter name="parent" type="GstMiniObject*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="SetQdata" cname="gst_mini_object_set_qdata"> <return-type type="void"/> <parameters> @@ -8827,6 +8912,15 @@ </parameter> </parameters> </method> + <method name="FdCtlPri" cname="gst_poll_fd_ctl_pri" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="fd" type="GstPollFD*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="active" type="gboolean"/> + </parameters> + </method> <method name="FdCtlRead" cname="gst_poll_fd_ctl_read"> <return-type type="gboolean"/> <parameters> @@ -8861,6 +8955,14 @@ </parameter> </parameters> </method> + <method name="FdHasPri" cname="gst_poll_fd_has_pri" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="fd" type="GstPollFD*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="FdIgnored" cname="gst_poll_fd_ignored"> <return-type type="void"/> <parameters> @@ -9007,6 +9109,7 @@ <parameter name="need_pool" type="gboolean"/> </parameters> </constructor> + <constructor cname="gst_query_new_bitrate" disable_void_ctor="" version="1.16"/> <constructor cname="gst_query_new_buffering"> <parameters> <parameter name="format" type="GstFormat"/> @@ -9173,6 +9276,12 @@ <parameter allow-none="1" name="need_pool" type="gboolean*" owned="true" pass_as="out"/> </parameters> </method> + <method name="ParseBitrate" cname="gst_query_parse_bitrate" version="1.16"> + <return-type type="void"/> + <parameters> + <parameter allow-none="1" name="nominal_bitrate" type="guint*" owned="true" pass_as="out"/> + </parameters> + </method> <method name="ParseBufferingPercent" cname="gst_query_parse_buffering_percent"> <return-type type="void"/> <parameters> @@ -9384,6 +9493,12 @@ <parameter name="_result" type="gboolean"/> </parameters> </method> + <method name="SetBitrate" cname="gst_query_set_bitrate" version="1.16"> + <return-type type="void"/> + <parameters> + <parameter name="nominal_bitrate" type="guint"/> + </parameters> + </method> <method name="SetBufferingPercent" cname="gst_query_set_buffering_percent"> <return-type type="void"/> <parameters> @@ -9601,6 +9716,14 @@ </return-type> <parameters/> </method> + <method name="SetBuffer" cname="gst_sample_set_buffer" version="1.16"> + <return-type type="void"/> + <parameters> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="SetBufferList" cname="gst_sample_set_buffer_list" version="1.6"> <return-type type="void"/> <parameters> @@ -9609,6 +9732,30 @@ </parameter> </parameters> </method> + <method name="SetCaps" cname="gst_sample_set_caps" version="1.16"> + <return-type type="void"/> + <parameters> + <parameter name="caps" type="GstCaps*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> + <method name="SetInfo" cname="gst_sample_set_info" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="info" type="GstStructure*" owned="true"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> + <method name="SetSegment" cname="gst_sample_set_segment" version="1.16"> + <return-type type="void"/> + <parameters> + <parameter name="segment" type="GstSegment*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> </boxed> <boxed name="Segment" cname="GstSegment" opaque="false" hidden="false"> <method name="GetType" cname="gst_segment_get_type" shared="true"> @@ -11384,7 +11531,7 @@ <return-type type="GType"/> <parameters> <parameter name="api" type="const-gchar*"/> - <parameter name="tags" type="const-gchar*"/> + <parameter name="tags" type="const-gchar**" array="true" null_term_array="true"/> </parameters> </method> <method name="MetaGetInfo" cname="gst_meta_get_info" shared="true"> @@ -11543,7 +11690,7 @@ <method name="ProtectionFilterSystemsByAvailableDecryptors" cname="gst_protection_filter_systems_by_available_decryptors" shared="true" version="1.14"> <return-type type="gchar***" owned="true" array="true" null_term_array="true"/> <parameters> - <parameter name="system_identifiers" type="const-gchar*"/> + <parameter name="system_identifiers" type="const-gchar**" array="true" null_term_array="true"/> </parameters> </method> <method name="ProtectionMetaApiGetType" cname="gst_protection_meta_api_get_type" shared="true"> @@ -11698,28 +11845,6 @@ </parameter> </parameters> </method> - <method name="TagRegister" cname="gst_tag_register" shared="true"> - <return-type type="void"/> - <parameters> - <parameter name="name" type="const-gchar*"/> - <parameter name="flag" type="GstTagFlag"/> - <parameter name="type" type="GType"/> - <parameter name="nick" type="const-gchar*"/> - <parameter name="blurb" type="const-gchar*"/> - <parameter scope="call" allow-none="1" name="func" type="GstTagMergeFunc"/> - </parameters> - </method> - <method name="TagRegisterStatic" cname="gst_tag_register_static" shared="true"> - <return-type type="void"/> - <parameters> - <parameter name="name" type="const-gchar*"/> - <parameter name="flag" type="GstTagFlag"/> - <parameter name="type" type="GType"/> - <parameter name="nick" type="const-gchar*"/> - <parameter name="blurb" type="const-gchar*"/> - <parameter scope="call" allow-none="1" name="func" type="GstTagMergeFunc"/> - </parameters> - </method> <method name="TocEntryTypeGetNick" cname="gst_toc_entry_type_get_nick" shared="true"> <return-type type="const-gchar*"/> <parameters> @@ -12527,6 +12652,7 @@ <constant value="Encoder" ctype="gchar*" gtype="gchar*" name="ELEMENT_FACTORY_KLASS_ENCODER"/> <constant value="Encryptor" ctype="gchar*" gtype="gchar*" name="ELEMENT_FACTORY_KLASS_ENCRYPTOR"/> <constant value="Formatter" ctype="gchar*" gtype="gchar*" name="ELEMENT_FACTORY_KLASS_FORMATTER"/> + <constant value="Hardware" ctype="gchar*" gtype="gchar*" name="ELEMENT_FACTORY_KLASS_HARDWARE" version="1.16"/> <constant value="Audio" ctype="gchar*" gtype="gchar*" name="ELEMENT_FACTORY_KLASS_MEDIA_AUDIO"/> <constant value="Image" ctype="gchar*" gtype="gchar*" name="ELEMENT_FACTORY_KLASS_MEDIA_IMAGE"/> <constant value="Metadata" ctype="gchar*" gtype="gchar*" name="ELEMENT_FACTORY_KLASS_MEDIA_METADATA"/> @@ -12587,6 +12713,7 @@ <constant value="1024" ctype="gint" gtype="gint" name="PARAM_MUTABLE_READY"/> <constant value="65536" ctype="gint" gtype="gint" name="PARAM_USER_SHIFT"/> <constant value="protection-system" ctype="gchar*" gtype="gchar*" name="PROTECTION_SYSTEM_ID_CAPS_FIELD" version="1.6"/> + <constant value="unspecified-system-id" ctype="gchar*" gtype="gchar*" name="PROTECTION_UNSPECIFIED_SYSTEM_ID" version="1.16"/> <constant value="paA" ctype="gchar*" gtype="gchar*" name="PTR_FORMAT"/> <constant value="8" ctype="gint" gtype="gint" name="QUERY_NUM_SHIFT"/> <constant value="3" ctype="GstQueryTypeFlags" gtype="GstQueryTypeFlags" name="QUERY_TYPE_BOTH"/> @@ -12688,9 +12815,9 @@ <constant value="-1" ctype="gint" gtype="gint" name="VALUE_LESS_THAN"/> <constant value="2" ctype="gint" gtype="gint" name="VALUE_UNORDERED"/> <constant value="1" ctype="gint" gtype="gint" name="VERSION_MAJOR"/> - <constant value="0" ctype="gint" gtype="gint" name="VERSION_MICRO"/> + <constant value="1" ctype="gint" gtype="gint" name="VERSION_MICRO"/> <constant value="15" ctype="gint" gtype="gint" name="VERSION_MINOR"/> - <constant value="1" ctype="gint" gtype="gint" name="VERSION_NANO"/> + <constant value="0" ctype="gint" gtype="gint" name="VERSION_NANO"/> </object> </namespace> <namespace name="GstApp" library="gstapp-1.0"> @@ -13316,7 +13443,7 @@ <warning>missing glib:type-name</warning> </parameter> <parameter name="flags" type="GstAudioPackFlags"/> - <parameter name="src" type="gpointer" array="true"/> + <parameter name="src" type="gconstpointer" array="true"/> <parameter name="data" type="gpointer" array="true"/> <parameter name="length" type="gint"/> </parameters> @@ -13329,7 +13456,7 @@ </parameter> <parameter name="flags" type="GstAudioPackFlags"/> <parameter name="dest" type="gpointer" array="true"/> - <parameter name="data" type="gpointer" array="true"/> + <parameter name="data" type="gconstpointer" array="true"/> <parameter name="length" type="gint"/> </parameters> </callback> @@ -13452,7 +13579,7 @@ <return-type type="GType"/> </method> <property name="ConverterConfig" cname="converter-config" type="GstStructure*" readable="true" writeable="true" construct="false" construct-only="false"/> - <field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GstAudioAggregatorPad*"/> + <field cname="parent" access="private" writeable="false" readable="false" is_callback="false" name="Parent" type="GstAudioAggregatorPad*"/> <field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GstAudioAggregatorConvertPadPrivate*"> <warning>missing glib:type-name</warning> </field> @@ -14079,6 +14206,14 @@ <parameter name="enabled" type="gboolean"/> </parameters> </method> + <method name="SetOutputCaps" cname="gst_audio_decoder_set_output_caps" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="caps" type="GstCaps*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="SetOutputFormat" cname="gst_audio_decoder_set_output_format"> <return-type type="gboolean"/> <parameters> @@ -14801,7 +14936,7 @@ <field cname="acquired" access="public" writeable="false" readable="true" is_callback="false" name="Acquired" type="gboolean"/> <field cname="memory" access="public" writeable="false" readable="true" is_callback="false" name="Memory" type="guint8"/> <field cname="size" access="public" writeable="false" readable="true" is_callback="false" name="Size" type="gsize"/> - <field cname="timestamps" access="public" writeable="false" readable="true" is_callback="false" name="Timestamps" type="guint64"/> + <field cname="timestamps" access="private" writeable="false" readable="false" is_callback="false" name="Timestamps" type="guint64"/> <field cname="spec" access="public" writeable="false" readable="true" is_callback="false" name="Spec" type="GstAudioRingBufferSpec"> <warning>missing glib:type-name</warning> </field> @@ -14943,6 +15078,81 @@ <struct name="AudioAggregatorPrivate" cname="GstAudioAggregatorPrivate" opaque="true" hidden="true"/> <struct name="AudioBaseSinkPrivate" cname="GstAudioBaseSinkPrivate" opaque="true" hidden="true"/> <struct name="AudioBaseSrcPrivate" cname="GstAudioBaseSrcPrivate" opaque="true" hidden="true"/> + <struct name="AudioBuffer" cname="GstAudioBuffer" opaque="false" hidden="false" version="1.16"> + <field cname="info" access="public" writeable="true" readable="true" is_callback="false" name="Info" type="GstAudioInfo"> + <warning>missing glib:type-name</warning> + </field> + <field cname="n_samples" access="public" writeable="true" readable="true" is_callback="false" name="NSamples" type="gsize" array_index="4"/> + <field cname="n_planes" access="public" writeable="true" readable="true" is_callback="false" name="NPlanes" type="gint"/> + <field cname="planes" access="public" writeable="true" readable="true" is_callback="false" name="Planes" type="gpointer"/> + <field cname="buffer" access="public" writeable="true" readable="true" is_callback="false" name="Buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </field> + <field cname="map_infos" access="private" writeable="false" readable="false" is_callback="false" name="MapInfos" type="GstMapInfo*"> + <warning>missing glib:type-name</warning> + </field> + <field cname="priv_planes_arr" access="private" writeable="false" readable="false" is_callback="false" name="PrivPlanesArr" type="gpointer" array="true" array_len="8"/> + <field cname="priv_map_infos_arr" access="private" writeable="false" + readable="false" is_callback="false" + name="PrivMapInfosArr" type="GstMapInfo" array="true" array_len="8"/> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4"/> + <method name="Map" cname="gst_audio_buffer_map" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="info" type="GstAudioInfo*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="gstbuffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="flags" type="GstMapFlags"/> + </parameters> + </method> + <method name="Unmap" cname="gst_audio_buffer_unmap" version="1.16"> + <return-type type="void"/> + <parameters/> + </method> + <method name="Clip" cname="gst_audio_buffer_clip" shared="true"> + <return-type type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="buffer" type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="segment" type="GstSegment*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="rate" type="gint"/> + <parameter name="bpf" type="gint"/> + </parameters> + </method> + <method name="ReorderChannels" cname="gst_audio_buffer_reorder_channels" shared="true"> + <return-type type="gboolean"/> + <parameters> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="format" type="GstAudioFormat"/> + <parameter name="channels" type="gint" array_index="4"/> + <parameter name="from" type="GstAudioChannelPosition*" array="true" array_length_param_index="2"/> + <parameter name="to" type="GstAudioChannelPosition*" array="true" array_length_param_index="2"/> + </parameters> + </method> + <method name="Truncate" cname="gst_audio_buffer_truncate" shared="true" version="1.16"> + <return-type type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="buffer" type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="bpf" type="gint"/> + <parameter name="trim" type="gsize"/> + <parameter name="samples" type="gsize"/> + </parameters> + </method> + </struct> <struct name="AudioCdSrcPrivate" cname="GstAudioCdSrcPrivate" opaque="true" hidden="true"/> <struct name="AudioCdSrcTrack" cname="GstAudioCdSrcTrack" opaque="false" hidden="false"> <field cname="is_audio" access="public" writeable="true" readable="true" is_callback="false" name="IsAudio" type="gboolean"/> @@ -15043,6 +15253,10 @@ <parameter name="in_frames" type="gsize"/> </parameters> </method> + <method name="IsPassthrough" cname="gst_audio_converter_is_passthrough" version="1.16"> + <return-type type="gboolean"/> + <parameters/> + </method> <method name="Reset" cname="gst_audio_converter_reset"> <return-type type="void"/> <parameters/> @@ -15173,6 +15387,23 @@ <parameters/> </method> </boxed> + <struct name="AudioMeta" cname="GstAudioMeta" opaque="false" hidden="false" version="1.16"> + <field cname="meta" access="public" writeable="true" readable="true" is_callback="false" name="Meta" type="GstMeta"> + <warning>missing glib:type-name</warning> + </field> + <field cname="info" access="public" writeable="true" readable="true" is_callback="false" name="Info" type="GstAudioInfo"> + <warning>missing glib:type-name</warning> + </field> + <field cname="samples" access="public" writeable="true" readable="true" is_callback="false" name="Samples" type="gsize"/> + <field cname="offsets" access="public" writeable="true" readable="true" is_callback="false" name="Offsets" type="gsize"/> + <field cname="priv_offsets_arr" access="private" writeable="false" readable="false" is_callback="false" name="PrivOffsetsArr" type="gsize" array="true" array_len="8"/> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4"/> + <method name="GetInfo" cname="gst_audio_meta_get_info" shared="true"> + <return-type type="GstMetaInfo*"> + <warning>missing glib:type-name</warning> + </return-type> + </method> + </struct> <struct name="AudioQuantize" cname="GstAudioQuantize" opaque="true" hidden="false"> <method name="Free" cname="gst_audio_quantize_free"> <return-type type="void"/> @@ -15300,15 +15531,15 @@ <return-type type="void"/> <parameters/> </method> - <method name="GetAlignmentThreshold" cname="gst_audio_stream_align_get_alignment_threshold"> + <method name="GetAlignmentThreshold" cname="gst_audio_stream_align_get_alignment_threshold" version="1.14"> <return-type type="guint64"/> <parameters/> </method> - <method name="GetDiscontWait" cname="gst_audio_stream_align_get_discont_wait"> + <method name="GetDiscontWait" cname="gst_audio_stream_align_get_discont_wait" version="1.14"> <return-type type="guint64"/> <parameters/> </method> - <method name="GetRate" cname="gst_audio_stream_align_get_rate"> + <method name="GetRate" cname="gst_audio_stream_align_get_rate" version="1.14"> <return-type type="gint"/> <parameters/> </method> @@ -15335,19 +15566,19 @@ <parameter name="out_sample_position" type="guint64*" owned="true" pass_as="out"/> </parameters> </method> - <method name="SetAlignmentThreshold" cname="gst_audio_stream_align_set_alignment_threshold"> + <method name="SetAlignmentThreshold" cname="gst_audio_stream_align_set_alignment_threshold" version="1.14"> <return-type type="void"/> <parameters> <parameter name="alignment_threshold" type="guint64"/> </parameters> </method> - <method name="SetDiscontWait" cname="gst_audio_stream_align_set_discont_wait"> + <method name="SetDiscontWait" cname="gst_audio_stream_align_set_discont_wait" version="1.14"> <return-type type="void"/> <parameters> <parameter name="discont_wait" type="guint64"/> </parameters> </method> - <method name="SetRate" cname="gst_audio_stream_align_set_rate"> + <method name="SetRate" cname="gst_audio_stream_align_set_rate" version="1.14"> <return-type type="void"/> <parameters> <parameter name="rate" type="gint"/> @@ -15377,9 +15608,22 @@ <warning>missing glib:type-name</warning> </parameter> <parameter name="format" type="GstAudioFormat"/> - <parameter name="channels" type="gint"/> - <parameter name="from" type="GstAudioChannelPosition*" array="true"/> - <parameter name="to" type="GstAudioChannelPosition*" array="true"/> + <parameter name="channels" type="gint" array_index="4"/> + <parameter name="from" type="GstAudioChannelPosition*" array="true" array_length_param_index="2"/> + <parameter name="to" type="GstAudioChannelPosition*" array="true" array_length_param_index="2"/> + </parameters> + </method> + <method name="AudioBufferTruncate" cname="gst_audio_buffer_truncate" shared="true" version="1.16"> + <return-type type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="buffer" type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="bpf" type="gint"/> + <parameter name="trim" type="gsize"/> + <parameter name="samples" type="gsize"/> </parameters> </method> <method name="AudioChannelGetFallbackMask" cname="gst_audio_channel_get_fallback_mask" shared="true" version="1.8"> @@ -15486,12 +15730,12 @@ </parameters> </method> <method name="AudioGetChannelReorderMap" cname="gst_audio_get_channel_reorder_map" shared="true"> - <return-type type="gboolean"/> + <return-type type="gboolean" array_index="3"/> <parameters> - <parameter name="channels" type="gint"/> - <parameter name="from" type="GstAudioChannelPosition*" array="true"/> - <parameter name="to" type="GstAudioChannelPosition*" array="true"/> - <parameter name="reorder_map" type="gint*" array="true"/> + <parameter name="channels" type="gint" array_index="3"/> + <parameter name="from" type="GstAudioChannelPosition*" array="true" array_length_param_index="0"/> + <parameter name="to" type="GstAudioChannelPosition*" array="true" array_length_param_index="0"/> + <parameter name="reorder_map" type="gint*" array="true" array_length_param_index="0"/> </parameters> </method> <method name="AudioIec61937FrameSize" cname="gst_audio_iec61937_frame_size" shared="true"> @@ -15515,15 +15759,23 @@ <parameter name="endianness" type="gint"/> </parameters> </method> + <method name="AudioMetaApiGetType" cname="gst_audio_meta_api_get_type" shared="true"> + <return-type type="GType"/> + </method> + <method name="AudioMetaGetInfo" cname="gst_audio_meta_get_info" shared="true"> + <return-type type="GstMetaInfo*"> + <warning>missing glib:type-name</warning> + </return-type> + </method> <method name="AudioReorderChannels" cname="gst_audio_reorder_channels" shared="true"> <return-type type="gboolean"/> <parameters> <parameter name="data" type="gpointer" array="true" array_length_param_index="1"/> <parameter name="size" type="gsize"/> <parameter name="format" type="GstAudioFormat"/> - <parameter name="channels" type="gint"/> - <parameter name="from" type="GstAudioChannelPosition*" array="true"/> - <parameter name="to" type="GstAudioChannelPosition*" array="true"/> + <parameter name="channels" type="gint" array_index="5"/> + <parameter name="from" type="GstAudioChannelPosition*" array="true" array_length_param_index="3"/> + <parameter name="to" type="GstAudioChannelPosition*" array="true" array_length_param_index="3"/> </parameters> </method> <method name="AudioResamplerNew" cname="gst_audio_resampler_new" shared="true"> @@ -16141,7 +16393,7 @@ <parameter name="caps" type="GstCaps*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="_ret" type="GstCaps**"> + <parameter allow-none="1" name="_ret" type="GstCaps**" owned="true" pass_as="out"> <warning>missing glib:type-name</warning> </parameter> </parameters> @@ -16186,7 +16438,12 @@ </parameter> </parameters> </method> + <method name="SimpleGetNextTime" cname="gst_aggregator_simple_get_next_time" version="1.16"> + <return-type type="guint64"/> + <parameters/> + </method> <property name="Latency" cname="latency" type="guint64" readable="true" writeable="true" construct="false" construct-only="false"/> + <property name="MinUpstreamLatency" cname="min-upstream-latency" type="guint64" readable="true" writeable="true" construct="false" construct-only="false" version="1.16"/> <property name="StartTime" cname="start-time" type="guint64" readable="true" writeable="true" construct="false" construct-only="false"/> <field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GstElement*"/> <field cname="srcpad" access="public" writeable="false" readable="true" is_callback="false" name="Srcpad" type="GstPad*"/> @@ -16250,10 +16507,10 @@ <field cname="segment" access="public" writeable="false" readable="true" is_callback="false" name="Segment" type="GstSegment"> <warning>missing glib:type-name</warning> </field> - <field cname="priv" access="public" writeable="false" readable="true" is_callback="false" name="Priv" type="GstAggregatorPadPrivate*"> + <field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GstAggregatorPadPrivate*"> <warning>missing glib:type-name</warning> </field> - <field cname="_gst_reserved" access="public" writeable="false" readable="true" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4"/> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4"/> </object> <object name="BaseParse" cname="GstBaseParse" defaultconstructoraccess="protected" opaque="false" hidden="false" parent="GstElement"> <class_struct cname="GstBaseParseClass"> @@ -16696,6 +16953,10 @@ <return-type type="gint64"/> <parameters/> </method> + <method name="GetProcessingDeadline" cname="gst_base_sink_get_processing_deadline" version="1.16"> + <return-type type="guint64"/> + <parameters/> + </method> <method name="GetRenderDelay" cname="gst_base_sink_get_render_delay"> <return-type type="guint64"/> <parameters/> @@ -16769,6 +17030,12 @@ <parameter name="max_lateness" type="gint64"/> </parameters> </method> + <method name="SetProcessingDeadline" cname="gst_base_sink_set_processing_deadline" version="1.16"> + <return-type type="void"/> + <parameters> + <parameter name="processing_deadline" type="guint64"/> + </parameters> + </method> <method name="SetQosEnabled" cname="gst_base_sink_set_qos_enabled"> <return-type type="void"/> <parameters> @@ -16823,6 +17090,7 @@ <property name="LastSample" cname="last-sample" type="GstSample*" readable="true" writeable="false" construct="false" construct-only="false"/> <property name="MaxBitrate" cname="max-bitrate" type="guint64" readable="true" writeable="true" construct="false" construct-only="false" version="1.2"/> <property name="MaxLateness" cname="max-lateness" type="gint64" readable="true" writeable="true" construct="false" construct-only="false"/> + <property name="ProcessingDeadline" cname="processing-deadline" type="guint64" readable="true" writeable="true" construct="false" construct-only="false" version="1.16"/> <property name="Qos" cname="qos" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false"/> <property name="RenderDelay" cname="render-delay" type="guint64" readable="true" writeable="true" construct="false" construct-only="false"/> <property name="Sync" cname="sync" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false"/> @@ -17952,6 +18220,120 @@ <parameters/> </method> </struct> + <struct name="BitWriter" cname="GstBitWriter" opaque="false" hidden="false"> + <field cname="data" access="public" writeable="true" readable="true" is_callback="false" name="Data" type="guint8"/> + <field cname="bit_size" access="public" writeable="true" readable="true" is_callback="false" name="BitSize" type="guint"/> + <field cname="bit_capacity" access="private" writeable="false" readable="false" is_callback="false" name="BitCapacity" type="guint"/> + <field cname="auto_grow" access="private" writeable="false" readable="false" is_callback="false" name="AutoGrow" type="gboolean"/> + <field cname="owned" access="private" writeable="false" readable="false" is_callback="false" name="Owned" type="gboolean"/> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4"/> + <method name="AlignBytes" cname="gst_bit_writer_align_bytes"> + <return-type type="gboolean"/> + <parameters> + <parameter name="trailing_bit" type="guint8"/> + </parameters> + </method> + <method name="Free" cname="gst_bit_writer_free"> + <return-type type="void"/> + <parameters/> + </method> + <method name="FreeAndGetBuffer" cname="gst_bit_writer_free_and_get_buffer"> + <return-type type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters/> + </method> + <method name="FreeAndGetData" cname="gst_bit_writer_free_and_get_data"> + <return-type type="guint8**" owned="true" array="true"/> + <parameters/> + </method> + <method name="GetData" cname="gst_bit_writer_get_data"> + <return-type type="guint8"/> + <parameters/> + </method> + <method name="GetRemaining" cname="gst_bit_writer_get_remaining"> + <return-type type="guint"/> + <parameters/> + </method> + <method name="GetSize" cname="gst_bit_writer_get_size"> + <return-type type="guint"/> + <parameters/> + </method> + <method name="Init" cname="gst_bit_writer_init"> + <return-type type="void"/> + <parameters/> + </method> + <method name="InitWithData" cname="gst_bit_writer_init_with_data"> + <return-type type="void"/> + <parameters> + <parameter name="data" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="size" type="guint"/> + <parameter name="initialized" type="gboolean"/> + </parameters> + </method> + <method name="InitWithSize" cname="gst_bit_writer_init_with_size"> + <return-type type="void"/> + <parameters> + <parameter name="size" type="guint32"/> + <parameter name="fixed" type="gboolean"/> + </parameters> + </method> + <method name="PutBitsUint16" cname="gst_bit_writer_put_bits_uint16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="value" type="guint16"/> + <parameter name="nbits" type="guint"/> + </parameters> + </method> + <method name="PutBitsUint32" cname="gst_bit_writer_put_bits_uint32"> + <return-type type="gboolean"/> + <parameters> + <parameter name="value" type="guint32"/> + <parameter name="nbits" type="guint"/> + </parameters> + </method> + <method name="PutBitsUint64" cname="gst_bit_writer_put_bits_uint64"> + <return-type type="gboolean"/> + <parameters> + <parameter name="value" type="guint64"/> + <parameter name="nbits" type="guint"/> + </parameters> + </method> + <method name="PutBitsUint8" cname="gst_bit_writer_put_bits_uint8"> + <return-type type="gboolean"/> + <parameters> + <parameter name="value" type="guint8"/> + <parameter name="nbits" type="guint"/> + </parameters> + </method> + <method name="PutBytes" cname="gst_bit_writer_put_bytes"> + <return-type type="gboolean"/> + <parameters> + <parameter name="data" type="guint8"/> + <parameter name="nbytes" type="guint"/> + </parameters> + </method> + <method name="Reset" cname="gst_bit_writer_reset"> + <return-type type="void"/> + <parameters/> + </method> + <method name="ResetAndGetBuffer" cname="gst_bit_writer_reset_and_get_buffer"> + <return-type type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters/> + </method> + <method name="ResetAndGetData" cname="gst_bit_writer_reset_and_get_data"> + <return-type type="guint8**" owned="true" array="true"/> + <parameters/> + </method> + <method name="SetPos" cname="gst_bit_writer_set_pos"> + <return-type type="gboolean"/> + <parameters> + <parameter name="pos" type="guint"/> + </parameters> + </method> + </struct> <struct name="ByteReader" cname="GstByteReader" opaque="false" hidden="false"> <field cname="data" access="public" writeable="true" readable="true" is_callback="false" name="Data" type="guint8*" array="true" array_length_param_index="1"/> <field cname="size" access="public" writeable="true" readable="true" is_callback="false" name="Size" type="guint"/> @@ -18701,6 +19083,19 @@ <parameter allow-none="1" name="prob" type="GstTypeFindProbability" owned="true" pass_as="out"/> </parameters> </method> + <method name="TypeFindHelperForBufferWithExtension" cname="gst_type_find_helper_for_buffer_with_extension" shared="true" version="1.16"> + <return-type type="GstCaps*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter allow-none="1" name="obj" type="GstObject*"/> + <parameter name="buf" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter allow-none="1" name="extension" type="const-gchar*"/> + <parameter allow-none="1" name="prob" type="GstTypeFindProbability" owned="true" pass_as="out"/> + </parameters> + </method> <method name="TypeFindHelperForData" cname="gst_type_find_helper_for_data" shared="true"> <return-type type="GstCaps*" owned="true"> <warning>missing glib:type-name</warning> @@ -18712,6 +19107,18 @@ <parameter allow-none="1" name="prob" type="GstTypeFindProbability" owned="true" pass_as="out"/> </parameters> </method> + <method name="TypeFindHelperForDataWithExtension" cname="gst_type_find_helper_for_data_with_extension" shared="true" version="1.16"> + <return-type type="GstCaps*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter allow-none="1" name="obj" type="GstObject*"/> + <parameter name="data" type="guint8*" array="true" array_length_param_index="2"/> + <parameter name="size" type="gsize" array_index="1"/> + <parameter allow-none="1" name="extension" type="const-gchar*"/> + <parameter allow-none="1" name="prob" type="GstTypeFindProbability" owned="true" pass_as="out"/> + </parameters> + </method> <method name="TypeFindHelperForExtension" cname="gst_type_find_helper_for_extension" shared="true"> <return-type type="GstCaps*" owned="true"> <warning>missing glib:type-name</warning> @@ -18730,7 +19137,21 @@ <parameter allow-none="1" name="parent" type="GstObject*"/> <parameter scope="call" name="func" type="GstTypeFindHelperGetRangeFunction"/> <parameter name="size" type="guint64"/> - <parameter name="extension" type="const-gchar*"/> + <parameter allow-none="1" name="extension" type="const-gchar*"/> + <parameter allow-none="1" name="prob" type="GstTypeFindProbability" owned="true" pass_as="out"/> + </parameters> + </method> + <method name="TypeFindHelperGetRangeFull" cname="gst_type_find_helper_get_range_full" shared="true" version="1.14.3"> + <return-type type="GstFlowReturn"/> + <parameters> + <parameter name="obj" type="GstObject*"/> + <parameter allow-none="1" name="parent" type="GstObject*"/> + <parameter scope="call" name="func" type="GstTypeFindHelperGetRangeFunction"/> + <parameter name="size" type="guint64"/> + <parameter allow-none="1" name="extension" type="const-gchar*"/> + <parameter name="caps" type="GstCaps**" owned="true" pass_as="out"> + <warning>missing glib:type-name</warning> + </parameter> <parameter allow-none="1" name="prob" type="GstTypeFindProbability" owned="true" pass_as="out"/> </parameters> </method> @@ -19421,7 +19842,7 @@ </callback> <object name="AudioVisualizer" cname="GstAudioVisualizer" defaultconstructoraccess="protected" opaque="false" hidden="false" parent="GstElement"> <class_struct cname="GstAudioVisualizerClass"> - <field cname="parent_class" access="public" writeable="false" readable="true" is_callback="false" name="ParentClass" type="GstElementClass"> + <field cname="parent_class" access="private" writeable="false" readable="false" is_callback="false" name="ParentClass" type="GstElementClass"> <warning>missing glib:type-name</warning> </field> <method vm="setup"/> @@ -19509,6 +19930,7 @@ <parameters/> </method> <property name="Timeout" cname="timeout" type="guint64" readable="true" writeable="true" construct="true" construct-only="false"/> + <property name="UseCache" cname="use-cache" type="gboolean" readable="true" writeable="true" construct="true" construct-only="false"/> <field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GObject*"/> <field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GstDiscovererPrivate*"> <warning>missing glib:type-name</warning> @@ -19845,7 +20267,7 @@ <return-type type="GstEncodingProfile*" owned="true"/> <parameters> <parameter name="targetname" type="const-gchar*"/> - <parameter name="profilename" type="const-gchar*"/> + <parameter allow-none="1" name="profilename" type="const-gchar*"/> <parameter allow-none="1" name="category" type="const-gchar*"/> </parameters> </method> @@ -20566,9 +20988,9 @@ <constant value="online-service" ctype="gchar*" gtype="gchar*" name="ENCODING_CATEGORY_ONLINE_SERVICE"/> <constant value="storage-editing" ctype="gchar*" gtype="gchar*" name="ENCODING_CATEGORY_STORAGE_EDITING"/> <constant value="1" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MAJOR"/> - <constant value="0" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MICRO"/> + <constant value="1" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MICRO"/> <constant value="15" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MINOR"/> - <constant value="1" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_NANO"/> + <constant value="0" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_NANO"/> </object> </namespace> <namespace name="GstRtp" library="gstrtp-1.0"> @@ -20610,6 +21032,16 @@ <member cname="GST_RTCP_TYPE_PSFB" name="Psfb" value="206"/> <member cname="GST_RTCP_TYPE_XR" name="Xr" value="207"/> </enum> + <enum name="RTCPXRType" cname="GstRTCPXRType" type="enum" gtype="gst_rtcpxr_type_get_type" version="1.16"> + <member cname="GST_RTCP_XR_TYPE_INVALID" name="Invalid" value="-1"/> + <member cname="GST_RTCP_XR_TYPE_LRLE" name="Lrle" value="1"/> + <member cname="GST_RTCP_XR_TYPE_DRLE" name="Drle" value="2"/> + <member cname="GST_RTCP_XR_TYPE_PRT" name="Prt" value="3"/> + <member cname="GST_RTCP_XR_TYPE_RRT" name="Rrt" value="4"/> + <member cname="GST_RTCP_XR_TYPE_DLRR" name="Dlrr" value="5"/> + <member cname="GST_RTCP_XR_TYPE_SSUMM" name="Ssumm" value="6"/> + <member cname="GST_RTCP_XR_TYPE_VOIP_METRICS" name="VoipMetrics" value="7"/> + </enum> <enum name="RTPPayload" cname="GstRTPPayload" type="enum" gtype="gst_rtp_payload_get_type"> <member cname="GST_RTP_PAYLOAD_PCMU" name="Pcmu" value="0"/> <member cname="GST_RTP_PAYLOAD_1016" name="_1016" value="1"/> @@ -20780,6 +21212,10 @@ </parameter> </parameters> </virtual_method> + <method name="IsSourceInfoEnabled" cname="gst_rtp_base_depayload_is_source_info_enabled" version="1.16"> + <return-type type="gboolean"/> + <parameters/> + </method> <method name="Push" cname="gst_rtp_base_depayload_push"> <return-type type="GstFlowReturn"/> <parameters> @@ -20796,6 +21232,13 @@ </parameter> </parameters> </method> + <method name="SetSourceInfoEnabled" cname="gst_rtp_base_depayload_set_source_info_enabled" version="1.16"> + <return-type type="void"/> + <parameters> + <parameter name="enable" type="gboolean"/> + </parameters> + </method> + <property name="SourceInfo" cname="source-info" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" version="1.16"/> <property name="Stats" cname="stats" type="GstStructure*" readable="true" writeable="false" construct="false" construct-only="false"/> <field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GstElement*"/> <field cname="sinkpad" access="public" writeable="false" readable="true" is_callback="false" name="Sinkpad" type="GstPad*"/> @@ -20878,6 +21321,24 @@ </parameter> </parameters> </virtual_method> + <method name="AllocateOutputBuffer" cname="gst_rtp_base_payload_allocate_output_buffer" version="1.16"> + <return-type type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="payload_len" type="guint"/> + <parameter name="pad_len" type="guint8"/> + <parameter name="csrc_count" type="guint8"/> + </parameters> + </method> + <method name="GetSourceCount" cname="gst_rtp_base_payload_get_source_count" version="1.16"> + <return-type type="guint"/> + <parameters> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="IsFilled" cname="gst_rtp_base_payload_is_filled"> <return-type type="gboolean"/> <parameters> @@ -20885,6 +21346,10 @@ <parameter name="duration" type="guint64"/> </parameters> </method> + <method name="IsSourceInfoEnabled" cname="gst_rtp_base_payload_is_source_info_enabled" version="1.16"> + <return-type type="gboolean"/> + <parameters/> + </method> <method name="Push" cname="gst_rtp_base_payload_push"> <return-type type="GstFlowReturn"/> <parameters> @@ -20910,6 +21375,12 @@ <parameter name="clock_rate" type="guint32"/> </parameters> </method> + <method name="SetSourceInfoEnabled" cname="gst_rtp_base_payload_set_source_info_enabled" version="1.16"> + <return-type type="void"/> + <parameters> + <parameter name="enable" type="gboolean"/> + </parameters> + </method> <property name="MaxPtime" cname="max-ptime" type="gint64" readable="true" writeable="true" construct="false" construct-only="false"/> <property name="MinPtime" cname="min-ptime" type="gint64" readable="true" writeable="true" construct="false" construct-only="false"/> <property name="Mtu" cname="mtu" type="guint" readable="true" writeable="true" construct="false" construct-only="false"/> @@ -20918,6 +21389,7 @@ <property name="PtimeMultiple" cname="ptime-multiple" type="gint64" readable="true" writeable="true" construct="false" construct-only="false"/> <property name="Seqnum" cname="seqnum" type="guint" readable="true" writeable="false" construct="false" construct-only="false"/> <property name="SeqnumOffset" cname="seqnum-offset" type="gint" readable="true" writeable="true" construct="false" construct-only="false"/> + <property name="SourceInfo" cname="source-info" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" version="1.16"/> <property name="Ssrc" cname="ssrc" type="guint" readable="true" writeable="true" construct="false" construct-only="false"/> <property name="Stats" cname="stats" type="GstStructure*" readable="true" writeable="false" construct="false" construct-only="false"/> <property name="Timestamp" cname="timestamp" type="guint" readable="true" writeable="false" construct="false" construct-only="false"/> @@ -21364,6 +21836,170 @@ <parameter name="octet_count" type="guint32"/> </parameters> </method> + <method name="XrFirstRb" cname="gst_rtcp_packet_xr_first_rb" version="1.16"> + <return-type type="gboolean"/> + <parameters/> + </method> + <method name="XrGetBlockLength" cname="gst_rtcp_packet_xr_get_block_length" version="1.16"> + <return-type type="guint16"/> + <parameters/> + </method> + <method name="XrGetBlockType" cname="gst_rtcp_packet_xr_get_block_type" version="1.16"> + <return-type type="GstRTCPXRType"/> + <parameters/> + </method> + <method name="XrGetDlrrBlock" cname="gst_rtcp_packet_xr_get_dlrr_block" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="nth" type="guint"/> + <parameter name="ssrc" type="guint32"/> + <parameter name="last_rr" type="guint32"/> + <parameter name="delay" type="guint32"/> + </parameters> + </method> + <method name="XrGetPrtBySeq" cname="gst_rtcp_packet_xr_get_prt_by_seq" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="seq" type="guint16"/> + <parameter name="receipt_time" type="guint32"/> + </parameters> + </method> + <method name="XrGetPrtInfo" cname="gst_rtcp_packet_xr_get_prt_info" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="ssrc" type="guint32"/> + <parameter name="thinning" type="guint8"/> + <parameter name="begin_seq" type="guint16"/> + <parameter name="end_seq" type="guint16"/> + </parameters> + </method> + <method name="XrGetRleInfo" cname="gst_rtcp_packet_xr_get_rle_info" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="ssrc" type="guint32"/> + <parameter name="thinning" type="guint8"/> + <parameter name="begin_seq" type="guint16"/> + <parameter name="end_seq" type="guint16"/> + <parameter name="chunk_count" type="guint32"/> + </parameters> + </method> + <method name="XrGetRleNthChunk" cname="gst_rtcp_packet_xr_get_rle_nth_chunk" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="nth" type="guint"/> + <parameter name="chunk" type="guint16"/> + </parameters> + </method> + <method name="XrGetRrt" cname="gst_rtcp_packet_xr_get_rrt" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="timestamp" type="guint64"/> + </parameters> + </method> + <method name="XrGetSsrc" cname="gst_rtcp_packet_xr_get_ssrc" version="1.16"> + <return-type type="guint32"/> + <parameters/> + </method> + <method name="XrGetSummaryInfo" cname="gst_rtcp_packet_xr_get_summary_info" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="ssrc" type="guint32"/> + <parameter name="begin_seq" type="guint16"/> + <parameter name="end_seq" type="guint16"/> + </parameters> + </method> + <method name="XrGetSummaryJitter" cname="gst_rtcp_packet_xr_get_summary_jitter" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="min_jitter" type="guint32"/> + <parameter name="max_jitter" type="guint32"/> + <parameter name="mean_jitter" type="guint32"/> + <parameter name="dev_jitter" type="guint32"/> + </parameters> + </method> + <method name="XrGetSummaryPkt" cname="gst_rtcp_packet_xr_get_summary_pkt" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="lost_packets" type="guint32"/> + <parameter name="dup_packets" type="guint32"/> + </parameters> + </method> + <method name="XrGetSummaryTtl" cname="gst_rtcp_packet_xr_get_summary_ttl" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="is_ipv4" type="gboolean"/> + <parameter name="min_ttl" type="guint8"/> + <parameter name="max_ttl" type="guint8"/> + <parameter name="mean_ttl" type="guint8"/> + <parameter name="dev_ttl" type="guint8"/> + </parameters> + </method> + <method name="XrGetVoipBurstMetrics" cname="gst_rtcp_packet_xr_get_voip_burst_metrics" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="burst_density" type="guint8"/> + <parameter name="gap_density" type="guint8"/> + <parameter name="burst_duration" type="guint16"/> + <parameter name="gap_duration" type="guint16"/> + </parameters> + </method> + <method name="XrGetVoipConfigurationParams" cname="gst_rtcp_packet_xr_get_voip_configuration_params" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="gmin" type="guint8"/> + <parameter name="rx_config" type="guint8"/> + </parameters> + </method> + <method name="XrGetVoipDelayMetrics" cname="gst_rtcp_packet_xr_get_voip_delay_metrics" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="roundtrip_delay" type="guint16"/> + <parameter name="end_system_delay" type="guint16"/> + </parameters> + </method> + <method name="XrGetVoipJitterBufferParams" cname="gst_rtcp_packet_xr_get_voip_jitter_buffer_params" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="jb_nominal" type="guint16"/> + <parameter name="jb_maximum" type="guint16"/> + <parameter name="jb_abs_max" type="guint16"/> + </parameters> + </method> + <method name="XrGetVoipMetricsSsrc" cname="gst_rtcp_packet_xr_get_voip_metrics_ssrc" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="ssrc" type="guint32"/> + </parameters> + </method> + <method name="XrGetVoipPacketMetrics" cname="gst_rtcp_packet_xr_get_voip_packet_metrics" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="loss_rate" type="guint8"/> + <parameter name="discard_rate" type="guint8"/> + </parameters> + </method> + <method name="XrGetVoipQualityMetrics" cname="gst_rtcp_packet_xr_get_voip_quality_metrics" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="r_factor" type="guint8"/> + <parameter name="ext_r_factor" type="guint8"/> + <parameter name="mos_lq" type="guint8"/> + <parameter name="mos_cq" type="guint8"/> + </parameters> + </method> + <method name="XrGetVoipSignalMetrics" cname="gst_rtcp_packet_xr_get_voip_signal_metrics" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="signal_level" type="guint8"/> + <parameter name="noise_level" type="guint8"/> + <parameter name="rerl" type="guint8"/> + <parameter name="gmin" type="guint8"/> + </parameters> + </method> + <method name="XrNextRb" cname="gst_rtcp_packet_xr_next_rb" version="1.16"> + <return-type type="gboolean"/> + <parameters/> + </method> </struct> <struct name="RTPBaseAudioPayloadPrivate" cname="GstRTPBaseAudioPayloadPrivate" opaque="true" hidden="true"/> <struct name="RTPBaseDepayloadPrivate" cname="GstRTPBaseDepayloadPrivate" opaque="true" hidden="true"/> @@ -21703,7 +22339,61 @@ </parameters> </method> </struct> + <struct name="RTPSourceMeta" cname="GstRTPSourceMeta" opaque="false" hidden="false" version="1.16"> + <field cname="meta" access="public" writeable="true" readable="true" is_callback="false" name="Meta" type="GstMeta"> + <warning>missing glib:type-name</warning> + </field> + <field cname="ssrc" access="public" writeable="true" readable="true" is_callback="false" name="Ssrc" type="guint32"/> + <field cname="ssrc_valid" access="public" writeable="true" readable="true" is_callback="false" name="SsrcValid" type="gboolean"/> + <field cname="csrc" access="public" writeable="true" readable="true" is_callback="false" name="Csrc" type="guint32" array="true" array_len="15"/> + <field cname="csrc_count" access="public" writeable="true" readable="true" is_callback="false" name="CsrcCount" type="guint"/> + <method name="AppendCsrc" cname="gst_rtp_source_meta_append_csrc" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="csrc" type="guint32"/> + <parameter name="csrc_count" type="guint"/> + </parameters> + </method> + <method name="GetSourceCount" cname="gst_rtp_source_meta_get_source_count" version="1.16"> + <return-type type="guint"/> + <parameters/> + </method> + <method name="SetSsrc" cname="gst_rtp_source_meta_set_ssrc" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter allow-none="1" name="ssrc" type="guint32"/> + </parameters> + </method> + <method name="GetInfo" cname="gst_rtp_source_meta_get_info" shared="true"> + <return-type type="GstMetaInfo*"> + <warning>missing glib:type-name</warning> + </return-type> + </method> + </struct> <object name="Global" cname="GstRtpGlobal" opaque="true"> + <method name="BufferAddRtpSourceMeta" cname="gst_buffer_add_rtp_source_meta" shared="true" version="1.16"> + <return-type type="GstRTPSourceMeta*"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter allow-none="1" name="ssrc" type="guint32"/> + <parameter allow-none="1" name="csrc" type="guint32"/> + <parameter name="csrc_count" type="guint"/> + </parameters> + </method> + <method name="BufferGetRtpSourceMeta" cname="gst_buffer_get_rtp_source_meta" shared="true" version="1.16"> + <return-type type="GstRTPSourceMeta*"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="RtcpBufferMap" cname="gst_rtcp_buffer_map" shared="true"> <return-type type="gboolean"/> <parameters> @@ -21948,6 +22638,14 @@ <parameter name="payload_type" type="guint8"/> </parameters> </method> + <method name="RtpSourceMetaApiGetType" cname="gst_rtp_source_meta_api_get_type" shared="true"> + <return-type type="GType"/> + </method> + <method name="RtpSourceMetaGetInfo" cname="gst_rtp_source_meta_get_info" shared="true"> + <return-type type="GstMetaInfo*"> + <warning>missing glib:type-name</warning> + </return-type> + </method> </object> <object name="Constants" cname="GstRtpConstants" opaque="true"> <constant value="31" ctype="gint" gtype="gint" name="RTCP_MAX_BYE_SSRC_COUNT"/> @@ -21998,6 +22696,7 @@ <constant value="19" ctype="gchar*" gtype="gchar*" name="RTP_PAYLOAD_TS41_STRING"/> <constant value="18" ctype="gint" gtype="gint" name="RTP_PAYLOAD_TS48"/> <constant value="18" ctype="gchar*" gtype="gchar*" name="RTP_PAYLOAD_TS48_STRING"/> + <constant value="15" ctype="gint" gtype="gint" name="RTP_SOURCE_META_MAX_CSRC_COUNT"/> <constant value="2" ctype="gint" gtype="gint" name="RTP_VERSION"/> </object> </namespace> @@ -22624,6 +23323,16 @@ </parameter> </parameters> </method> + <method name="SendMessages" cname="gst_rtsp_connection_send_messages" version="1.16"> + <return-type type="GstRTSPResult"/> + <parameters> + <parameter name="messages" type="GstRTSPMessage*" array="true" array_length_param_index="1"/> + <parameter name="n_messages" type="guint"/> + <parameter name="timeout" type="GTimeVal*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="SetAcceptCertificateFunc" cname="gst_rtsp_connection_set_accept_certificate_func" version="1.14"> <return-type type="void"/> <parameters> @@ -22769,7 +23478,10 @@ <field cname="hdr_fields" access="private" writeable="false" readable="false" is_callback="false" name="HdrFields" type="GArray*" array="true" null_term_array="true"/> <field cname="body" access="private" writeable="false" readable="false" is_callback="false" name="Body" type="guint8"/> <field cname="body_size" access="private" writeable="false" readable="false" is_callback="false" name="BodySize" type="guint"/> - <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4"/> + <field cname="body_buffer" access="private" writeable="false" readable="false" is_callback="false" name="BodyBuffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </field> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="3"/> <method name="AddHeader" cname="gst_rtsp_message_add_header"> <return-type type="GstRTSPResult"/> <parameters> @@ -22815,6 +23527,14 @@ <parameter name="size" type="guint*" owned="true" pass_as="out"/> </parameters> </method> + <method name="GetBodyBuffer" cname="gst_rtsp_message_get_body_buffer" version="1.16"> + <return-type type="GstRTSPResult"/> + <parameters> + <parameter name="buffer" type="GstBuffer**" pass_as="out"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="GetHeader" cname="gst_rtsp_message_get_header"> <return-type type="GstRTSPResult"/> <parameters> @@ -22835,6 +23555,10 @@ <return-type type="GstRTSPMsgType"/> <parameters/> </method> + <method name="HasBodyBuffer" cname="gst_rtsp_message_has_body_buffer" version="1.16"> + <return-type type="gboolean"/> + <parameters/> + </method> <method name="Init" cname="gst_rtsp_message_init"> <return-type type="GstRTSPResult"/> <parameters/> @@ -22911,6 +23635,14 @@ <parameter name="size" type="guint"/> </parameters> </method> + <method name="SetBodyBuffer" cname="gst_rtsp_message_set_body_buffer" version="1.16"> + <return-type type="GstRTSPResult"/> + <parameters> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="StealBody" cname="gst_rtsp_message_steal_body"> <return-type type="GstRTSPResult"/> <parameters> @@ -22918,6 +23650,14 @@ <parameter name="size" type="guint*" owned="true" pass_as="out"/> </parameters> </method> + <method name="StealBodyBuffer" cname="gst_rtsp_message_steal_body_buffer" version="1.16"> + <return-type type="GstRTSPResult"/> + <parameters> + <parameter name="buffer" type="GstBuffer**" owned="true" pass_as="out"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="TakeBody" cname="gst_rtsp_message_take_body"> <return-type type="GstRTSPResult"/> <parameters> @@ -22925,6 +23665,14 @@ <parameter name="size" type="guint"/> </parameters> </method> + <method name="TakeBodyBuffer" cname="gst_rtsp_message_take_body_buffer" version="1.16"> + <return-type type="GstRTSPResult"/> + <parameters> + <parameter name="buffer" type="GstBuffer*" owned="true"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="TakeHeader" cname="gst_rtsp_message_take_header"> <return-type type="GstRTSPResult"/> <parameters> @@ -23174,6 +23922,14 @@ <parameter allow-none="1" name="id" type="guint*" owned="true" pass_as="out"/> </parameters> </method> + <method name="SendMessages" cname="gst_rtsp_watch_send_messages" version="1.16"> + <return-type type="GstRTSPResult"/> + <parameters> + <parameter name="messages" type="GstRTSPMessage*" array="true" array_length_param_index="1"/> + <parameter name="n_messages" type="guint"/> + <parameter allow-none="1" name="id" type="guint*" owned="true" pass_as="out"/> + </parameters> + </method> <method name="SetFlushing" cname="gst_rtsp_watch_set_flushing" version="1.4"> <return-type type="void"/> <parameters> @@ -23286,6 +24042,16 @@ <parameter name="nonce" type="const-gchar*"/> </parameters> </method> + <method name="RtspGenerateDigestAuthResponseFromMd5" cname="gst_rtsp_generate_digest_auth_response_from_md5" shared="true" version="1.16"> + <return-type type="gchar*" owned="true"/> + <parameters> + <parameter allow-none="1" name="algorithm" type="const-gchar*"/> + <parameter name="method" type="const-gchar*"/> + <parameter name="md5" type="const-gchar*"/> + <parameter name="uri" type="const-gchar*"/> + <parameter name="nonce" type="const-gchar*"/> + </parameters> + </method> <method name="RtspHeaderAllowMultiple" cname="gst_rtsp_header_allow_multiple" shared="true"> <return-type type="gboolean"/> <parameters> @@ -24775,6 +25541,15 @@ </parameter> </parameters> </method> + <method name="NewFromText" cname="gst_sdp_message_new_from_text" shared="true" version="1.16"> + <return-type type="GstSDPResult"/> + <parameters> + <parameter name="text" type="const-gchar*"/> + <parameter name="msg" type="GstSDPMessage**" owned="true" pass_as="out"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="ParseBuffer" cname="gst_sdp_message_parse_buffer" shared="true"> <return-type type="GstSDPResult"/> <parameters> @@ -24887,6 +25662,15 @@ </parameter> </parameters> </method> + <method name="SdpMessageNewFromText" cname="gst_sdp_message_new_from_text" shared="true" version="1.16"> + <return-type type="GstSDPResult"/> + <parameters> + <parameter name="text" type="const-gchar*"/> + <parameter name="msg" type="GstSDPMessage**" owned="true" pass_as="out"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="SdpMessageParseBuffer" cname="gst_sdp_message_parse_buffer" shared="true"> <return-type type="GstSDPResult"/> <parameters> @@ -25502,6 +26286,31 @@ <member cname="GST_VIDEO_ALPHA_MODE_SET" name="Set" value="1"/> <member cname="GST_VIDEO_ALPHA_MODE_MULT" name="Mult" value="2"/> </enum> + <enum name="VideoAncillaryDID" cname="GstVideoAncillaryDID" type="enum" gtype="gst_video_ancillary_did_get_type"> + <member cname="GST_VIDEO_ANCILLARY_DID_UNDEFINED" name="Undefined" value="0"/> + <member cname="GST_VIDEO_ANCILLARY_DID_DELETION" name="Deletion" value="128"/> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_3G_AUDIO_DATA_FIRST" name="Hanc3gAudioDataFirst" value="160"/> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_3G_AUDIO_DATA_LAST" name="Hanc3gAudioDataLast" value="167"/> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_HDTV_AUDIO_DATA_FIRST" name="HancHdtvAudioDataFirst" value="224"/> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_HDTV_AUDIO_DATA_LAST" name="HancHdtvAudioDataLast" value="231"/> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_SDTV_AUDIO_DATA_1_FIRST" name="HancSdtvAudioData1First" value="236"/> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_SDTV_AUDIO_DATA_1_LAST" name="HancSdtvAudioData1Last" value="239"/> + <member cname="GST_VIDEO_ANCILLARY_DID_CAMERA_POSITION" name="CameraPosition" value="240"/> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_ERROR_DETECTION" name="HancErrorDetection" value="244"/> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_SDTV_AUDIO_DATA_2_FIRST" name="HancSdtvAudioData2First" value="248"/> + <member cname="GST_VIDEO_ANCILLARY_DID_HANC_SDTV_AUDIO_DATA_2_LAST" name="HancSdtvAudioData2Last" value="255"/> + </enum> + <enum name="VideoAncillaryDID16" cname="GstVideoAncillaryDID16" type="enum" gtype="gst_video_ancillary_di_d16_get_type" version="1.16"> + <member cname="GST_VIDEO_ANCILLARY_DID16_S334_EIA_708" name="_708" value="24833"/> + <member cname="GST_VIDEO_ANCILLARY_DID16_S334_EIA_608" name="_608" value="24834"/> + </enum> + <enum name="VideoCaptionType" cname="GstVideoCaptionType" type="enum" gtype="gst_video_caption_type_get_type" version="1.16"> + <member cname="GST_VIDEO_CAPTION_TYPE_UNKNOWN" name="Unknown" value="0"/> + <member cname="GST_VIDEO_CAPTION_TYPE_CEA608_RAW" name="Cea608Raw" value="1"/> + <member cname="GST_VIDEO_CAPTION_TYPE_CEA608_S334_1A" name="Cea608S3341a" value="2"/> + <member cname="GST_VIDEO_CAPTION_TYPE_CEA708_RAW" name="Cea708Raw" value="3"/> + <member cname="GST_VIDEO_CAPTION_TYPE_CEA708_CDP" name="Cea708Cdp" value="4"/> + </enum> <enum name="VideoChromaMethod" cname="GstVideoChromaMethod" type="enum" gtype="gst_video_chroma_method_get_type"> <member cname="GST_VIDEO_CHROMA_METHOD_NEAREST" name="Nearest" value="0"/> <member cname="GST_VIDEO_CHROMA_METHOD_LINEAR" name="Linear" value="1"/> @@ -25631,6 +26440,9 @@ <member cname="GST_VIDEO_FORMAT_GRAY10_LE32" name="Gray10Le32" value="78"/> <member cname="GST_VIDEO_FORMAT_NV12_10LE32" name="Nv1210le32" value="79"/> <member cname="GST_VIDEO_FORMAT_NV16_10LE32" name="Nv1610le32" value="80"/> + <member cname="GST_VIDEO_FORMAT_NV12_10LE40" name="Nv1210le40" value="81"/> + <member cname="GST_VIDEO_FORMAT_Y210" name="Y210" value="82"/> + <member cname="GST_VIDEO_FORMAT_Y410" name="Y410" value="83"/> </enum> <enum name="VideoGLTextureOrientation" cname="GstVideoGLTextureOrientation" type="enum"> <member cname="GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL" name="NormalYNormal" value="0"/> @@ -25656,6 +26468,7 @@ <member cname="GST_VIDEO_INTERLACE_MODE_INTERLEAVED" name="Interleaved" value="1"/> <member cname="GST_VIDEO_INTERLACE_MODE_MIXED" name="Mixed" value="2"/> <member cname="GST_VIDEO_INTERLACE_MODE_FIELDS" name="Fields" value="3"/> + <member cname="GST_VIDEO_INTERLACE_MODE_ALTERNATE" name="Alternate" value="4"/> </enum> <enum name="VideoMatrixMode" cname="GstVideoMatrixMode" type="enum" gtype="gst_video_matrix_mode_get_type" version="1.6"> <member cname="GST_VIDEO_MATRIX_MODE_FULL" name="Full" value="0"/> @@ -25702,11 +26515,6 @@ <member cname="GST_VIDEO_ORIENTATION_AUTO" name="Auto" value="8"/> <member cname="GST_VIDEO_ORIENTATION_CUSTOM" name="Custom" value="9"/> </enum> - <enum name="VideoOverlayFormatFlags" cname="GstVideoOverlayFormatFlags" type="enum"> - <member cname="GST_VIDEO_OVERLAY_FORMAT_FLAG_NONE" name="None" value="0"/> - <member cname="GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA" name="PremultipliedAlpha" value="1"/> - <member cname="GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA" name="GlobalAlpha" value="2"/> - </enum> <enum name="VideoPrimariesMode" cname="GstVideoPrimariesMode" type="enum" gtype="gst_video_primaries_mode_get_type" version="1.6"> <member cname="GST_VIDEO_PRIMARIES_MODE_NONE" name="None" value="0"/> <member cname="GST_VIDEO_PRIMARIES_MODE_MERGE_ONLY" name="MergeOnly" value="1"/> @@ -25741,11 +26549,19 @@ <member cname="GST_VIDEO_TRANSFER_BT2020_12" name="Bt202012" value="11"/> <member cname="GST_VIDEO_TRANSFER_ADOBERGB" name="Adobergb" value="12"/> </enum> + <enum name="VideoVBIParserResult" cname="GstVideoVBIParserResult" type="enum" gtype="gst_video_vbi_parser_result_get_type" version="1.16"> + <member cname="GST_VIDEO_VBI_PARSER_RESULT_DONE" name="Done" value="0"/> + <member cname="GST_VIDEO_VBI_PARSER_RESULT_OK" name="Ok" value="1"/> + <member cname="GST_VIDEO_VBI_PARSER_RESULT_ERROR" name="Error" value="2"/> + </enum> <enum name="VideoBufferFlags" cname="GstVideoBufferFlags" type="flags" gtype="gst_video_buffer_flags_get_type"> <member cname="GST_VIDEO_BUFFER_FLAG_INTERLACED" name="Interlaced" value="1048576"/> <member cname="GST_VIDEO_BUFFER_FLAG_TFF" name="Tff" value="2097152"/> <member cname="GST_VIDEO_BUFFER_FLAG_RFF" name="Rff" value="4194304"/> <member cname="GST_VIDEO_BUFFER_FLAG_ONEFIELD" name="Onefield" value="8388608"/> + <member cname="GST_VIDEO_BUFFER_FLAG_ONEFIELD" name="Onefield" value="8388608"/> + <member cname="GST_VIDEO_BUFFER_FLAG_BOTTOM_FIELD" name="BottomField" value="8388608"/> + <member cname="GST_VIDEO_BUFFER_FLAG_TOP_FIELD" name="TopField" value="10485760"/> <member cname="GST_VIDEO_BUFFER_FLAG_MULTIPLE_VIEW" name="MultipleView" value="16777216"/> <member cname="GST_VIDEO_BUFFER_FLAG_FIRST_IN_BUNDLE" name="FirstInBundle" value="33554432"/> <member cname="GST_VIDEO_BUFFER_FLAG_LAST" name="Last" value="268435456"/> @@ -25798,6 +26614,9 @@ <member cname="GST_VIDEO_FRAME_FLAG_TFF" name="Tff" value="2"/> <member cname="GST_VIDEO_FRAME_FLAG_RFF" name="Rff" value="4"/> <member cname="GST_VIDEO_FRAME_FLAG_ONEFIELD" name="Onefield" value="8"/> + <member cname="GST_VIDEO_FRAME_FLAG_ONEFIELD" name="Onefield" value="8"/> + <member cname="GST_VIDEO_FRAME_FLAG_BOTTOM_FIELD" name="BottomField" value="8"/> + <member cname="GST_VIDEO_FRAME_FLAG_TOP_FIELD" name="TopField" value="10"/> <member cname="GST_VIDEO_FRAME_FLAG_MULTIPLE_VIEW" name="MultipleView" value="16"/> <member cname="GST_VIDEO_FRAME_FLAG_FIRST_IN_BUNDLE" name="FirstInBundle" value="32"/> </enum> @@ -25815,6 +26634,11 @@ <member cname="GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT" name="HalfAspect" value="16384"/> <member cname="GST_VIDEO_MULTIVIEW_FLAGS_MIXED_MONO" name="MixedMono" value="32768"/> </enum> + <enum name="VideoOverlayFormatFlags" cname="GstVideoOverlayFormatFlags" type="flags" gtype="gst_video_overlay_format_flags_get_type"> + <member cname="GST_VIDEO_OVERLAY_FORMAT_FLAG_NONE" name="None" value="0"/> + <member cname="GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA" name="PremultipliedAlpha" value="1"/> + <member cname="GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA" name="GlobalAlpha" value="2"/> + </enum> <enum name="VideoPackFlags" cname="GstVideoPackFlags" type="flags" gtype="gst_video_pack_flags_get_type"> <member cname="GST_VIDEO_PACK_FLAG_NONE" name="None" value="0"/> <member cname="GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE" name="TruncateRange" value="1"/> @@ -26448,6 +27272,169 @@ </parameters> </signal> </object> + <object name="VideoAggregator" cname="GstVideoAggregator" defaultconstructoraccess="protected" opaque="false" hidden="false" parent="GstAggregator"> + <class_struct cname="GstVideoAggregatorClass"> + <field cname="parent_class" access="private" writeable="false" readable="false" is_callback="false" name="ParentClass" type="GstAggregatorClass"> + <warning>missing glib:type-name</warning> + </field> + <method vm="update_caps"/> + <method vm="aggregate_frames"/> + <method vm="create_output_buffer"/> + <method vm="find_best_format"/> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="20"/> + </class_struct> + <method name="GetType" cname="gst_video_aggregator_get_type" shared="true"> + <return-type type="GType"/> + </method> + <virtual_method name="AggregateFrames" cname="aggregate_frames"> + <return-type type="GstFlowReturn"/> + <parameters> + <parameter name="outbuffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </virtual_method> + <virtual_method name="CreateOutputBuffer" cname="create_output_buffer"> + <return-type type="GstFlowReturn"/> + <parameters> + <parameter name="outbuffer" type="GstBuffer**"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </virtual_method> + <virtual_method name="FindBestFormat" cname="find_best_format"> + <return-type type="void"/> + <parameters> + <parameter name="downstream_caps" type="GstCaps*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="best_info" type="GstVideoInfo*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="at_least_one_alpha" type="gboolean"/> + </parameters> + </virtual_method> + <virtual_method name="UpdateCaps" cname="update_caps"> + <return-type type="GstCaps*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="caps" type="GstCaps*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </virtual_method> + <field cname="aggregator" access="public" writeable="false" readable="true" is_callback="false" name="Aggregator" type="GstAggregator*"/> + <field cname="info" access="public" writeable="false" readable="true" is_callback="false" name="Info" type="GstVideoInfo"> + <warning>missing glib:type-name</warning> + </field> + <field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GstVideoAggregatorPrivate*"> + <warning>missing glib:type-name</warning> + </field> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="20"/> + </object> + <object name="VideoAggregatorConvertPad" cname="GstVideoAggregatorConvertPad" opaque="false" hidden="false" parent="GstVideoAggregatorPad"> + <class_struct cname="GstVideoAggregatorConvertPadClass"> + <field cname="parent_class" access="public" writeable="false" readable="true" is_callback="false" name="ParentClass" type="GstVideoAggregatorPadClass"> + <warning>missing glib:type-name</warning> + </field> + <method vm="create_conversion_info"/> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4"/> + </class_struct> + <method name="GetType" cname="gst_video_aggregator_convert_pad_get_type" shared="true"> + <return-type type="GType"/> + </method> + <virtual_method name="CreateConversionInfo" cname="create_conversion_info"> + <return-type type="void"/> + <parameters> + <parameter name="agg" type="GstVideoAggregator*"/> + <parameter name="conversion_info" type="GstVideoInfo*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </virtual_method> + <method name="UpdateConversionInfo" cname="gst_video_aggregator_convert_pad_update_conversion_info"> + <return-type type="void"/> + <parameters/> + </method> + <property name="ConverterConfig" cname="converter-config" type="GstStructure*" readable="true" writeable="true" construct="false" construct-only="false"/> + <field cname="parent" access="private" writeable="false" readable="false" is_callback="false" name="Parent" type="GstVideoAggregatorPad*"/> + <field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GstVideoAggregatorConvertPadPrivate*"> + <warning>missing glib:type-name</warning> + </field> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4"/> + </object> + <object name="VideoAggregatorPad" cname="GstVideoAggregatorPad" opaque="false" hidden="false" parent="GstAggregatorPad"> + <class_struct cname="GstVideoAggregatorPadClass"> + <field cname="parent_class" access="public" writeable="false" readable="true" is_callback="false" name="ParentClass" type="GstAggregatorPadClass"> + <warning>missing glib:type-name</warning> + </field> + <method vm="update_conversion_info"/> + <method vm="prepare_frame"/> + <method vm="clean_frame"/> + <field cname="_gst_reserved" access="public" writeable="false" readable="true" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="20"/> + </class_struct> + <method name="GetType" cname="gst_video_aggregator_pad_get_type" shared="true"> + <return-type type="GType"/> + </method> + <virtual_method name="CleanFrame" cname="clean_frame"> + <return-type type="void"/> + <parameters> + <parameter name="videoaggregator" type="GstVideoAggregator*"/> + <parameter name="prepared_frame" type="GstVideoFrame*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </virtual_method> + <virtual_method name="PrepareFrame" cname="prepare_frame"> + <return-type type="gboolean"/> + <parameters> + <parameter name="videoaggregator" type="GstVideoAggregator*"/> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="prepared_frame" type="GstVideoFrame*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </virtual_method> + <virtual_method name="UpdateConversionInfo" cname="update_conversion_info"> + <return-type type="void"/> + <parameters/> + </virtual_method> + <method name="GetCurrentBuffer" cname="gst_video_aggregator_pad_get_current_buffer"> + <return-type type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters/> + </method> + <method name="GetPreparedFrame" cname="gst_video_aggregator_pad_get_prepared_frame"> + <return-type type="GstVideoFrame*"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters/> + </method> + <method name="HasCurrentBuffer" cname="gst_video_aggregator_pad_has_current_buffer"> + <return-type type="gboolean"/> + <parameters/> + </method> + <method name="SetNeedsAlpha" cname="gst_video_aggregator_pad_set_needs_alpha"> + <return-type type="void"/> + <parameters> + <parameter name="needs_alpha" type="gboolean"/> + </parameters> + </method> + <property name="RepeatAfterEos" cname="repeat-after-eos" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false"/> + <property name="Zorder" cname="zorder" type="guint" readable="true" writeable="true" construct="false" construct-only="false"/> + <field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GstAggregatorPad*"/> + <field cname="info" access="public" writeable="false" readable="true" is_callback="false" name="Info" type="GstVideoInfo"> + <warning>missing glib:type-name</warning> + </field> + <field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GstVideoAggregatorPadPrivate*"> + <warning>missing glib:type-name</warning> + </field> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4"/> + </object> <object name="VideoBufferPool" cname="GstVideoBufferPool" opaque="false" hidden="false" parent="GstBufferPool"> <class_struct cname="GstVideoBufferPoolClass"> <field cname="parent_class" access="public" writeable="false" readable="true" is_callback="false" name="ParentClass" type="GstBufferPoolClass"> @@ -26795,6 +27782,20 @@ <parameter name="enabled" type="gboolean"/> </parameters> </method> + <method name="SetInterlacedOutputState" cname="gst_video_decoder_set_interlaced_output_state" version="1.16."> + <return-type type="GstVideoCodecState*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="fmt" type="GstVideoFormat"/> + <parameter name="mode" type="GstVideoInterlaceMode"/> + <parameter name="width" type="guint"/> + <parameter name="height" type="guint"/> + <parameter allow-none="1" name="reference" type="GstVideoCodecState*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="SetLatency" cname="gst_video_decoder_set_latency"> <return-type type="void"/> <parameters> @@ -27302,6 +28303,9 @@ </return-type> </method> </struct> + <struct name="VideoAggregatorConvertPadPrivate" cname="GstVideoAggregatorConvertPadPrivate" opaque="true" hidden="true"/> + <struct name="VideoAggregatorPadPrivate" cname="GstVideoAggregatorPadPrivate" opaque="true" hidden="true"/> + <struct name="VideoAggregatorPrivate" cname="GstVideoAggregatorPrivate" opaque="true" hidden="true"/> <struct name="VideoAlignment" cname="GstVideoAlignment" opaque="false" hidden="false"> <field cname="padding_top" access="public" writeable="true" readable="true" is_callback="false" name="PaddingTop" type="guint"/> <field cname="padding_bottom" access="public" writeable="true" readable="true" is_callback="false" name="PaddingBottom" type="guint"/> @@ -27313,7 +28317,27 @@ <parameters/> </method> </struct> + <struct name="VideoAncillary" cname="GstVideoAncillary" opaque="false" hidden="false" version="1.16"> + <field cname="DID" access="public" writeable="true" readable="true" is_callback="false" name="DID" type="guint8"/> + <field cname="SDID_block_number" access="public" writeable="true" readable="true" is_callback="false" name="SDIDBlockNumber" type="guint8"/> + <field cname="data_count" access="public" writeable="true" readable="true" is_callback="false" name="DataCount" type="guint8"/> + <field cname="data" access="public" writeable="true" readable="true" is_callback="false" name="Data" type="guint8" array="true" array_length_param_index="2"/> + <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4"/> + </struct> <struct name="VideoBufferPoolPrivate" cname="GstVideoBufferPoolPrivate" opaque="true" hidden="true"/> + <struct name="VideoCaptionMeta" cname="GstVideoCaptionMeta" opaque="false" hidden="false" version="1.16"> + <field cname="meta" access="public" writeable="true" readable="true" is_callback="false" name="Meta" type="GstMeta"> + <warning>missing glib:type-name</warning> + </field> + <field cname="caption_type" access="public" writeable="true" readable="true" is_callback="false" name="CaptionType" type="GstVideoCaptionType"/> + <field cname="data" access="public" writeable="true" readable="true" is_callback="false" name="Data" type="guint8*" array="true" array_length_param_index="3"/> + <field cname="size" access="public" writeable="true" readable="true" is_callback="false" name="Size" type="gsize"/> + <method name="GetInfo" cname="gst_video_caption_meta_get_info" shared="true"> + <return-type type="GstMetaInfo*"> + <warning>missing glib:type-name</warning> + </return-type> + </method> + </struct> <struct name="VideoChromaResample" cname="GstVideoChromaResample" opaque="true" hidden="false"> <method name="" cname="gst_video_chroma_resample"> <return-type type="void"/> @@ -27341,8 +28365,8 @@ <field cname="ref_count" access="private" writeable="false" readable="false" is_callback="false" name="RefCount" type="gint"/> <field cname="flags" access="private" writeable="false" readable="false" is_callback="false" name="Flags" type="guint32"/> <field cname="system_frame_number" access="public" writeable="true" readable="true" is_callback="false" name="SystemFrameNumber" type="guint32"/> - <field cname="decode_frame_number" access="public" writeable="true" readable="true" is_callback="false" name="DecodeFrameNumber" type="guint32"/> - <field cname="presentation_frame_number" access="public" writeable="true" readable="true" is_callback="false" name="PresentationFrameNumber" type="guint32"/> + <field cname="decode_frame_number" access="private" writeable="false" readable="false" is_callback="false" name="DecodeFrameNumber" type="guint32"/> + <field cname="presentation_frame_number" access="private" writeable="false" readable="false" is_callback="false" name="PresentationFrameNumber" type="guint32"/> <field cname="dts" access="public" writeable="true" readable="true" is_callback="false" name="Dts" type="guint64"/> <field cname="pts" access="public" writeable="true" readable="true" is_callback="false" name="Pts" type="guint64"/> <field cname="duration" access="public" writeable="true" readable="true" is_callback="false" name="Duration" type="guint64"/> @@ -27715,6 +28739,15 @@ <parameter name="height" type="guint"/> </parameters> </method> + <method name="SetInterlacedFormat" cname="gst_video_info_set_interlaced_format" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="format" type="GstVideoFormat"/> + <parameter name="mode" type="GstVideoInterlaceMode"/> + <parameter name="width" type="guint"/> + <parameter name="height" type="guint"/> + </parameters> + </method> <method name="ToCaps" cname="gst_video_info_to_caps"> <return-type type="GstCaps*" owned="true"> <warning>missing glib:type-name</warning> @@ -27846,7 +28879,6 @@ </return-type> </method> </struct> - <struct name="VideoOverlayProperties" cname="GstVideoOverlayProperties" opaque="true" hidden="false"/> <boxed name="VideoOverlayRectangle" cname="GstVideoOverlayRectangle" opaque="true" hidden="false"> <method name="GetType" cname="gst_video_overlay_rectangle_get_type" shared="true"> <return-type type="GType"/> @@ -28119,6 +29151,17 @@ <parameter name="field_count" type="guint"/> </parameters> </constructor> + <constructor cname="gst_video_time_code_new_from_date_time_full" version="1.16"> + <parameters> + <parameter name="fps_n" type="guint"/> + <parameter name="fps_d" type="guint"/> + <parameter name="dt" type="GDateTime*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="flags" type="GstVideoTimeCodeFlags"/> + <parameter name="field_count" type="guint"/> + </parameters> + </constructor> <constructor cname="gst_video_time_code_new_from_string" version="1.12"> <parameters> <parameter name="tc_str" type="const-gchar*"/> @@ -28198,6 +29241,18 @@ <parameter name="field_count" type="guint"/> </parameters> </method> + <method name="InitFromDateTimeFull" cname="gst_video_time_code_init_from_date_time_full" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="fps_n" type="guint"/> + <parameter name="fps_d" type="guint"/> + <parameter name="dt" type="GDateTime*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="flags" type="GstVideoTimeCodeFlags"/> + <parameter name="field_count" type="guint"/> + </parameters> + </method> <method name="IsValid" cname="gst_video_time_code_is_valid" version="1.10"> <return-type type="gboolean"/> <parameters/> @@ -28283,6 +29338,78 @@ </return-type> </method> </struct> + <boxed name="VideoVBIEncoder" cname="GstVideoVBIEncoder" opaque="false" hidden="false" version="1.16"> + <method name="GetType" cname="gst_video_vbi_encoder_get_type" shared="true"> + <return-type type="GType"/> + </method> + <constructor cname="gst_video_vbi_encoder_new" version="1.16"> + <parameters> + <parameter name="format" type="GstVideoFormat"/> + <parameter name="pixel_width" type="guint32"/> + </parameters> + </constructor> + <method name="AddAncillary" cname="gst_video_vbi_encoder_add_ancillary" version="1.16"> + <return-type type="gboolean"/> + <parameters> + <parameter name="composite" type="gboolean"/> + <parameter name="DID" type="guint8"/> + <parameter name="SDID_block_number" type="guint8"/> + <parameter name="data" type="guint8*" array="true" array_length_param_index="4"/> + <parameter name="data_count" type="guint" array_index="3"/> + </parameters> + </method> + <method name="Copy" cname="gst_video_vbi_encoder_copy"> + <return-type type="GstVideoVBIEncoder*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters/> + </method> + <method name="Free" cname="gst_video_vbi_encoder_free" version="1.16"> + <return-type type="void"/> + <parameters/> + </method> + <method name="WriteLine" cname="gst_video_vbi_encoder_write_line"> + <return-type type="void"/> + <parameters> + <parameter name="data" type="guint8"/> + </parameters> + </method> + </boxed> + <boxed name="VideoVBIParser" cname="GstVideoVBIParser" opaque="false" hidden="false" version="1.16"> + <method name="GetType" cname="gst_video_vbi_parser_get_type" shared="true"> + <return-type type="GType"/> + </method> + <constructor cname="gst_video_vbi_parser_new" version="1.16"> + <parameters> + <parameter name="format" type="GstVideoFormat"/> + <parameter name="pixel_width" type="guint32"/> + </parameters> + </constructor> + <method name="AddLine" cname="gst_video_vbi_parser_add_line" version="1.16"> + <return-type type="void"/> + <parameters> + <parameter name="data" type="guint8*" array="true"/> + </parameters> + </method> + <method name="Copy" cname="gst_video_vbi_parser_copy"> + <return-type type="GstVideoVBIParser*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters/> + </method> + <method name="Free" cname="gst_video_vbi_parser_free" version="1.16"> + <return-type type="void"/> + <parameters/> + </method> + <method name="GetAncillary" cname="gst_video_vbi_parser_get_ancillary" version="1.16"> + <return-type type="GstVideoVBIParserResult"/> + <parameters> + <parameter name="anc" type="GstVideoAncillary*" pass_as="out"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> + </boxed> <object name="Global" cname="GstVideoGlobal" opaque="true"> <method name="BufferAddVideoAffineTransformationMeta" cname="gst_buffer_add_video_affine_transformation_meta" shared="true" version="1.8"> <return-type type="GstVideoAffineTransformationMeta*"> @@ -28294,6 +29421,19 @@ </parameter> </parameters> </method> + <method name="BufferAddVideoCaptionMeta" cname="gst_buffer_add_video_caption_meta" shared="true" version="1.16"> + <return-type type="GstVideoCaptionMeta*"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="caption_type" type="GstVideoCaptionType"/> + <parameter name="data" type="guint8*" array="true" array_length_param_index="3"/> + <parameter name="size" type="gsize" array_index="2"/> + </parameters> + </method> <method name="BufferAddVideoGlTextureUploadMeta" cname="gst_buffer_add_video_gl_texture_upload_meta" shared="true"> <return-type type="GstVideoGLTextureUploadMeta*"> <warning>missing glib:type-name</warning> @@ -28338,8 +29478,8 @@ <parameter name="width" type="guint"/> <parameter name="height" type="guint"/> <parameter name="n_planes" type="guint"/> - <parameter name="offset" type="gsize"/> - <parameter name="stride" type="gint"/> + <parameter name="offset" type="gsize" array="true" array_len="4"/> + <parameter name="stride" type="gint" array="true" array_len="4"/> </parameters> </method> <method name="BufferAddVideoOverlayCompositionMeta" cname="gst_buffer_add_video_overlay_composition_meta" shared="true"> @@ -28725,6 +29865,30 @@ <parameter name="display_par_d" type="guint"/> </parameters> </method> + <method name="VideoCaptionMetaApiGetType" cname="gst_video_caption_meta_api_get_type" shared="true"> + <return-type type="GType"/> + </method> + <method name="VideoCaptionMetaGetInfo" cname="gst_video_caption_meta_get_info" shared="true"> + <return-type type="GstMetaInfo*"> + <warning>missing glib:type-name</warning> + </return-type> + </method> + <method name="VideoCaptionTypeFromCaps" cname="gst_video_caption_type_from_caps" shared="true" version="1.16"> + <return-type type="GstVideoCaptionType"/> + <parameters> + <parameter name="caps" type="GstCaps*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> + <method name="VideoCaptionTypeToCaps" cname="gst_video_caption_type_to_caps" shared="true" version="1.16"> + <return-type type="GstCaps*" owned="true"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="type" type="GstVideoCaptionType"/> + </parameters> + </method> <method name="VideoChromaFromString" cname="gst_video_chroma_from_string" shared="true"> <return-type type="GstVideoChromaSite"/> <parameters> @@ -28770,8 +29934,8 @@ <parameter name="info" type="GstVideoFormatInfo*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="offset" type="gint*" owned="true" pass_as="out" array="true" array_len="4"/> - <parameter name="scale" type="gint*" owned="true" pass_as="out" array="true" array_len="4"/> + <parameter name="offset" type="gint" pass_as="out" array="true" array_len="4"/> + <parameter name="scale" type="gint" pass_as="out" array="true" array_len="4"/> </parameters> </method> <method name="VideoColorTransferDecode" cname="gst_video_color_transfer_decode" shared="true" version="1.6"> @@ -29116,6 +30280,7 @@ <constant value="GstBufferPoolOptionVideoAlignment" ctype="gchar*" gtype="gchar*" name="BUFFER_POOL_OPTION_VIDEO_ALIGNMENT"/> <constant value="GstBufferPoolOptionVideoGLTextureUploadMeta" ctype="gchar*" gtype="gchar*" name="BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META" version="1.2.2"/> <constant value="GstBufferPoolOptionVideoMeta" ctype="gchar*" gtype="gchar*" name="BUFFER_POOL_OPTION_VIDEO_META"/> + <constant value="format:Interlaced" ctype="gchar*" gtype="gchar*" name="CAPS_FEATURE_FORMAT_INTERLACED" version="1.16."/> <constant value="meta:GstVideoAffineTransformation" ctype="gchar*" gtype="gchar*" name="CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META"/> <constant value="meta:GstVideoGLTextureUploadMeta" ctype="gchar*" gtype="gchar*" name="CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META"/> <constant value="meta:GstVideoMeta" ctype="gchar*" gtype="gchar*" name="CAPS_FEATURE_META_GST_VIDEO_META"/> @@ -29165,7 +30330,7 @@ <constant value="src" ctype="gchar*" gtype="gchar*" name="VIDEO_DECODER_SRC_NAME"/> <constant value="sink" ctype="gchar*" gtype="gchar*" name="VIDEO_ENCODER_SINK_NAME"/> <constant value="src" ctype="gchar*" gtype="gchar*" name="VIDEO_ENCODER_SRC_NAME"/> - <constant value="{ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32 }" ctype="gchar*" gtype="gchar*" name="VIDEO_FORMATS_ALL"/> + <constant value="{ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40 }" ctype="gchar*" gtype="gchar*" name="VIDEO_FORMATS_ALL"/> <constant value="(fraction) [ 0, max ]" ctype="gchar*" gtype="gchar*" name="VIDEO_FPS_RANGE"/> <constant value="4" ctype="gint" gtype="gint" name="VIDEO_MAX_COMPONENTS"/> <constant value="4" ctype="gint" gtype="gint" name="VIDEO_MAX_PLANES"/> @@ -29185,6 +30350,12 @@ </object> </namespace> <namespace name="GstWebRTC" library="gstwebrtc-1.0"> + <enum name="WebRTCBundlePolicy" cname="GstWebRTCBundlePolicy" type="enum" gtype="gst_webrtc_bundle_policy_get_type"> + <member cname="GST_WEBRTC_BUNDLE_POLICY_NONE" name="None" value="0"/> + <member cname="GST_WEBRTC_BUNDLE_POLICY_BALANCED" name="Balanced" value="1"/> + <member cname="GST_WEBRTC_BUNDLE_POLICY_MAX_COMPAT" name="MaxCompat" value="2"/> + <member cname="GST_WEBRTC_BUNDLE_POLICY_MAX_BUNDLE" name="MaxBundle" value="3"/> + </enum> <enum name="WebRTCDTLSSetup" cname="GstWebRTCDTLSSetup" type="enum" gtype="gst_webrtc_dtls_setup_get_type"> <member cname="GST_WEBRTC_DTLS_SETUP_NONE" name="None" value="0"/> <member cname="GST_WEBRTC_DTLS_SETUP_ACTPASS" name="Actpass" value="1"/> @@ -29198,6 +30369,17 @@ <member cname="GST_WEBRTC_DTLS_TRANSPORT_STATE_CONNECTING" name="Connecting" value="3"/> <member cname="GST_WEBRTC_DTLS_TRANSPORT_STATE_CONNECTED" name="Connected" value="4"/> </enum> + <enum name="WebRTCDataChannelState" cname="GstWebRTCDataChannelState" type="enum" gtype="gst_webrtc_data_channel_state_get_type"> + <member cname="GST_WEBRTC_DATA_CHANNEL_STATE_NEW" name="New" value="0"/> + <member cname="GST_WEBRTC_DATA_CHANNEL_STATE_CONNECTING" name="Connecting" value="1"/> + <member cname="GST_WEBRTC_DATA_CHANNEL_STATE_OPEN" name="Open" value="2"/> + <member cname="GST_WEBRTC_DATA_CHANNEL_STATE_CLOSING" name="Closing" value="3"/> + <member cname="GST_WEBRTC_DATA_CHANNEL_STATE_CLOSED" name="Closed" value="4"/> + </enum> + <enum name="WebRTCFECType" cname="GstWebRTCFECType" type="enum" gtype="gst_webrtc_fec_type_get_type"> + <member cname="GST_WEBRTC_FEC_TYPE_NONE" name="None" value="0"/> + <member cname="GST_WEBRTC_FEC_TYPE_ULP_RED" name="UlpRed" value="1"/> + </enum> <enum name="WebRTCICEComponent" cname="GstWebRTCICEComponent" type="enum" gtype="gst_webrtc_ice_component_get_type"> <member cname="GST_WEBRTC_ICE_COMPONENT_RTP" name="Rtp" value="0"/> <member cname="GST_WEBRTC_ICE_COMPONENT_RTCP" name="Rtcp" value="1"/> @@ -29220,6 +30402,10 @@ <member cname="GST_WEBRTC_ICE_ROLE_CONTROLLED" name="Controlled" value="0"/> <member cname="GST_WEBRTC_ICE_ROLE_CONTROLLING" name="Controlling" value="1"/> </enum> + <enum name="WebRTCICETransportPolicy" cname="GstWebRTCICETransportPolicy" type="enum" gtype="gst_webrtc_ice_transport_policy_get_type"> + <member cname="GST_WEBRTC_ICE_TRANSPORT_POLICY_ALL" name="All" value="0"/> + <member cname="GST_WEBRTC_ICE_TRANSPORT_POLICY_RELAY" name="Relay" value="1"/> + </enum> <enum name="WebRTCPeerConnectionState" cname="GstWebRTCPeerConnectionState" type="enum" gtype="gst_webrtc_peer_connection_state_get_type"> <member cname="GST_WEBRTC_PEER_CONNECTION_STATE_NEW" name="New" value="0"/> <member cname="GST_WEBRTC_PEER_CONNECTION_STATE_CONNECTING" name="Connecting" value="1"/> @@ -29228,6 +30414,12 @@ <member cname="GST_WEBRTC_PEER_CONNECTION_STATE_FAILED" name="Failed" value="4"/> <member cname="GST_WEBRTC_PEER_CONNECTION_STATE_CLOSED" name="Closed" value="5"/> </enum> + <enum name="WebRTCPriorityType" cname="GstWebRTCPriorityType" type="enum" gtype="gst_webrtc_priority_type_get_type"> + <member cname="GST_WEBRTC_PRIORITY_TYPE_VERY_LOW" name="VeryLow" value="1"/> + <member cname="GST_WEBRTC_PRIORITY_TYPE_LOW" name="Low" value="2"/> + <member cname="GST_WEBRTC_PRIORITY_TYPE_MEDIUM" name="Medium" value="3"/> + <member cname="GST_WEBRTC_PRIORITY_TYPE_HIGH" name="High" value="4"/> + </enum> <enum name="WebRTCRTPTransceiverDirection" cname="GstWebRTCRTPTransceiverDirection" type="enum" gtype="gst_webrtc_rtp_transceiver_direction_get_type"> <member cname="GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_NONE" name="None" value="0"/> <member cname="GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_INACTIVE" name="Inactive" value="1"/> @@ -29235,6 +30427,12 @@ <member cname="GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_RECVONLY" name="Recvonly" value="3"/> <member cname="GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_SENDRECV" name="Sendrecv" value="4"/> </enum> + <enum name="WebRTCSCTPTransportState" cname="GstWebRTCSCTPTransportState" type="enum" gtype="gst_webrtc_sctp_transport_state_get_type"> + <member cname="GST_WEBRTC_SCTP_TRANSPORT_STATE_NEW" name="New" value="0"/> + <member cname="GST_WEBRTC_SCTP_TRANSPORT_STATE_CONNECTING" name="Connecting" value="1"/> + <member cname="GST_WEBRTC_SCTP_TRANSPORT_STATE_CONNECTED" name="Connected" value="2"/> + <member cname="GST_WEBRTC_SCTP_TRANSPORT_STATE_CLOSED" name="Closed" value="3"/> + </enum> <enum name="WebRTCSDPType" cname="GstWebRTCSDPType" type="enum" gtype="gst_webrtc_sdp_type_get_type"> <member cname="GST_WEBRTC_SDP_TYPE_OFFER" name="Offer" value="1"/> <member cname="GST_WEBRTC_SDP_TYPE_PRANSWER" name="Pranswer" value="2"/> @@ -29267,7 +30465,7 @@ </enum> <object name="WebRTCDTLSTransport" cname="GstWebRTCDTLSTransport" opaque="false" hidden="false" parent="GstObject"> <class_struct cname="GstWebRTCDTLSTransportClass"> - <field cname="parent_class" access="public" writeable="false" readable="true" is_callback="false" name="ParentClass" type="GstBinClass"> + <field cname="parent_class" access="public" writeable="false" readable="true" is_callback="false" name="ParentClass" type="GstObjectClass"> <warning>missing glib:type-name</warning> </field> <field cname="_padding" access="public" writeable="false" readable="true" is_callback="false" name="_Padding" type="gpointer" array="true" array_len="4"/> @@ -29306,7 +30504,7 @@ </object> <object name="WebRTCICETransport" cname="GstWebRTCICETransport" defaultconstructoraccess="protected" opaque="false" hidden="false" parent="GstObject"> <class_struct cname="GstWebRTCICETransportClass"> - <field cname="parent_class" access="public" writeable="false" readable="true" is_callback="false" name="ParentClass" type="GstBinClass"> + <field cname="parent_class" access="public" writeable="false" readable="true" is_callback="false" name="ParentClass" type="GstObjectClass"> <warning>missing glib:type-name</warning> </field> <method vm="gather_candidates"/> @@ -29459,7 +30657,7 @@ <constructor cname="gst_webrtc_session_description_new"> <parameters> <parameter name="type" type="GstWebRTCSDPType"/> - <parameter name="sdp" type="GstSDPMessage*"> + <parameter name="sdp" type="GstSDPMessage*" owned="true"> <warning>missing glib:type-name</warning> </parameter> </parameters> diff --git a/sources/gstreamer-sharp.metadata b/sources/gstreamer-sharp.metadata index fb726b2..96076b1 100644 --- a/sources/gstreamer-sharp.metadata +++ b/sources/gstreamer-sharp.metadata @@ -150,6 +150,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA <add-node path="/api/namespace[@name='Gst']"> <class name="Debug" cname="GstDebug" disable_void_ctor="1"/> </add-node> + <attr path="/api/namespace/enum[@cname='GstDebugGraphDetails']/member[@cname='GST_DEBUG_GRAPH_SHOW_VERBOSE']" name="value">-1</attr> <move-node path="/api/namespace//object[@name='Global']//method[starts-with(@cname, 'gst_debug')]">/api/namespace/class[@cname='GstDebug']</move-node> <add-node path="/api/namespace[@name='Gst']"> @@ -196,7 +197,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA <attr path="/api/namespace/object[@cname='GstVideoEncoder']/field[@cname='padding']" name="type">gpointer</attr> <attr path="/api/namespace/struct[@cname='GstByteReader']" name="opaque">1</attr> <attr path="/api/namespace/struct[@cname='GstAudioRingBufferSpec']" name="opaque">true</attr> + <remove-node path="/api/namespace/enum[@cname='GstVideoBufferFlags']/member[@cname='GST_VIDEO_BUFFER_FLAG_ONEFIELD']"/> + <remove-node path="/api/namespace/enum[@cname='GstVideoFrameFlags']/member[@cname='GST_VIDEO_FRAME_FLAG_ONEFIELD']"/> <remove-node path="/api/namespace//struct[@cname='GstByteReader']//method"/> + <remove-node path="/api/namespace//method[@cname='gst_buffer_add_video_meta_full']"/> <attr path="//struct[@name='VideoGLTextureUploadMeta']//field[@cname='user_data_copy' or @cname='user_data_free']" name="hidden">true</attr> <attr path="//interface[@cname='GstVideoOverlay']//parameter[@type='guintptr']" name="type">gpointer</attr> <attr path="//method[@cname='gst_video_scaler_2d']" name="name">TwoD</attr> @@ -214,6 +218,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA <attr path="/api/namespace//struct[@cname='GstAudioDownmixMeta']/field[@cname='to_position']" name="type">GstAudioChannelPosition*</attr> <attr path="/api/namespace/boxed/method[@cname='gst_audio_converter_convert']" name="hidden">true</attr> <attr path="/api/namespace/object/method[@cname='gst_audio_ring_buffer_prepare_read']" name="hidden">true</attr> + <attr path="/api/namespace/struct[@cname='GstAudioBuffer']/field[@cname='priv_planes_arr']" name="hidden">true</attr> + <attr path="/api/namespace/struct[@cname='GstAudioBuffer']/field[@cname='priv_map_infos_arr']" name="hidden">true</attr> + <attr path="/api/namespace/struct[@cname='GstAudioMeta']/field[@cname='priv_offsets_arr']" name="hidden">true</attr> <remove-attr path="/api/namespace/boxed/method[@cname='gst_audio_info_set_format']/parameters/parameter[@name='position']" name="array_len"/> <!-- FIXME Make GstAudioAggregator working --> |