mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-28 14:38:21 +01:00
Merge "few cosmetics after patch #69079"
This commit is contained in:
commit
42eb06fc0e
@ -636,10 +636,10 @@ static int TrellisQuantizeBlock(const VP8EncIterator* const it,
|
|||||||
// Base cost of both terminal / non-terminal hypothesis
|
// Base cost of both terminal / non-terminal hypothesis
|
||||||
const score_t cost = VP8LevelCost(prev->costs, level);
|
const score_t cost = VP8LevelCost(prev->costs, level);
|
||||||
// Examine node assuming it's a non-terminal one.
|
// Examine node assuming it's a non-terminal one.
|
||||||
score_t score =
|
const score_t score =
|
||||||
base_score + prev->score + RDScoreTrellis(lambda, cost, 0);
|
base_score + prev->score + RDScoreTrellis(lambda, cost, 0);
|
||||||
if (score < cur->score) {
|
if (score < cur->score) {
|
||||||
cur->score = score;
|
cur->score = score;
|
||||||
cur->prev = p;
|
cur->prev = p;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user