2021-07-24 02:37:17 +00:00
|
|
|
package c.i.a.c.a2.j0;
|
|
|
|
|
|
|
|
import androidx.annotation.Nullable;
|
|
|
|
import c.i.a.c.a2.j;
|
|
|
|
import c.i.a.c.i2.e0;
|
|
|
|
import c.i.a.c.i2.w;
|
|
|
|
import com.google.android.exoplayer2.ParserException;
|
|
|
|
import java.util.Collections;
|
|
|
|
import java.util.List;
|
|
|
|
/* compiled from: TsPayloadReader */
|
|
|
|
public interface i0 {
|
|
|
|
|
|
|
|
/* compiled from: TsPayloadReader */
|
|
|
|
public static final class a {
|
|
|
|
public final String a;
|
|
|
|
public final byte[] b;
|
|
|
|
|
|
|
|
public a(String str, int i, byte[] bArr) {
|
|
|
|
this.a = str;
|
|
|
|
this.b = bArr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* compiled from: TsPayloadReader */
|
|
|
|
public static final class b {
|
|
|
|
public final int a;
|
|
|
|
@Nullable
|
|
|
|
public final String b;
|
|
|
|
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
2021-07-28 07:39:21 +00:00
|
|
|
public final List<a> f726c;
|
2021-07-24 02:37:17 +00:00
|
|
|
public final byte[] d;
|
|
|
|
|
|
|
|
public b(int i, @Nullable String str, @Nullable List<a> list, byte[] bArr) {
|
|
|
|
this.a = i;
|
|
|
|
this.b = str;
|
2021-07-28 07:39:21 +00:00
|
|
|
this.f726c = list == null ? Collections.emptyList() : Collections.unmodifiableList(list);
|
2021-07-24 02:37:17 +00:00
|
|
|
this.d = bArr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* compiled from: TsPayloadReader */
|
|
|
|
public interface c {
|
|
|
|
@Nullable
|
|
|
|
i0 a(int i, b bVar);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* compiled from: TsPayloadReader */
|
|
|
|
public static final class d {
|
|
|
|
public final String a;
|
|
|
|
public final int b;
|
|
|
|
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
2021-07-28 07:39:21 +00:00
|
|
|
public final int f727c;
|
2021-07-24 02:37:17 +00:00
|
|
|
public int d;
|
|
|
|
public String e;
|
|
|
|
|
|
|
|
public d(int i, int i2, int i3) {
|
|
|
|
String str;
|
|
|
|
if (i != Integer.MIN_VALUE) {
|
|
|
|
str = i + "/";
|
|
|
|
} else {
|
|
|
|
str = "";
|
|
|
|
}
|
|
|
|
this.a = str;
|
|
|
|
this.b = i2;
|
2021-07-28 07:39:21 +00:00
|
|
|
this.f727c = i3;
|
2021-07-24 02:37:17 +00:00
|
|
|
this.d = Integer.MIN_VALUE;
|
|
|
|
this.e = "";
|
|
|
|
}
|
|
|
|
|
|
|
|
public void a() {
|
|
|
|
int i = this.d;
|
2021-07-28 07:39:21 +00:00
|
|
|
this.d = i == Integer.MIN_VALUE ? this.b : i + this.f727c;
|
2021-07-24 02:37:17 +00:00
|
|
|
this.e = this.a + this.d;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String b() {
|
|
|
|
if (this.d != Integer.MIN_VALUE) {
|
|
|
|
return this.e;
|
|
|
|
}
|
|
|
|
throw new IllegalStateException("generateNewId() must be called before retrieving ids.");
|
|
|
|
}
|
|
|
|
|
|
|
|
public int c() {
|
|
|
|
int i = this.d;
|
|
|
|
if (i != Integer.MIN_VALUE) {
|
|
|
|
return i;
|
|
|
|
}
|
|
|
|
throw new IllegalStateException("generateNewId() must be called before retrieving ids.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void a(e0 e0Var, j jVar, d dVar);
|
|
|
|
|
|
|
|
void b(w wVar, int i) throws ParserException;
|
|
|
|
|
|
|
|
void c();
|
|
|
|
}
|