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

98 lines
3.7 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
/* loaded from: classes.dex */
public final class Jyv extends C0743NnU<Dan> {
public Jyv(Dan dan) {
super(dan);
}
@Override // o.C0743NnU
public final String d(int i) {
if (i != 0) {
switch (i) {
case 264:
return a(264, "sRGB", "Adobe RGB", "Pro Photo RGB");
case 265:
return a(265, "High Speed", "High Function", "Advanced High Speed", "Advanced High Function");
case 266:
Integer j = ((Dan) this.a).j(266);
if (j == null) {
return null;
}
if (j.intValue() == 0) {
return "(none)";
}
StringBuilder sb = new StringBuilder();
int intValue = j.intValue();
if ((intValue & 1) != 0) {
sb.append("Noise Reduction, ");
}
if (((intValue >> 1) & 1) != 0) {
sb.append("Noise Filter, ");
}
if (((intValue >> 2) & 1) != 0) {
sb.append("Noise Filter (ISO Boost), ");
}
return sb.substring(0, sb.length() - 2);
case 267:
Integer j2 = ((Dan) this.a).j(267);
if (j2 == null) {
return null;
}
int intValue2 = j2.intValue();
if (intValue2 == 0) {
return "Original";
}
if (intValue2 == 1) {
return "Edited (Landscape)";
}
if (intValue2 == 6 || intValue2 == 8) {
return "Edited (Portrait)";
}
StringBuilder sb2 = new StringBuilder("Unknown (");
sb2.append(j2);
sb2.append(")");
return sb2.toString();
case 268:
Integer j3 = ((Dan) this.a).j(268);
if (j3 == null) {
return null;
}
if (j3.intValue() == 0) {
return "(none)";
}
StringBuilder sb3 = new StringBuilder();
int intValue3 = j3.intValue();
if ((intValue3 & 1) != 0) {
sb3.append("WB Color Temp, ");
}
if (((intValue3 >> 1) & 1) != 0) {
sb3.append("WB Gray Point, ");
}
if (((intValue3 >> 2) & 1) != 0) {
sb3.append("Saturation, ");
}
if (((intValue3 >> 3) & 1) != 0) {
sb3.append("Contrast, ");
}
if (((intValue3 >> 4) & 1) != 0) {
sb3.append("Sharpness, ");
}
if (((intValue3 >> 5) & 1) != 0) {
sb3.append("Color Space, ");
}
if (((intValue3 >> 6) & 1) != 0) {
sb3.append("High Function, ");
}
if (((intValue3 >> 7) & 1) != 0) {
sb3.append("Noise Reduction, ");
}
return sb3.substring(0, sb3.length() - 2);
default:
return super.d(i);
}
}
return e(0, 4);
}
}