- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
60 lines
1.8 KiB
Java
60 lines
1.8 KiB
Java
package com.applovin.impl;
|
|
|
|
import java.util.Collections;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class oa {
|
|
public final List a;
|
|
public final int b;
|
|
public final String c;
|
|
|
|
public static oa a(bh bhVar) {
|
|
try {
|
|
bhVar.g(21);
|
|
int w = bhVar.w() & 3;
|
|
int w2 = bhVar.w();
|
|
int d = bhVar.d();
|
|
int i = 0;
|
|
for (int i2 = 0; i2 < w2; i2++) {
|
|
bhVar.g(1);
|
|
int C = bhVar.C();
|
|
for (int i3 = 0; i3 < C; i3++) {
|
|
int C2 = bhVar.C();
|
|
i += C2 + 4;
|
|
bhVar.g(C2);
|
|
}
|
|
}
|
|
bhVar.f(d);
|
|
byte[] bArr = new byte[i];
|
|
int i4 = 0;
|
|
String str = null;
|
|
for (int i5 = 0; i5 < w2; i5++) {
|
|
int w3 = bhVar.w() & 127;
|
|
int C3 = bhVar.C();
|
|
for (int i6 = 0; i6 < C3; i6++) {
|
|
int C4 = bhVar.C();
|
|
byte[] bArr2 = zf.a;
|
|
System.arraycopy(bArr2, 0, bArr, i4, bArr2.length);
|
|
int length = i4 + bArr2.length;
|
|
System.arraycopy(bhVar.c(), bhVar.d(), bArr, length, C4);
|
|
if (w3 == 33 && i6 == 0) {
|
|
str = o3.a(new ch(bArr, length, length + C4));
|
|
}
|
|
i4 = length + C4;
|
|
bhVar.g(C4);
|
|
}
|
|
}
|
|
return new oa(i == 0 ? null : Collections.singletonList(bArr), w + 1, str);
|
|
} catch (ArrayIndexOutOfBoundsException e) {
|
|
throw dh.a("Error parsing HEVC config", e);
|
|
}
|
|
}
|
|
|
|
private oa(List list, int i, String str) {
|
|
this.a = list;
|
|
this.b = i;
|
|
this.c = str;
|
|
}
|
|
}
|