mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-12 22:14:29 +02:00
introduce a special quantization function for WHT
WHT is somewhat a special case: no sharpen[] bias, etc. Will be useful in a later CL when precision of input is changed. Change-Id: I851b06deb94abdfc1ef00acafb8aa731801b4299
This commit is contained in:
@ -723,7 +723,7 @@ static int ReconstructIntra16(VP8EncIterator* const it,
|
||||
VP8FTransform(src + VP8Scan[n], ref + VP8Scan[n], tmp[n]);
|
||||
}
|
||||
VP8FTransformWHT(tmp[0], dc_tmp);
|
||||
nz |= VP8EncQuantizeBlock(dc_tmp, rd->y_dc_levels, 0, &dqm->y2_) << 24;
|
||||
nz |= VP8EncQuantizeBlockWHT(dc_tmp, rd->y_dc_levels, &dqm->y2_) << 24;
|
||||
|
||||
if (DO_TRELLIS_I16 && it->do_trellis_) {
|
||||
int x, y;
|
||||
|
Reference in New Issue
Block a user