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

Commit d85d565d authored by Dichen Zhang's avatar Dichen Zhang
Browse files

ColorConverter: change default matrix for full range

bug: b/266221115

Change-Id: Ib2343457c1b9fc1e43a34037ec00c74b3c98fc99
parent 0fcba255
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;

    }