package o; import java.io.IOException; import o.PKY; /* loaded from: classes.dex */ public abstract class Qff extends yXE { protected abstract void b(Eaa eaa) throws IOException; protected abstract void b(Eaa eaa, ExA exA) throws IOException; protected abstract void c(Eaa eaa) throws IOException; protected abstract String e(); public Qff(C16613piz c16613piz, ExA exA) { super(c16613piz); if (exA.a != null) { BrP.b(new Object[]{(PKY) this.d, 101, C11453efd.b(exA.a.longValue())}, -1773350281, 1773350288, 101); } if (exA.b != null) { BrP.b(new Object[]{(PKY) this.d, 102, C11453efd.b(exA.b.longValue())}, -1773350281, 1773350288, 102); } if (exA.c != null) { ((PKY) this.d).e(104, exA.c); } } @Override // o.yXE public final boolean e(String str) { return str.equals(e()) || str.equals("stsd") || str.equals("stts"); } @Override // o.yXE public final boolean c(String str) { return str.equals("stbl") || str.equals("minf"); } @Override // o.yXE public final yXE c(String str, byte[] bArr, long j, ExA exA) throws IOException { if (bArr != null) { C0629LEh c0629LEh = new C0629LEh(bArr); if (str.equals(e())) { b(c0629LEh); } else if (str.equals("stsd")) { c(c0629LEh); } else if (str.equals("stts")) { b(c0629LEh, exA); } } return this; } }