diff options
author | Maryla <maryla-at-google.com@ffmpeg.org> | 2021-08-30 14:10:51 +0200 |
---|---|---|
committer | James Zern <jzern@google.com> | 2021-09-25 15:31:36 -0700 |
commit | 9f4708c22def8a0f13c3b2bc39baca928bb58aaa (patch) | |
tree | f6462ecdf28b93e0711db2a40b05bc8cb1997805 /libavcodec/exrenc.c | |
parent | 0a6eed319d7404443d6250003f761d21aac57dbd (diff) | |
download | ffmpeg-9f4708c22def8a0f13c3b2bc39baca928bb58aaa.tar.gz |
webp: fix transforms after a palette with pixel packing.
When a color indexing transform with 16 or fewer colors is used,
WebP uses "pixel packing", i.e. storing several pixels in one byte,
which virtually reduces the width of the image (see WebPContext's
reduced_width field). This reduced_width should always be used when
reading and applying subsequent transforms.
Updated patch with added fate test.
The source image dual_transform.webp can be downloaded by cloning
https://chromium.googlesource.com/webm/libwebp-test-data/
Fixes: 9368
Signed-off-by: James Zern <jzern@google.com>
Diffstat (limited to 'libavcodec/exrenc.c')
0 files changed, 0 insertions, 0 deletions