mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
Merge "small optimization in segment-smoothing loop"
This commit is contained in:
commit
6a8c0eb718
@ -55,6 +55,7 @@ static void SmoothSegmentMap(VP8Encoder* const enc) {
|
||||
for (n = 0; n < NUM_MB_SEGMENTS; ++n) {
|
||||
if (cnt[n] >= majority_cnt_3_x_3_grid) {
|
||||
majority_seg = n;
|
||||
break;
|
||||
}
|
||||
}
|
||||
tmp[x + y * w] = majority_seg;
|
||||
|
Loading…
Reference in New Issue
Block a user