static bool SetInfo_cb(IntPtr inst, IntPtr incaps, IntPtr in_info, IntPtr outcaps, IntPtr out_info)
 {
     try {
         VideoFilter __obj = GLib.Object.GetObject(inst, false) as VideoFilter;
         bool        __result;
         __result = __obj.OnSetInfo(incaps == IntPtr.Zero ? null : (Gst.Caps)GLib.Opaque.GetOpaque(incaps, typeof(Gst.Caps), false), in_info == IntPtr.Zero ? null : (Gst.Video.VideoInfo)GLib.Opaque.GetOpaque(in_info, typeof(Gst.Video.VideoInfo), false), outcaps == IntPtr.Zero ? null : (Gst.Caps)GLib.Opaque.GetOpaque(outcaps, typeof(Gst.Caps), false), out_info == IntPtr.Zero ? null : (Gst.Video.VideoInfo)GLib.Opaque.GetOpaque(out_info, typeof(Gst.Video.VideoInfo), false));
         return(__result);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }
 static int TransformFrameIp_cb(IntPtr inst, IntPtr frame)
 {
     try {
         VideoFilter    __obj = GLib.Object.GetObject(inst, false) as VideoFilter;
         Gst.FlowReturn __result;
         __result = __obj.OnTransformFrameIp(Gst.Video.VideoFrame.New(frame));
         return((int)__result);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }