Beispiel #1
0
        static IntPtr n_GetFrames_Ljava_nio_ByteBuffer_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Java.Nio.ByteBuffer p0 = global::Java.Lang.Object.GetObject <global::Java.Nio.ByteBuffer> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.NewArray(__this.GetFrames(p0));

            return(__ret);
        }
Beispiel #2
0
 public static unsafe global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock Copy(global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock p0)
 {
     if (id_copy_Lorg_jcodec_containers_mkv_boxes_MkvBlock_ == IntPtr.Zero)
     {
         id_copy_Lorg_jcodec_containers_mkv_boxes_MkvBlock_ = JNIEnv.GetStaticMethodID(class_ref, "copy", "(Lorg/jcodec/containers/mkv/boxes/MkvBlock;)Lorg/jcodec/containers/mkv/boxes/MkvBlock;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock __ret = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock> (JNIEnv.CallStaticObjectMethod(class_ref, id_copy_Lorg_jcodec_containers_mkv_boxes_MkvBlock_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Beispiel #3
0
 public static unsafe global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock KeyFrame(long p0, int p1, global::Java.Nio.ByteBuffer p2)
 {
     if (id_keyFrame_JILjava_nio_ByteBuffer_ == IntPtr.Zero)
     {
         id_keyFrame_JILjava_nio_ByteBuffer_ = JNIEnv.GetStaticMethodID(class_ref, "keyFrame", "(JILjava/nio/ByteBuffer;)Lorg/jcodec/containers/mkv/boxes/MkvBlock;");
     }
     try {
         JValue *__args = stackalloc JValue [3];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         __args [2] = new JValue(p2);
         global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock __ret = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock> (JNIEnv.CallStaticObjectMethod(class_ref, id_keyFrame_JILjava_nio_ByteBuffer_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Beispiel #4
0
 public static unsafe global::Org.Jcodec.Containers.Mkv.Demuxer.MKVDemuxer.IndexedBlock Make(int p0, global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock p1)
 {
     if (id_make_ILorg_jcodec_containers_mkv_boxes_MkvBlock_ == IntPtr.Zero)
     {
         id_make_ILorg_jcodec_containers_mkv_boxes_MkvBlock_ = JNIEnv.GetStaticMethodID(class_ref, "make", "(ILorg/jcodec/containers/mkv/boxes/MkvBlock;)Lorg/jcodec/containers/mkv/demuxer/MKVDemuxer$IndexedBlock;");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         global::Org.Jcodec.Containers.Mkv.Demuxer.MKVDemuxer.IndexedBlock __ret = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mkv.Demuxer.MKVDemuxer.IndexedBlock> (JNIEnv.CallStaticObjectMethod(class_ref, id_make_ILorg_jcodec_containers_mkv_boxes_MkvBlock_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Beispiel #5
0
 static void n_SeekAndReadContent_Ljava_nio_channels_FileChannel_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Nio.Channels.FileChannel            p0     = global::Java.Lang.Object.GetObject <global::Java.Nio.Channels.FileChannel> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SeekAndReadContent(p0);
 }
Beispiel #6
0
 static void n_ReadFrames_Ljava_nio_ByteBuffer_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Nio.ByteBuffer p0 = global::Java.Lang.Object.GetObject <global::Java.Nio.ByteBuffer> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.ReadFrames(p0);
 }
Beispiel #7
0
 static int n_GetDataSize(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.DataSize);
 }