public GES.Clip AddAsset(GES.Asset asset, ulong start, ulong inpoint, ulong duration, GES.TrackType track_types) { IntPtr raw_ret = ges_layer_add_asset(Handle, asset == null ? IntPtr.Zero : asset.Handle, start, inpoint, duration, (int)track_types); GES.Clip ret = GLib.Object.GetObject(raw_ret) as GES.Clip; return(ret); }
public bool RemoveClip(GES.Clip clip) { bool raw_ret = ges_layer_remove_clip(Handle, clip == null ? IntPtr.Zero : clip.Handle); bool ret = raw_ret; return(ret); }
public GES.Clip Split(ulong position) { IntPtr raw_ret = ges_clip_split(Handle, position); GES.Clip ret = GLib.Object.GetObject(raw_ret) as GES.Clip; return(ret); }
public unsafe bool AddClipFull(GES.Clip clip) { IntPtr error = IntPtr.Zero; bool raw_ret = ges_layer_add_clip_full(Handle, clip == null ? IntPtr.Zero : clip.Handle, out error); bool ret = raw_ret; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public unsafe GES.Clip AddAssetFull(GES.Asset asset, ulong start, ulong inpoint, ulong duration, GES.TrackType track_types) { IntPtr error = IntPtr.Zero; IntPtr raw_ret = ges_layer_add_asset_full(Handle, asset == null ? IntPtr.Zero : asset.Handle, start, inpoint, duration, (int)track_types, out error); GES.Clip ret = GLib.Object.GetObject(raw_ret) as GES.Clip; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public unsafe GES.Clip SplitFull(ulong position) { IntPtr error = IntPtr.Zero; IntPtr raw_ret = ges_clip_split_full(Handle, position, out error); GES.Clip ret = GLib.Object.GetObject(raw_ret) as GES.Clip; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
private void InternalObjectRemoved(GES.Clip _object) { ObjectRemovedNativeDelegate unmanaged = null; unsafe { IntPtr *raw_ptr = (IntPtr *)(((long)this.LookupGType().GetThresholdType().GetClassPtr()) + (long)class_abi.GetFieldOffset("object_removed")); unmanaged = (ObjectRemovedNativeDelegate)Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(ObjectRemovedNativeDelegate)); } if (unmanaged == null) { return; } unmanaged(this.Handle, _object == null ? IntPtr.Zero : _object.Handle); }
private void InternalClipRemoved(GES.Clip clip) { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray(2); GLib.Value[] vals = new GLib.Value [2]; vals [0] = new GLib.Value(this); inst_and_params.Append(vals [0]); vals [1] = new GLib.Value(clip); inst_and_params.Append(vals [1]); g_signal_chain_from_overridden(inst_and_params.ArrayPtr, ref ret); foreach (GLib.Value v in vals) { v.Dispose(); } }
protected virtual void OnObjectRemoved(GES.Clip _object) { InternalObjectRemoved(_object); }
protected virtual void OnClipRemoved(GES.Clip clip) { InternalClipRemoved(clip); }
IntPtr[] InvokeNative(GES.Clip clip, GES.TrackType type) { IntPtr[] __result = (IntPtr[])GLib.Marshaller.ListPtrToArray(native_cb(clip == null ? IntPtr.Zero : clip.Handle, (int)type), typeof(GLib.List), false, false, typeof(IntPtr)); return(__result); }
GES.TrackElement InvokeNative(GES.Clip clip, GES.TrackType type) { GES.TrackElement __result = GLib.Object.GetObject(native_cb(clip == null ? IntPtr.Zero : clip.Handle, (int)type)) as GES.TrackElement; return(__result); }
bool InvokeNative(GES.Clip clip, GES.TrackElement track_element, Gst.Element nleobj) { bool __result = native_cb(clip == null ? IntPtr.Zero : clip.Handle, track_element == null ? IntPtr.Zero : track_element.Handle, nleobj == null ? IntPtr.Zero : nleobj.Handle); return(__result); }