void InvokeNative(Gst.Video.VideoFormatInfo info, Gst.Video.VideoPackFlags flags, IntPtr dest, IntPtr data, int stride, int x, int y, int width)
        {
            IntPtr native_info = GLib.Marshaller.StructureToPtrAlloc(info);

            native_cb(native_info, (int)flags, dest, __data, stride, x, y, width);
            Marshal.FreeHGlobal(native_info);
        }
コード例 #2
0
 static void ReadNative(IntPtr native, ref Gst.Video.VideoFormatInfo target)
 {
     target = New(native);
 }
		void InvokeNative (Gst.Video.VideoFormatInfo info, Gst.Video.VideoPackFlags flags, IntPtr src, int sstride, IntPtr data, int stride, Gst.Video.VideoChromaSite chroma_site, int y, int width)
		{
			IntPtr native_info = GLib.Marshaller.StructureToPtrAlloc (info);
			native_cb (native_info, (int) flags, src, sstride, __data, stride, (int) chroma_site, y, width);
			Marshal.FreeHGlobal (native_info);
		}