mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
Fix UV plane ac/dc quantizer transposition
Typo caused incorrect quantizer to be used for UV blocks. Change-Id: I26faad370a16ea5b35ae49396d17b8903602499e
This commit is contained in:
parent
c8d15efa12
commit
5981ee55ce
@ -98,8 +98,8 @@ void VP8ParseQuant(VP8Decoder* const dec) {
|
||||
m->y2_mat_[1] = kAcTable[clip(q + dqy2_ac, 127)] * 155 / 100;
|
||||
if (m->y2_mat_[1] < 8) m->y2_mat_[1] = 8;
|
||||
|
||||
m->uv_mat_[0] = kDcTable[clip(q + dquv_ac, 117)];
|
||||
m->uv_mat_[1] = kAcTable[clip(q + dquv_dc, 127)];
|
||||
m->uv_mat_[0] = kDcTable[clip(q + dquv_dc, 117)];
|
||||
m->uv_mat_[1] = kAcTable[clip(q + dquv_ac, 127)];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user