public unsafe Picture8Bit(global::Org.Jcodec.Common.Model.Picture8Bit p0) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() != typeof(Picture8Bit)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lorg/jcodec/common/model/Picture8Bit;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lorg/jcodec/common/model/Picture8Bit;)V", __args); return; } if (id_ctor_Lorg_jcodec_common_model_Picture8Bit_ == IntPtr.Zero) { id_ctor_Lorg_jcodec_common_model_Picture8Bit_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lorg/jcodec/common/model/Picture8Bit;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lorg_jcodec_common_model_Picture8Bit_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lorg_jcodec_common_model_Picture8Bit_, __args); } finally { } }
static IntPtr n_GetY(IntPtr jnienv, IntPtr native__this) { global::Org.Jcodec.Common.Model.Picture8Bit __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Common.Model.Picture8Bit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewArray(__this.GetY())); }
static int n_GetWidth(IntPtr jnienv, IntPtr native__this) { global::Org.Jcodec.Common.Model.Picture8Bit __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Common.Model.Picture8Bit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.Width); }