[FFmpeg-devel] [PATCH] webp: fix transforms after a palette with pixel packing.

Maryla Ustarroz maryla at google.com
Thu Aug 26 19:06:11 EEST 2021


We've just added a file to libwebp-test-data that covers this case:
https://chromium.googlesource.com/webm/libwebp-test-data/+/refs/heads/main/dual_transform.webp
FFmpeg currently fails to decode it, but it works with this patch.

My understanding is that an ffmpeg developer needs to upload the file to
fate, and then I can add a fate test to the patch?



On Fri, Aug 20, 2021 at 7:07 PM James Zern <jzern-at-google.com at ffmpeg.org>
wrote:

> On Thu, Aug 19, 2021 at 12:56 AM Maryla <maryla-at-google.com at ffmpeg.org>
> wrote:
> >
> > 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.
> >
> > Fixes: 9368
>
> Is there anything in
> https://chromium.googlesource.com/webm/libwebp-test-data that covers
> this or can you add the file from the ticket to fate?
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-devel mailing list