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

Commit 2485469f authored by Henry Fang's avatar Henry Fang Committed by Gerrit Code Review
Browse files

Merge "Fix C2StreamUsageTuning work for Linear Block model."

parents 7f48273b bfb8a72a
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2656,7 +2656,11 @@ static status_t CalculateMinMaxUsage(
            *maxUsage = 0;
            continue;
        }
        if (supported.values.size() > 1) {
            *minUsage |= supported.values[1].u64;
        } else {
            *minUsage |= supported.values[0].u64;
        }
        int64_t currentMaxUsage = 0;
        for (const C2Value::Primitive &flags : supported.values) {
            currentMaxUsage |= flags.u64;