85 lines
2.7 KiB
Java
85 lines
2.7 KiB
Java
|
package o;
|
||
|
|
||
|
/* renamed from: o.BOr, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class C0191BOr extends C0743NnU<Fzs> {
|
||
|
public C0191BOr(Fzs fzs) {
|
||
|
super(fzs);
|
||
|
}
|
||
|
|
||
|
@Override // o.C0743NnU
|
||
|
public final String d(int i) {
|
||
|
if (i == -3) {
|
||
|
return a(-3, "Baseline", "Extended sequential, Huffman", "Progressive, Huffman", "Lossless, Huffman", null, "Differential sequential, Huffman", "Differential progressive, Huffman", "Differential lossless, Huffman", "Reserved for JPEG extensions", "Extended sequential, arithmetic", "Progressive, arithmetic", "Lossless, arithmetic", null, "Differential sequential, arithmetic", "Differential progressive, arithmetic", "Differential lossless, arithmetic");
|
||
|
}
|
||
|
if (i == 3) {
|
||
|
String o2 = ((Fzs) this.a).o(3);
|
||
|
if (o2 == null) {
|
||
|
return null;
|
||
|
}
|
||
|
StringBuilder sb = new StringBuilder();
|
||
|
sb.append(o2);
|
||
|
sb.append(" pixels");
|
||
|
return sb.toString();
|
||
|
}
|
||
|
if (i == 0) {
|
||
|
String o3 = ((Fzs) this.a).o(0);
|
||
|
if (o3 == null) {
|
||
|
return null;
|
||
|
}
|
||
|
StringBuilder sb2 = new StringBuilder();
|
||
|
sb2.append(o3);
|
||
|
sb2.append(" bits");
|
||
|
return sb2.toString();
|
||
|
}
|
||
|
if (i != 1) {
|
||
|
switch (i) {
|
||
|
case 6:
|
||
|
return h(0);
|
||
|
case 7:
|
||
|
return h(1);
|
||
|
case 8:
|
||
|
return h(2);
|
||
|
case 9:
|
||
|
return h(3);
|
||
|
default:
|
||
|
return super.d(i);
|
||
|
}
|
||
|
}
|
||
|
String o4 = ((Fzs) this.a).o(1);
|
||
|
if (o4 == null) {
|
||
|
return null;
|
||
|
}
|
||
|
StringBuilder sb3 = new StringBuilder();
|
||
|
sb3.append(o4);
|
||
|
sb3.append(" pixels");
|
||
|
return sb3.toString();
|
||
|
}
|
||
|
|
||
|
private String h(int i) {
|
||
|
String str;
|
||
|
int i2 = i + 6;
|
||
|
MqQ mqQ = (MqQ) BrP.b(new Object[]{(Fzs) this.a, Integer.valueOf(i2)}, -2120483836, 2120483840, i2);
|
||
|
if (mqQ == null) {
|
||
|
return null;
|
||
|
}
|
||
|
StringBuilder sb = new StringBuilder();
|
||
|
int i3 = mqQ.d;
|
||
|
if (i3 == 1) {
|
||
|
str = "Y";
|
||
|
} else if (i3 == 2) {
|
||
|
str = "Cb";
|
||
|
} else if (i3 == 3) {
|
||
|
str = "Cr";
|
||
|
} else if (i3 != 4) {
|
||
|
str = i3 != 5 ? String.format("Unknown (%s)", Integer.valueOf(i3)) : "Q";
|
||
|
} else {
|
||
|
str = "I";
|
||
|
}
|
||
|
sb.append(str);
|
||
|
sb.append(" component: ");
|
||
|
sb.append(mqQ);
|
||
|
return sb.toString();
|
||
|
}
|
||
|
}
|