static void n_DrawFrame_Lorg_webrtc_VideoFrame_Lorg_webrtc_RendererCommon_GlDrawer_(IntPtr jnienv, IntPtr native__this, IntPtr native_frame, IntPtr native_drawer) { global::Org.Webrtc.VideoFrameDrawer __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.VideoFrameDrawer> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Org.Webrtc.VideoFrame frame = global::Java.Lang.Object.GetObject <global::Org.Webrtc.VideoFrame> (native_frame, JniHandleOwnership.DoNotTransfer); global::Org.Webrtc.RendererCommon.IGlDrawer drawer = (global::Org.Webrtc.RendererCommon.IGlDrawer)global::Java.Lang.Object.GetObject <global::Org.Webrtc.RendererCommon.IGlDrawer> (native_drawer, JniHandleOwnership.DoNotTransfer); __this.DrawFrame(frame, drawer); }
static void n_DrawFrame_Lorg_webrtc_VideoFrame_Lorg_webrtc_RendererCommon_GlDrawer_Landroid_graphics_Matrix_IIII(IntPtr jnienv, IntPtr native__this, IntPtr native_frame, IntPtr native_drawer, IntPtr native_additionalRenderMatrix, int viewportX, int viewportY, int viewportWidth, int viewportHeight) { global::Org.Webrtc.VideoFrameDrawer __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.VideoFrameDrawer> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Org.Webrtc.VideoFrame frame = global::Java.Lang.Object.GetObject <global::Org.Webrtc.VideoFrame> (native_frame, JniHandleOwnership.DoNotTransfer); global::Org.Webrtc.RendererCommon.IGlDrawer drawer = (global::Org.Webrtc.RendererCommon.IGlDrawer)global::Java.Lang.Object.GetObject <global::Org.Webrtc.RendererCommon.IGlDrawer> (native_drawer, JniHandleOwnership.DoNotTransfer); global::Android.Graphics.Matrix additionalRenderMatrix = global::Java.Lang.Object.GetObject <global::Android.Graphics.Matrix> (native_additionalRenderMatrix, JniHandleOwnership.DoNotTransfer); __this.DrawFrame(frame, drawer, additionalRenderMatrix, viewportX, viewportY, viewportWidth, viewportHeight); }
static IntPtr n_PrepareBufferForViewportSize_Lorg_webrtc_VideoFrame_Buffer_II(IntPtr jnienv, IntPtr native__this, IntPtr native_buffer, int width, int height) { global::Org.Webrtc.VideoFrameDrawer __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.VideoFrameDrawer> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Org.Webrtc.VideoFrame.IBuffer buffer = (global::Org.Webrtc.VideoFrame.IBuffer)global::Java.Lang.Object.GetObject <global::Org.Webrtc.VideoFrame.IBuffer> (native_buffer, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.PrepareBufferForViewportSize(buffer, width, height)); return(__ret); }
public unsafe YuvConverter(global::Org.Webrtc.VideoFrameDrawer videoFrameDrawer) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { const string __id = "(Lorg/webrtc/VideoFrameDrawer;)V"; if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((videoFrameDrawer == null) ? IntPtr.Zero : ((global::Java.Lang.Object)videoFrameDrawer).Handle); var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args); SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef); _members.InstanceMethods.FinishCreateInstance(__id, this, __args); } finally { } }
static void n_Release(IntPtr jnienv, IntPtr native__this) { global::Org.Webrtc.VideoFrameDrawer __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.VideoFrameDrawer> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.Release(); }