public virtual unsafe void EncodeCoeffsWHT(global::Org.Jcodec.Codecs.Common.Biari.VPxBooleanEncoder p0, int[] p1, int p2) { if (id_encodeCoeffsWHT_Lorg_jcodec_codecs_common_biari_VPxBooleanEncoder_arrayII == IntPtr.Zero) { id_encodeCoeffsWHT_Lorg_jcodec_codecs_common_biari_VPxBooleanEncoder_arrayII = JNIEnv.GetMethodID(class_ref, "encodeCoeffsWHT", "(Lorg/jcodec/codecs/common/biari/VPxBooleanEncoder;[II)V"); } IntPtr native_p1 = JNIEnv.NewArray(p1); try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(p2); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_encodeCoeffsWHT_Lorg_jcodec_codecs_common_biari_VPxBooleanEncoder_arrayII, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "encodeCoeffsWHT", "(Lorg/jcodec/codecs/common/biari/VPxBooleanEncoder;[II)V"), __args); } } finally { if (p1 != null) { JNIEnv.CopyArray(native_p1, p1); JNIEnv.DeleteLocalRef(native_p1); } } }
static void n_EncodeCoeffs_Lorg_jcodec_codecs_common_biari_VPxBooleanEncoder_arrayIIIII(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, int p2, int p3, int p4, int p5) { global::Org.Jcodec.Codecs.Vpx.VPXBitstream __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Codecs.Vpx.VPXBitstream> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Org.Jcodec.Codecs.Common.Biari.VPxBooleanEncoder p0 = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Codecs.Common.Biari.VPxBooleanEncoder> (native_p0, JniHandleOwnership.DoNotTransfer); int[] p1 = (int[])JNIEnv.GetArray(native_p1, JniHandleOwnership.DoNotTransfer, typeof(int)); __this.EncodeCoeffs(p0, p1, p2, p3, p4, p5); if (p1 != null) { JNIEnv.CopyArray(p1, native_p1); } }
static void n_WriteBit_II(IntPtr jnienv, IntPtr native__this, int p0, int p1) { global::Org.Jcodec.Codecs.Common.Biari.VPxBooleanEncoder __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Codecs.Common.Biari.VPxBooleanEncoder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.WriteBit(p0, p1); }
static int n_Position(IntPtr jnienv, IntPtr native__this) { global::Org.Jcodec.Codecs.Common.Biari.VPxBooleanEncoder __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Codecs.Common.Biari.VPxBooleanEncoder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.Position()); }
static void n_Stop(IntPtr jnienv, IntPtr native__this) { global::Org.Jcodec.Codecs.Common.Biari.VPxBooleanEncoder __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Codecs.Common.Biari.VPxBooleanEncoder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.Stop(); }