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 */ public final List f726c; public final byte[] d; public b(int i, @Nullable String str, @Nullable List list, byte[] bArr) { this.a = i; this.b = str; this.f726c = list == null ? Collections.emptyList() : Collections.unmodifiableList(list); 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 */ public final int f727c; 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; this.f727c = i3; this.d = Integer.MIN_VALUE; this.e = ""; } public void a() { int i = this.d; this.d = i == Integer.MIN_VALUE ? this.b : i + this.f727c; 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(); }