what-the-bank/sources/o/QEQ.java

489 lines
14 KiB
Java

package o;
import java.util.HashMap;
/* loaded from: classes.dex */
public final class QEQ extends BrP {
private static final HashMap<Integer, String> a;
static {
HashMap<Integer, String> hashMap = new HashMap<>();
a = hashMap;
hashMap.put(-2, "Bitmap type");
hashMap.put(-1, "Header Size");
hashMap.put(1, "Image Height");
hashMap.put(2, "Image Width");
hashMap.put(3, "Planes");
hashMap.put(4, "Bits Per Pixel");
hashMap.put(5, "Compression");
hashMap.put(6, "X Pixels per Meter");
hashMap.put(7, "Y Pixels per Meter");
hashMap.put(8, "Palette Colour Count");
hashMap.put(9, "Important Colour Count");
hashMap.put(10, "Rendering");
hashMap.put(11, "Color Encoding");
hashMap.put(12, "Red Mask");
hashMap.put(13, "Green Mask");
hashMap.put(14, "Blue Mask");
hashMap.put(15, "Alpha Mask");
hashMap.put(16, "Color Space Type");
hashMap.put(17, "Red Gamma Curve");
hashMap.put(18, "Green Gamma Curve");
hashMap.put(19, "Blue Gamma Curve");
hashMap.put(20, "Rendering Intent");
hashMap.put(21, "Linked Profile File Name");
}
public QEQ() {
a(new OXB(this));
}
/* loaded from: classes.dex */
public enum IeS {
BITMAP(19778),
OS2_BITMAP_ARRAY(16706),
OS2_ICON(17225),
OS2_COLOR_ICON(18755),
OS2_COLOR_POINTER(20547),
OS2_POINTER(21584);
private final int value;
IeS(int i) {
this.value = i;
}
public static IeS a(int i) {
for (IeS ieS : values()) {
if (ieS.value == i) {
return ieS;
}
}
return null;
}
@Override // java.lang.Enum
public final String toString() {
switch (AnonymousClass5.d[ordinal()]) {
case 1:
return "Standard";
case 2:
return "Bitmap Array";
case 3:
return "Color Icon";
case 4:
return "Color Pointer";
case 5:
return "Monochrome Icon";
case 6:
return "Monochrome Pointer";
default:
StringBuilder sb = new StringBuilder("Unimplemented bitmap type ");
sb.append(super.toString());
throw new IllegalStateException(sb.toString());
}
}
}
/* loaded from: classes.dex */
public enum Sts {
BI_RGB(0),
BI_RLE8(1),
BI_RLE4(2),
BI_BITFIELDS(3),
BI_HUFFMAN_1D(3),
BI_JPEG(4),
BI_RLE24(4),
BI_PNG(5),
BI_ALPHABITFIELDS(6),
BI_CMYK(11),
BI_CMYKRLE8(12),
BI_CMYKRLE4(13);
private final int value;
Sts(int i) {
this.value = i;
}
public static Sts c(QEQ qeq) {
Integer j;
Integer j2 = qeq.j(5);
if (j2 == null || (j = qeq.j(-1)) == null) {
return null;
}
int intValue = j2.intValue();
int intValue2 = j.intValue();
switch (intValue) {
case 0:
return BI_RGB;
case 1:
return BI_RLE8;
case 2:
return BI_RLE4;
case 3:
return intValue2 == 64 ? BI_HUFFMAN_1D : BI_BITFIELDS;
case 4:
return intValue2 == 64 ? BI_RLE24 : BI_JPEG;
case 5:
return BI_PNG;
case 6:
return BI_ALPHABITFIELDS;
case 7:
case 8:
case 9:
case 10:
default:
return null;
case 11:
return BI_CMYK;
case 12:
return BI_CMYKRLE8;
case 13:
return BI_CMYKRLE4;
}
}
@Override // java.lang.Enum
public final String toString() {
switch (AnonymousClass5.e[ordinal()]) {
case 1:
return "None";
case 2:
return "RLE 8-bit/pixel";
case 3:
return "RLE 4-bit/pixel";
case 4:
return "Bit Fields";
case 5:
return "Huffman 1D";
case 6:
return "JPEG";
case 7:
return "RLE 24-bit/pixel";
case 8:
return "PNG";
case 9:
return "RGBA Bit Fields";
case 10:
return "CMYK Uncompressed";
case 11:
return "CMYK RLE-8";
case 12:
return "CMYK RLE-4";
default:
StringBuilder sb = new StringBuilder("Unimplemented compression type ");
sb.append(super.toString());
throw new IllegalStateException(sb.toString());
}
}
}
/* loaded from: classes.dex */
public enum HBt {
NONE(0),
ERROR_DIFFUSION(1),
PANDA(2),
SUPER_CIRCLE(3);
private final int value;
HBt(int i) {
this.value = i;
}
public static HBt c(int i) {
for (HBt hBt : values()) {
if (hBt.value == i) {
return hBt;
}
}
return null;
}
@Override // java.lang.Enum
public final String toString() {
int i = AnonymousClass5.a[ordinal()];
if (i == 1) {
return "No Halftoning Algorithm";
}
if (i == 2) {
return "Error Diffusion Halftoning";
}
if (i == 3) {
return "Processing Algorithm for Noncoded Document Acquisition";
}
if (i == 4) {
return "Super-circle Halftoning";
}
StringBuilder sb = new StringBuilder("Unimplemented rendering halftoning algorithm type ");
sb.append(super.toString());
throw new IllegalStateException(sb.toString());
}
}
/* loaded from: classes.dex */
public enum RVV {
RGB;
private final int value = 0;
RVV(String str) {
}
public static RVV b(int i) {
if (i == 0) {
return RGB;
}
return null;
}
}
/* loaded from: classes.dex */
public enum LWm {
LCS_CALIBRATED_RGB(0),
LCS_sRGB(1934772034),
LCS_WINDOWS_COLOR_SPACE(1466527264),
PROFILE_LINKED(1279872587),
PROFILE_EMBEDDED(1296188740);
final long value;
LWm(long j) {
this.value = j;
}
public static LWm a(long j) {
for (LWm lWm : values()) {
if (lWm.value == j) {
return lWm;
}
}
return null;
}
@Override // java.lang.Enum
public final String toString() {
int i = AnonymousClass5.c[ordinal()];
if (i == 1) {
return "Calibrated RGB";
}
if (i == 2) {
return "sRGB Color Space";
}
if (i == 3) {
return "System Default Color Space, sRGB";
}
if (i == 4) {
return "Linked Profile";
}
if (i == 5) {
return "Embedded Profile";
}
StringBuilder sb = new StringBuilder("Unimplemented color space type ");
sb.append(super.toString());
throw new IllegalStateException(sb.toString());
}
}
/* loaded from: classes.dex */
public enum tOB {
LCS_GM_BUSINESS(1),
LCS_GM_GRAPHICS(2),
LCS_GM_IMAGES(4),
LCS_GM_ABS_COLORIMETRIC(8);
private final int value;
tOB(int i) {
this.value = i;
}
public static tOB b(long j) {
for (tOB tob : values()) {
if (tob.value == j) {
return tob;
}
}
return null;
}
@Override // java.lang.Enum
public final String toString() {
int i = AnonymousClass5.b[ordinal()];
if (i == 1) {
return "Graphic, Saturation";
}
if (i == 2) {
return "Proof, Relative Colorimetric";
}
if (i == 3) {
return "Picture, Perceptual";
}
if (i == 4) {
return "Match, Absolute Colorimetric";
}
StringBuilder sb = new StringBuilder("Unimplemented rendering intent ");
sb.append(super.toString());
throw new IllegalStateException(sb.toString());
}
}
/* renamed from: o.QEQ$5, reason: invalid class name */
/* loaded from: classes.dex */
static /* synthetic */ class AnonymousClass5 {
static final int[] a;
static final int[] b;
static final int[] c;
static final int[] d;
static final int[] e;
static {
int[] iArr = new int[tOB.values().length];
b = iArr;
try {
iArr[tOB.LCS_GM_BUSINESS.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
b[tOB.LCS_GM_GRAPHICS.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
b[tOB.LCS_GM_IMAGES.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
try {
b[tOB.LCS_GM_ABS_COLORIMETRIC.ordinal()] = 4;
} catch (NoSuchFieldError unused4) {
}
int[] iArr2 = new int[LWm.values().length];
c = iArr2;
try {
iArr2[LWm.LCS_CALIBRATED_RGB.ordinal()] = 1;
} catch (NoSuchFieldError unused5) {
}
try {
c[LWm.LCS_sRGB.ordinal()] = 2;
} catch (NoSuchFieldError unused6) {
}
try {
c[LWm.LCS_WINDOWS_COLOR_SPACE.ordinal()] = 3;
} catch (NoSuchFieldError unused7) {
}
try {
c[LWm.PROFILE_LINKED.ordinal()] = 4;
} catch (NoSuchFieldError unused8) {
}
try {
c[LWm.PROFILE_EMBEDDED.ordinal()] = 5;
} catch (NoSuchFieldError unused9) {
}
int[] iArr3 = new int[HBt.values().length];
a = iArr3;
try {
iArr3[HBt.NONE.ordinal()] = 1;
} catch (NoSuchFieldError unused10) {
}
try {
a[HBt.ERROR_DIFFUSION.ordinal()] = 2;
} catch (NoSuchFieldError unused11) {
}
try {
a[HBt.PANDA.ordinal()] = 3;
} catch (NoSuchFieldError unused12) {
}
try {
a[HBt.SUPER_CIRCLE.ordinal()] = 4;
} catch (NoSuchFieldError unused13) {
}
int[] iArr4 = new int[Sts.values().length];
e = iArr4;
try {
iArr4[Sts.BI_RGB.ordinal()] = 1;
} catch (NoSuchFieldError unused14) {
}
try {
e[Sts.BI_RLE8.ordinal()] = 2;
} catch (NoSuchFieldError unused15) {
}
try {
e[Sts.BI_RLE4.ordinal()] = 3;
} catch (NoSuchFieldError unused16) {
}
try {
e[Sts.BI_BITFIELDS.ordinal()] = 4;
} catch (NoSuchFieldError unused17) {
}
try {
e[Sts.BI_HUFFMAN_1D.ordinal()] = 5;
} catch (NoSuchFieldError unused18) {
}
try {
e[Sts.BI_JPEG.ordinal()] = 6;
} catch (NoSuchFieldError unused19) {
}
try {
e[Sts.BI_RLE24.ordinal()] = 7;
} catch (NoSuchFieldError unused20) {
}
try {
e[Sts.BI_PNG.ordinal()] = 8;
} catch (NoSuchFieldError unused21) {
}
try {
e[Sts.BI_ALPHABITFIELDS.ordinal()] = 9;
} catch (NoSuchFieldError unused22) {
}
try {
e[Sts.BI_CMYK.ordinal()] = 10;
} catch (NoSuchFieldError unused23) {
}
try {
e[Sts.BI_CMYKRLE8.ordinal()] = 11;
} catch (NoSuchFieldError unused24) {
}
try {
e[Sts.BI_CMYKRLE4.ordinal()] = 12;
} catch (NoSuchFieldError unused25) {
}
int[] iArr5 = new int[IeS.values().length];
d = iArr5;
try {
iArr5[IeS.BITMAP.ordinal()] = 1;
} catch (NoSuchFieldError unused26) {
}
try {
d[IeS.OS2_BITMAP_ARRAY.ordinal()] = 2;
} catch (NoSuchFieldError unused27) {
}
try {
d[IeS.OS2_COLOR_ICON.ordinal()] = 3;
} catch (NoSuchFieldError unused28) {
}
try {
d[IeS.OS2_COLOR_POINTER.ordinal()] = 4;
} catch (NoSuchFieldError unused29) {
}
try {
d[IeS.OS2_ICON.ordinal()] = 5;
} catch (NoSuchFieldError unused30) {
}
try {
d[IeS.OS2_POINTER.ordinal()] = 6;
} catch (NoSuchFieldError unused31) {
}
}
}
@Override // o.BrP
public final HashMap<Integer, String> c() {
return a;
}
@Override // o.BrP
public final String b() {
return "BMP Header";
}
}