static int n_Decode_Lorg_jcodec_codecs_common_biari_Context_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Org.Jcodec.Codecs.Common.Biari.MQDecoder __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Codecs.Common.Biari.MQDecoder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Org.Jcodec.Codecs.Common.Biari.Context   p0     = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Codecs.Common.Biari.Context> (native_p0, JniHandleOwnership.DoNotTransfer);
            int __ret = __this.Decode(p0);

            return(__ret);
        }
Пример #2
0
        public virtual unsafe int Debinarize(global::Org.Jcodec.Codecs.Common.Biari.MQDecoder p0)
        {
            if (id_debinarize_Lorg_jcodec_codecs_common_biari_MQDecoder_ == IntPtr.Zero)
            {
                id_debinarize_Lorg_jcodec_codecs_common_biari_MQDecoder_ = JNIEnv.GetMethodID(class_ref, "debinarize", "(Lorg/jcodec/codecs/common/biari/MQDecoder;)I");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                int __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_debinarize_Lorg_jcodec_codecs_common_biari_MQDecoder_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "debinarize", "(Lorg/jcodec/codecs/common/biari/MQDecoder;)I"), __args);
                }
                return(__ret);
            } finally {
            }
        }