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

Commit ad8c9c08 authored by Dichen Zhang's avatar Dichen Zhang Committed by Austin Borger
Browse files

ColorConverter: change default matrix for full range

bug: b/266221115

Change-Id: Ib2343457c1b9fc1e43a34037ec00c74b3c98fc99
(cherry picked from commit d85d565d)
Merged-In: Ib2343457c1b9fc1e43a34037ec00c74b3c98fc99
parent 69b2f5f9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -458,6 +458,9 @@ const struct ColorConverter::Coeffs *ColorConverter::getMatrix() const {
        [[fallthrough]];

    case ColorUtils::kColorStandardUnspecified:
        if (isFullRange) {
            return is10Bit ? &BT2020_FULL : &BT601_FULL;
        }
        return is10Bit ? &BT2020_LTD_10BIT : &BT601_LIMITED;

    }