public VideoFormatUnpackWrapper(Gst.Video.VideoFormatUnpack managed) { this.managed = managed; if (managed != null) { NativeDelegate = new VideoFormatUnpackNative(NativeCallback); } }
public static Gst.Video.VideoFormatUnpack GetManagedDelegate(VideoFormatUnpackNative native) { if (native == null) { return(null); } VideoFormatUnpackWrapper wrapper = (VideoFormatUnpackWrapper)native.Target; if (wrapper == null) { return(null); } return(wrapper.managed); }
internal VideoFormatUnpackInvoker(VideoFormatUnpackNative native_cb, IntPtr data) : this(native_cb, data, null) { }
internal VideoFormatUnpackInvoker(VideoFormatUnpackNative native_cb, IntPtr data, GLib.DestroyNotify notify) { this.native_cb = native_cb; __data = data; __notify = notify; }
internal VideoFormatUnpackInvoker(VideoFormatUnpackNative native_cb) : this(native_cb, IntPtr.Zero, null) { }