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

Commit d231cd3a authored by Romain Guy's avatar Romain Guy
Browse files

Remove unnecessary saturation operation

Test: colorspace_test
Bug: 29940137
Change-Id: Ie5821b4a753e28c22adde3b98cccf1115763d817
parent caf2ca41
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -217,8 +217,8 @@ const ColorSpace ColorSpace::DCIP3() {
        "SMPTE RP 431-2-2007 DCI (P3)",
        {{float2{0.680f, 0.320f}, {0.265f, 0.690f}, {0.150f, 0.060f}}},
        {0.3127f, 0.3290f},
        std::bind(saturate<float>, std::bind(powf, _1, 1.0f / 2.6f)),
        std::bind(saturate<float>, std::bind(powf, _1, 2.6f))
        std::bind(powf, _1, 1.0f / 2.6f),
        std::bind(powf, _1, 2.6f)
    };
}