bool InvokeNative(Gst.Base.CollectPads pads, Gst.Base.CollectData pad, Gst.Query query) { IntPtr native_pad = GLib.Marshaller.StructureToPtrAlloc(pad); bool __result = native_cb(pads == null ? IntPtr.Zero : pads.Handle, native_pad, query == null ? IntPtr.Zero : query.Handle, __data); Marshal.FreeHGlobal(native_pad); return(__result); }
Gst.FlowReturn InvokeNative(Gst.Base.CollectPads pads, Gst.Base.CollectData data, Gst.Buffer buffer) { IntPtr native_data = GLib.Marshaller.StructureToPtrAlloc(data); buffer.Owned = false; Gst.FlowReturn __result = (Gst.FlowReturn)native_cb(pads == null ? IntPtr.Zero : pads.Handle, native_data, buffer == null ? IntPtr.Zero : buffer.Handle, __data); Marshal.FreeHGlobal(native_data); return(__result); }
int InvokeNative(Gst.Base.CollectPads pads, Gst.Base.CollectData data1, ulong timestamp1, Gst.Base.CollectData data2, ulong timestamp2) { IntPtr native_data1 = GLib.Marshaller.StructureToPtrAlloc(data1); IntPtr native_data2 = GLib.Marshaller.StructureToPtrAlloc(data2); int __result = native_cb(pads == null ? IntPtr.Zero : pads.Handle, native_data1, timestamp1, native_data2, timestamp2, __data); Marshal.FreeHGlobal(native_data1); Marshal.FreeHGlobal(native_data2); return(__result); }
Gst.FlowReturn InvokeNative(Gst.Base.CollectPads pads, Gst.Base.CollectData data, Gst.Buffer inbuffer, out Gst.Buffer outbuffer) { IntPtr native_data = GLib.Marshaller.StructureToPtrAlloc(data); inbuffer.Owned = false; IntPtr native_outbuffer; Gst.FlowReturn __result = (Gst.FlowReturn)native_cb(pads == null ? IntPtr.Zero : pads.Handle, native_data, inbuffer == null ? IntPtr.Zero : inbuffer.Handle, out native_outbuffer, __data); Marshal.FreeHGlobal(native_data); outbuffer = native_outbuffer == IntPtr.Zero ? null : (Gst.Buffer)GLib.Opaque.GetOpaque(native_outbuffer, typeof(Gst.Buffer), true); return(__result); }
Gst.FlowReturn InvokeNative(Gst.Base.CollectPads pads) { Gst.FlowReturn __result = (Gst.FlowReturn)native_cb(pads == null ? IntPtr.Zero : pads.Handle, __data); return(__result); }
void InvokeNative(Gst.Base.CollectPads pads) { native_cb(pads == null ? IntPtr.Zero : pads.Handle, __data); }