Exemplo n.º 1
0
 public static unsafe global::Org.Jcodec.Codecs.Aac.ADTSParser.Header Read(global::Java.Nio.ByteBuffer p0)
 {
     if (id_read_Ljava_nio_ByteBuffer_ == IntPtr.Zero)
     {
         id_read_Ljava_nio_ByteBuffer_ = JNIEnv.GetStaticMethodID(class_ref, "read", "(Ljava/nio/ByteBuffer;)Lorg/jcodec/codecs/aac/ADTSParser$Header;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         global::Org.Jcodec.Codecs.Aac.ADTSParser.Header __ret = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Codecs.Aac.ADTSParser.Header> (JNIEnv.CallStaticObjectMethod(class_ref, id_read_Ljava_nio_ByteBuffer_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Exemplo n.º 2
0
 public static unsafe global::Java.Nio.ByteBuffer Write(global::Org.Jcodec.Codecs.Aac.ADTSParser.Header p0, global::Java.Nio.ByteBuffer p1, int p2)
 {
     if (id_write_Lorg_jcodec_codecs_aac_ADTSParser_Header_Ljava_nio_ByteBuffer_I == IntPtr.Zero)
     {
         id_write_Lorg_jcodec_codecs_aac_ADTSParser_Header_Ljava_nio_ByteBuffer_I = JNIEnv.GetStaticMethodID(class_ref, "write", "(Lorg/jcodec/codecs/aac/ADTSParser$Header;Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;");
     }
     try {
         JValue *__args = stackalloc JValue [3];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         __args [2] = new JValue(p2);
         global::Java.Nio.ByteBuffer __ret = global::Java.Lang.Object.GetObject <global::Java.Nio.ByteBuffer> (JNIEnv.CallStaticObjectMethod(class_ref, id_write_Lorg_jcodec_codecs_aac_ADTSParser_Header_Ljava_nio_ByteBuffer_I, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Exemplo n.º 3
0
 static int n_GetChanConfig(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Jcodec.Codecs.Aac.ADTSParser.Header __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Codecs.Aac.ADTSParser.Header> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.ChanConfig);
 }