public static unsafe void ValidateWebvttHeaderLine(global::Com.Google.Android.Exoplayer.Util.ParsableByteArray p0)
 {
     if (id_validateWebvttHeaderLine_Lcom_google_android_exoplayer_util_ParsableByteArray_ == IntPtr.Zero)
     {
         id_validateWebvttHeaderLine_Lcom_google_android_exoplayer_util_ParsableByteArray_ = JNIEnv.GetStaticMethodID(class_ref, "validateWebvttHeaderLine", "(Lcom/google/android/exoplayer/util/ParsableByteArray;)V");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         JNIEnv.CallStaticVoidMethod(class_ref, id_validateWebvttHeaderLine_Lcom_google_android_exoplayer_util_ParsableByteArray_, __args);
     } finally {
     }
 }
Exemple #2
0
 public unsafe void SampleData(global::Com.Google.Android.Exoplayer.Util.ParsableByteArray p0, int p1)
 {
     if (id_sampleData_Lcom_google_android_exoplayer_util_ParsableByteArray_I == IntPtr.Zero)
     {
         id_sampleData_Lcom_google_android_exoplayer_util_ParsableByteArray_I = JNIEnv.GetMethodID(class_ref, "sampleData", "(Lcom/google/android/exoplayer/util/ParsableByteArray;I)V");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_sampleData_Lcom_google_android_exoplayer_util_ParsableByteArray_I, __args);
     } finally {
     }
 }
Exemple #3
0
 public static unsafe byte[] ParseChildNalUnit(global::Com.Google.Android.Exoplayer.Util.ParsableByteArray p0)
 {
     if (id_parseChildNalUnit_Lcom_google_android_exoplayer_util_ParsableByteArray_ == IntPtr.Zero)
     {
         id_parseChildNalUnit_Lcom_google_android_exoplayer_util_ParsableByteArray_ = JNIEnv.GetStaticMethodID(class_ref, "parseChildNalUnit", "(Lcom/google/android/exoplayer/util/ParsableByteArray;)[B");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         byte[] __ret = (byte[])JNIEnv.GetArray(JNIEnv.CallStaticObjectMethod(class_ref, id_parseChildNalUnit_Lcom_google_android_exoplayer_util_ParsableByteArray_, __args), JniHandleOwnership.TransferLocalRef, typeof(byte));
         return(__ret);
     } finally {
     }
 }
 public static unsafe bool IsSeiMessageEia608(int p0, int p1, global::Com.Google.Android.Exoplayer.Util.ParsableByteArray p2)
 {
     if (id_isSeiMessageEia608_IILcom_google_android_exoplayer_util_ParsableByteArray_ == IntPtr.Zero)
     {
         id_isSeiMessageEia608_IILcom_google_android_exoplayer_util_ParsableByteArray_ = JNIEnv.GetStaticMethodID(class_ref, "isSeiMessageEia608", "(IILcom/google/android/exoplayer/util/ParsableByteArray;)Z");
     }
     try {
         JValue *__args = stackalloc JValue [3];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         __args [2] = new JValue(p2);
         bool __ret = JNIEnv.CallStaticBooleanMethod(class_ref, id_isSeiMessageEia608_IILcom_google_android_exoplayer_util_ParsableByteArray_, __args);
         return(__ret);
     } finally {
     }
 }
 static void n_SampleData_Lcom_google_android_exoplayer_util_ParsableByteArray_I(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1)
 {
     global::Com.Google.Android.Exoplayer.Extractor.DummyTrackOutput __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Extractor.DummyTrackOutput> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Google.Android.Exoplayer.Util.ParsableByteArray     p0     = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Util.ParsableByteArray> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SampleData(p0, p1);
 }