csharp: ges: update for 1.26 API
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8541>
This commit is contained in:
parent
4c051f25c8
commit
15323a65fb
@ -27,8 +27,8 @@ namespace GES {
|
||||
public const int PADDING_LARGE = 20;
|
||||
public const uint TIMELINE_ELEMENT_NO_LAYER_PRIORITY = 4294967295;
|
||||
public const int VERSION_MAJOR = 1;
|
||||
public const int VERSION_MICRO = 0;
|
||||
public const int VERSION_MINOR = 23;
|
||||
public const int VERSION_MICRO = 90;
|
||||
public const int VERSION_MINOR = 25;
|
||||
public const int VERSION_NANO = 1;
|
||||
#endregion
|
||||
}
|
||||
|
@ -0,0 +1,52 @@
|
||||
// This file was generated by the Gtk# code generator.
|
||||
// Any changes made will be lost if regenerated.
|
||||
|
||||
namespace GES {
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
#region Autogenerated code
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct FrameCompositionMeta : IEquatable<FrameCompositionMeta> {
|
||||
|
||||
public Gst.Meta Meta;
|
||||
public double Alpha;
|
||||
public double Posx;
|
||||
public double Posy;
|
||||
public double Height;
|
||||
public double Width;
|
||||
public uint Zorder;
|
||||
public int Operator;
|
||||
|
||||
public static GES.FrameCompositionMeta Zero = new GES.FrameCompositionMeta ();
|
||||
|
||||
public static GES.FrameCompositionMeta New(IntPtr raw) {
|
||||
if (raw == IntPtr.Zero)
|
||||
return GES.FrameCompositionMeta.Zero;
|
||||
return (GES.FrameCompositionMeta) Marshal.PtrToStructure (raw, typeof (GES.FrameCompositionMeta));
|
||||
}
|
||||
|
||||
public bool Equals (FrameCompositionMeta other)
|
||||
{
|
||||
return true && Meta.Equals (other.Meta) && Alpha.Equals (other.Alpha) && Posx.Equals (other.Posx) && Posy.Equals (other.Posy) && Height.Equals (other.Height) && Width.Equals (other.Width) && Zorder.Equals (other.Zorder) && Operator.Equals (other.Operator);
|
||||
}
|
||||
|
||||
public override bool Equals (object other)
|
||||
{
|
||||
return other is FrameCompositionMeta && Equals ((FrameCompositionMeta) other);
|
||||
}
|
||||
|
||||
public override int GetHashCode ()
|
||||
{
|
||||
return this.GetType ().FullName.GetHashCode () ^ Meta.GetHashCode () ^ Alpha.GetHashCode () ^ Posx.GetHashCode () ^ Posy.GetHashCode () ^ Height.GetHashCode () ^ Width.GetHashCode () ^ Zorder.GetHashCode () ^ Operator.GetHashCode ();
|
||||
}
|
||||
|
||||
private static GLib.GType GType {
|
||||
get { return GLib.GType.Pointer; }
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
// This file was generated by the Gtk# code generator.
|
||||
// Any changes made will be lost if regenerated.
|
||||
|
||||
namespace GES {
|
||||
|
||||
using System;
|
||||
|
||||
public delegate void SourceSetupHandler(object o, SourceSetupArgs args);
|
||||
|
||||
public class SourceSetupArgs : GLib.SignalArgs {
|
||||
public Gst.Element Source{
|
||||
get {
|
||||
return (Gst.Element) Args [0];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -949,7 +949,7 @@
|
||||
<method name="SetTimeTranslationFuncs" cname="ges_base_effect_set_time_translation_funcs" version="1.18" hidden="true">
|
||||
<return-type type="gboolean" />
|
||||
<parameters>
|
||||
<parameter scope="notified" allow-none="1" name="source_to_sink_func" type="GESBaseEffectTimeTranslationFunc" />
|
||||
<parameter closure="2" scope="notified" allow-none="1" name="source_to_sink_func" type="GESBaseEffectTimeTranslationFunc" />
|
||||
<parameter closure="2" destroy="3" scope="notified" allow-none="1" name="sink_to_source_func" type="GESBaseEffectTimeTranslationFunc" />
|
||||
<parameter scope="notified" allow-none="1" name="user_data" type="gpointer" />
|
||||
<parameter destroy="2" scope="async" allow-none="1" name="destroy" type="GLib.DestroyNotify" />
|
||||
@ -1469,6 +1469,12 @@
|
||||
<parameter name="uri" type="const-gchar*" />
|
||||
</parameters>
|
||||
</signal>
|
||||
<signal name="SourceSetup" cname="source-setup" when="last" version="1.24">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter name="source" type="GstElement*" />
|
||||
</parameters>
|
||||
</signal>
|
||||
</object>
|
||||
<object name="Effect" cname="GESEffect" opaque="false" hidden="false" parent="GESBaseEffect">
|
||||
<implements>
|
||||
@ -4359,6 +4365,18 @@
|
||||
<struct name="EffectClipPrivate" cname="GESEffectClipPrivate" opaque="true" hidden="true" />
|
||||
<struct name="EffectPrivate" cname="GESEffectPrivate" opaque="true" hidden="true" />
|
||||
<struct name="FormatterPrivate" cname="GESFormatterPrivate" opaque="true" hidden="true" />
|
||||
<struct name="FrameCompositionMeta" cname="GESFrameCompositionMeta" opaque="false" hidden="false" version="1.24">
|
||||
<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="alpha" access="public" writeable="true" readable="true" is_callback="false" name="Alpha" type="gdouble" />
|
||||
<field cname="posx" access="public" writeable="true" readable="true" is_callback="false" name="Posx" type="gdouble" />
|
||||
<field cname="posy" access="public" writeable="true" readable="true" is_callback="false" name="Posy" type="gdouble" />
|
||||
<field cname="height" access="public" writeable="true" readable="true" is_callback="false" name="Height" type="gdouble" />
|
||||
<field cname="width" access="public" writeable="true" readable="true" is_callback="false" name="Width" type="gdouble" />
|
||||
<field cname="zorder" access="public" writeable="true" readable="true" is_callback="false" name="Zorder" type="guint" />
|
||||
<field cname="operator" access="public" writeable="true" readable="true" is_callback="false" name="Operator" type="gint" />
|
||||
</struct>
|
||||
<struct name="GroupPrivate" cname="GESGroupPrivate" opaque="true" hidden="true" />
|
||||
<struct name="ImageSourcePrivate" cname="GESImageSourcePrivate" opaque="true" hidden="true" />
|
||||
<struct name="LayerPrivate" cname="GESLayerPrivate" opaque="true" hidden="true" />
|
||||
@ -4401,6 +4419,16 @@
|
||||
<parameter name="recurse" type="gboolean" />
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="BufferAddFrameCompositionMeta" cname="ges_buffer_add_frame_composition_meta" shared="true" version="1.24">
|
||||
<return-type type="GESFrameCompositionMeta*">
|
||||
<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="Deinit" cname="ges_deinit" shared="true">
|
||||
<return-type type="void" />
|
||||
</method>
|
||||
@ -4422,6 +4450,9 @@
|
||||
<parameter name="uri" type="const-gchar*" />
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="FrameCompositionMetaApiGetType" cname="ges_frame_composition_meta_api_get_type" shared="true">
|
||||
<return-type type="GType" />
|
||||
</method>
|
||||
<method name="Init" cname="ges_init" shared="true">
|
||||
<return-type type="gboolean" />
|
||||
</method>
|
||||
@ -4501,10 +4532,10 @@
|
||||
<constant value="4" ctype="gint" gtype="gint" name="PADDING" />
|
||||
<constant value="20" ctype="gint" gtype="gint" name="PADDING_LARGE" />
|
||||
<constant value="4294967295" ctype="guint32" gtype="guint32" name="TIMELINE_ELEMENT_NO_LAYER_PRIORITY" />
|
||||
<constant value="1" ctype="gint" gtype="gint" name="VERSION_MAJOR" />
|
||||
<constant value="90" ctype="gint" gtype="gint" name="VERSION_MICRO" />
|
||||
<constant value="25" ctype="gint" gtype="gint" name="VERSION_MINOR" />
|
||||
<constant value="1" ctype="gint" gtype="gint" name="VERSION_NANO" />
|
||||
<constant value="1" ctype="gint" gtype="gint" name="VERSION_MAJOR" />
|
||||
<constant value="90" ctype="gint" gtype="gint" name="VERSION_MICRO" />
|
||||
<constant value="25" ctype="gint" gtype="gint" name="VERSION_MINOR" />
|
||||
<constant value="1" ctype="gint" gtype="gint" name="VERSION_NANO" />
|
||||
</object>
|
||||
</namespace>
|
||||
</api>
|
||||
</api>
|
||||
|
@ -49,6 +49,7 @@ generated_sources = [
|
||||
'GES/FormatterCanLoadURIMethod.cs',
|
||||
'GES/FormatterLoadFromURIMethod.cs',
|
||||
'GES/FormatterSaveToURIMethod.cs',
|
||||
'GES/FrameCompositionMeta.cs',
|
||||
'GES/GESSharp.BaseEffectTimeTranslationFuncNative.cs',
|
||||
'GES/GESSharp.CreateElementForGapFuncNative.cs',
|
||||
'GES/GESSharp.CreateTrackElementFuncNative.cs',
|
||||
@ -96,6 +97,7 @@ generated_sources = [
|
||||
'GES/Source.cs',
|
||||
'GES/SourceClip.cs',
|
||||
'GES/SourceClipAsset.cs',
|
||||
'GES/SourceSetupHandler.cs',
|
||||
'GES/TestClip.cs',
|
||||
'GES/TextHAlign.cs',
|
||||
'GES/TextOverlay.cs',
|
||||
|
@ -949,7 +949,7 @@
|
||||
<method name="SetTimeTranslationFuncs" cname="ges_base_effect_set_time_translation_funcs" version="1.18">
|
||||
<return-type type="gboolean"/>
|
||||
<parameters>
|
||||
<parameter scope="notified" allow-none="1" name="source_to_sink_func" type="GESBaseEffectTimeTranslationFunc"/>
|
||||
<parameter closure="2" scope="notified" allow-none="1" name="source_to_sink_func" type="GESBaseEffectTimeTranslationFunc"/>
|
||||
<parameter closure="2" destroy="3" scope="notified" allow-none="1" name="sink_to_source_func" type="GESBaseEffectTimeTranslationFunc"/>
|
||||
<parameter scope="notified" allow-none="1" name="user_data" type="gpointer"/>
|
||||
<parameter destroy="2" scope="async" allow-none="1" name="destroy" type="GLib.DestroyNotify"/>
|
||||
@ -1465,6 +1465,12 @@
|
||||
<parameter name="uri" type="const-gchar*"/>
|
||||
</parameters>
|
||||
</signal>
|
||||
<signal name="SourceSetup" cname="source-setup" when="last" version="1.24">
|
||||
<return-type type="void"/>
|
||||
<parameters>
|
||||
<parameter name="source" type="GstElement*"/>
|
||||
</parameters>
|
||||
</signal>
|
||||
</object>
|
||||
<object name="Effect" cname="GESEffect" opaque="false" hidden="false" parent="GESBaseEffect">
|
||||
<implements>
|
||||
@ -4375,6 +4381,18 @@
|
||||
<struct name="EffectClipPrivate" cname="GESEffectClipPrivate" opaque="true" hidden="true"/>
|
||||
<struct name="EffectPrivate" cname="GESEffectPrivate" opaque="true" hidden="true"/>
|
||||
<struct name="FormatterPrivate" cname="GESFormatterPrivate" opaque="true" hidden="true"/>
|
||||
<struct name="FrameCompositionMeta" cname="GESFrameCompositionMeta" opaque="false" hidden="false" version="1.24">
|
||||
<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="alpha" access="public" writeable="true" readable="true" is_callback="false" name="Alpha" type="gdouble"/>
|
||||
<field cname="posx" access="public" writeable="true" readable="true" is_callback="false" name="Posx" type="gdouble"/>
|
||||
<field cname="posy" access="public" writeable="true" readable="true" is_callback="false" name="Posy" type="gdouble"/>
|
||||
<field cname="height" access="public" writeable="true" readable="true" is_callback="false" name="Height" type="gdouble"/>
|
||||
<field cname="width" access="public" writeable="true" readable="true" is_callback="false" name="Width" type="gdouble"/>
|
||||
<field cname="zorder" access="public" writeable="true" readable="true" is_callback="false" name="Zorder" type="guint"/>
|
||||
<field cname="operator" access="public" writeable="true" readable="true" is_callback="false" name="Operator" type="gint"/>
|
||||
</struct>
|
||||
<struct name="GroupPrivate" cname="GESGroupPrivate" opaque="true" hidden="true"/>
|
||||
<struct name="ImageSourcePrivate" cname="GESImageSourcePrivate" opaque="true" hidden="true"/>
|
||||
<struct name="LayerPrivate" cname="GESLayerPrivate" opaque="true" hidden="true"/>
|
||||
@ -4417,6 +4435,16 @@
|
||||
<parameter name="recurse" type="gboolean"/>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="BufferAddFrameCompositionMeta" cname="ges_buffer_add_frame_composition_meta" shared="true" version="1.24">
|
||||
<return-type type="GESFrameCompositionMeta*">
|
||||
<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="Deinit" cname="ges_deinit" shared="true">
|
||||
<return-type type="void"/>
|
||||
</method>
|
||||
@ -4438,6 +4466,9 @@
|
||||
<parameter name="uri" type="const-gchar*"/>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="FrameCompositionMetaApiGetType" cname="ges_frame_composition_meta_api_get_type" shared="true">
|
||||
<return-type type="GType"/>
|
||||
</method>
|
||||
<method name="Init" cname="ges_init" shared="true">
|
||||
<return-type type="gboolean"/>
|
||||
</method>
|
||||
@ -4518,8 +4549,8 @@
|
||||
<constant value="20" ctype="gint" gtype="gint" name="PADDING_LARGE"/>
|
||||
<constant value="4294967295" ctype="guint32" gtype="guint32" name="TIMELINE_ELEMENT_NO_LAYER_PRIORITY"/>
|
||||
<constant value="1" ctype="gint" gtype="gint" name="VERSION_MAJOR"/>
|
||||
<constant value="0" ctype="gint" gtype="gint" name="VERSION_MICRO"/>
|
||||
<constant value="23" ctype="gint" gtype="gint" name="VERSION_MINOR"/>
|
||||
<constant value="90" ctype="gint" gtype="gint" name="VERSION_MICRO"/>
|
||||
<constant value="25" ctype="gint" gtype="gint" name="VERSION_MINOR"/>
|
||||
<constant value="1" ctype="gint" gtype="gint" name="VERSION_NANO"/>
|
||||
</object>
|
||||
</namespace>
|
||||
|
Loading…
x
Reference in New Issue
Block a user