Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41e08348 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update scRGB ranges"

parents e0ea99cc ffde2ca6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -137,7 +137,7 @@ const ColorSpace ColorSpace::extendedSRGB() {
        {0.3127f, 0.3290f},
        std::bind(absRcpResponse, _1, 2.4f, 1 / 1.055f, 0.055f / 1.055f, 1 / 12.92f, 0.04045f),
        std::bind(absResponse,    _1, 2.4f, 1 / 1.055f, 0.055f / 1.055f, 1 / 12.92f, 0.04045f),
        std::bind(clamp<float>, _1, -0.5f, 7.5f)
        std::bind(clamp<float>, _1, -0.799f, 2.399f)
    };
}

@@ -148,7 +148,7 @@ const ColorSpace ColorSpace::linearExtendedSRGB() {
        {0.3127f, 0.3290f},
        linearReponse,
        linearReponse,
        std::bind(clamp<float>, _1, -0.5f, 7.5f)
        std::bind(clamp<float>, _1, -0.5f, 7.499f)
    };
}