package t1;

import com.google.android.gms.maps.model.BitmapDescriptorFactory;

/* loaded from: classes.dex */
public final class g {

    /* renamed from: a, reason: collision with root package name */
    public static final g f35993a = new g();

    /* renamed from: b, reason: collision with root package name */
    private static final float[] f35994b;

    /* renamed from: c, reason: collision with root package name */
    private static final float[] f35995c;

    /* renamed from: d, reason: collision with root package name */
    private static final y f35996d;

    /* renamed from: e, reason: collision with root package name */
    private static final y f35997e;

    /* renamed from: f, reason: collision with root package name */
    private static final x f35998f;

    /* renamed from: g, reason: collision with root package name */
    private static final x f35999g;

    /* renamed from: h, reason: collision with root package name */
    private static final x f36000h;

    /* renamed from: i, reason: collision with root package name */
    private static final x f36001i;

    /* renamed from: j, reason: collision with root package name */
    private static final x f36002j;

    /* renamed from: k, reason: collision with root package name */
    private static final x f36003k;

    /* renamed from: l, reason: collision with root package name */
    private static final x f36004l;

    /* renamed from: m, reason: collision with root package name */
    private static final x f36005m;

    /* renamed from: n, reason: collision with root package name */
    private static final x f36006n;

    /* renamed from: o, reason: collision with root package name */
    private static final x f36007o;

    /* renamed from: p, reason: collision with root package name */
    private static final x f36008p;

    /* renamed from: q, reason: collision with root package name */
    private static final x f36009q;

    /* renamed from: r, reason: collision with root package name */
    private static final x f36010r;

    /* renamed from: s, reason: collision with root package name */
    private static final x f36011s;

    /* renamed from: t, reason: collision with root package name */
    private static final c f36012t;

    /* renamed from: u, reason: collision with root package name */
    private static final c f36013u;

    /* renamed from: v, reason: collision with root package name */
    private static final x f36014v;

    /* renamed from: w, reason: collision with root package name */
    private static final c f36015w;

    /* renamed from: x, reason: collision with root package name */
    private static final c[] f36016x;

    static {
        float[] fArr = {0.64f, 0.33f, 0.3f, 0.6f, 0.15f, 0.06f};
        f35994b = fArr;
        float[] fArr2 = {0.67f, 0.33f, 0.21f, 0.71f, 0.14f, 0.08f};
        f35995c = fArr2;
        y yVar = new y(2.4d, 0.9478672985781991d, 0.05213270142180095d, 0.07739938080495357d, 0.04045d, 0.0d, 0.0d, 96, null);
        f35996d = yVar;
        y yVar2 = new y(2.2d, 0.9478672985781991d, 0.05213270142180095d, 0.07739938080495357d, 0.04045d, 0.0d, 0.0d, 96, null);
        f35997e = yVar2;
        k kVar = k.f36028a;
        x xVar = new x("sRGB IEC61966-2.1", fArr, kVar.e(), yVar, 0);
        f35998f = xVar;
        x xVar2 = new x("sRGB IEC61966-2.1 (Linear)", fArr, kVar.e(), 1.0d, BitmapDescriptorFactory.HUE_RED, 1.0f, 1);
        f35999g = xVar2;
        x xVar3 = new x("scRGB-nl IEC 61966-2-2:2003", fArr, kVar.e(), null, new j() { // from class: t1.e
            @Override // t1.j
            public final double a(double d10) {
                double c10;
                c10 = g.c(d10);
                return c10;
            }
        }, new j() { // from class: t1.f
            @Override // t1.j
            public final double a(double d10) {
                double d11;
                d11 = g.d(d10);
                return d11;
            }
        }, -0.799f, 2.399f, yVar, 2);
        f36000h = xVar3;
        x xVar4 = new x("scRGB IEC 61966-2-2:2003", fArr, kVar.e(), 1.0d, -0.5f, 7.499f, 3);
        f36001i = xVar4;
        x xVar5 = new x("Rec. ITU-R BT.709-5", new float[]{0.64f, 0.33f, 0.3f, 0.6f, 0.15f, 0.06f}, kVar.e(), new y(2.2222222222222223d, 0.9099181073703367d, 0.09008189262966333d, 0.2222222222222222d, 0.081d, 0.0d, 0.0d, 96, null), 4);
        f36002j = xVar5;
        x xVar6 = new x("Rec. ITU-R BT.2020-1", new float[]{0.708f, 0.292f, 0.17f, 0.797f, 0.131f, 0.046f}, kVar.e(), new y(2.2222222222222223d, 0.9096697898662786d, 0.09033021013372146d, 0.2222222222222222d, 0.08145d, 0.0d, 0.0d, 96, null), 5);
        f36003k = xVar6;
        x xVar7 = new x("SMPTE RP 431-2-2007 DCI (P3)", new float[]{0.68f, 0.32f, 0.265f, 0.69f, 0.15f, 0.06f}, new z(0.314f, 0.351f), 2.6d, BitmapDescriptorFactory.HUE_RED, 1.0f, 6);
        f36004l = xVar7;
        x xVar8 = new x("Display P3", new float[]{0.68f, 0.32f, 0.265f, 0.69f, 0.15f, 0.06f}, kVar.e(), yVar, 7);
        f36005m = xVar8;
        x xVar9 = new x("NTSC (1953)", fArr2, kVar.a(), new y(2.2222222222222223d, 0.9099181073703367d, 0.09008189262966333d, 0.2222222222222222d, 0.081d, 0.0d, 0.0d, 96, null), 8);
        f36006n = xVar9;
        x xVar10 = new x("SMPTE-C RGB", new float[]{0.63f, 0.34f, 0.31f, 0.595f, 0.155f, 0.07f}, kVar.e(), new y(2.2222222222222223d, 0.9099181073703367d, 0.09008189262966333d, 0.2222222222222222d, 0.081d, 0.0d, 0.0d, 96, null), 9);
        f36007o = xVar10;
        x xVar11 = new x("Adobe RGB (1998)", new float[]{0.64f, 0.33f, 0.21f, 0.71f, 0.15f, 0.06f}, kVar.e(), 2.2d, BitmapDescriptorFactory.HUE_RED, 1.0f, 10);
        f36008p = xVar11;
        x xVar12 = new x("ROMM RGB ISO 22028-2:2013", new float[]{0.7347f, 0.2653f, 0.1596f, 0.8404f, 0.0366f, 1.0E-4f}, kVar.b(), new y(1.8d, 1.0d, 0.0d, 0.0625d, 0.031248d, 0.0d, 0.0d, 96, null), 11);
        f36009q = xVar12;
        x xVar13 = new x("SMPTE ST 2065-1:2012 ACES", new float[]{0.7347f, 0.2653f, BitmapDescriptorFactory.HUE_RED, 1.0f, 1.0E-4f, -0.077f}, kVar.d(), 1.0d, -65504.0f, 65504.0f, 12);
        f36010r = xVar13;
        x xVar14 = new x("Academy S-2014-004 ACEScg", new float[]{0.713f, 0.293f, 0.165f, 0.83f, 0.128f, 0.044f}, kVar.d(), 1.0d, -65504.0f, 65504.0f, 13);
        f36011s = xVar14;
        a0 a0Var = new a0("Generic XYZ", 14);
        f36012t = a0Var;
        l lVar = new l("Generic L*a*b*", 15);
        f36013u = lVar;
        x xVar15 = new x("None", fArr, kVar.e(), yVar2, 16);
        f36014v = xVar15;
        m mVar = new m("Oklab", 17);
        f36015w = mVar;
        f36016x = new c[]{xVar, xVar2, xVar3, xVar4, xVar5, xVar6, xVar7, xVar8, xVar9, xVar10, xVar11, xVar12, xVar13, xVar14, a0Var, lVar, xVar15, mVar};
    }

    private g() {
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final double c(double d10) {
        return d.a(d10, 0.9478672985781991d, 0.05213270142180095d, 0.07739938080495357d, 0.04045d, 2.4d);
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final double d(double d10) {
        return d.b(d10, 0.9478672985781991d, 0.05213270142180095d, 0.07739938080495357d, 0.04045d, 2.4d);
    }

    public final x e() {
        return f36010r;
    }

    public final x f() {
        return f36011s;
    }

    public final x g() {
        return f36008p;
    }

    public final x h() {
        return f36003k;
    }

    public final x i() {
        return f36002j;
    }

    public final c j() {
        return f36013u;
    }

    public final c k() {
        return f36012t;
    }

    public final c[] l() {
        return f36016x;
    }

    public final x m() {
        return f36004l;
    }

    public final x n() {
        return f36005m;
    }

    public final x o() {
        return f36000h;
    }

    public final x p() {
        return f36001i;
    }

    public final x q() {
        return f35999g;
    }

    public final x r() {
        return f36006n;
    }

    public final float[] s() {
        return f35995c;
    }

    public final c t() {
        return f36015w;
    }

    public final x u() {
        return f36009q;
    }

    public final x v() {
        return f36007o;
    }

    public final x w() {
        return f35998f;
    }

    public final float[] x() {
        return f35994b;
    }

    public final x y() {
        return f36014v;
    }
}
