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

2021-09-25 Thread James Zern
On Mon, Sep 20, 2021 at 5:44 PM James Zern wrote: > > On Wed, Sep 8, 2021 at 6:46 PM James Zern wrote: > > > > On Mon, Aug 30, 2021 at 5:11 AM Maryla > > wrote: > > > > > > When a color indexing transform with 16 or fewer colors is used, > > > WebP uses "pixel packing", i.e. storing several pix

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

2021-09-20 Thread James Zern
On Wed, Sep 8, 2021 at 6:46 PM James Zern wrote: > > On Mon, Aug 30, 2021 at 5:11 AM Maryla > 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

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

2021-09-08 Thread James Zern
On Mon, Aug 30, 2021 at 5:11 AM Maryla 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 sh

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

2021-08-30 Thread Maryla
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

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

2021-08-26 Thread James Zern
Hi, On Thu, Aug 26, 2021 at 9:06 AM Maryla Ustarroz wrote: > Note top posting is discouraged here [1]. > 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

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

2021-08-26 Thread Maryla Ustarroz
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 fil

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

2021-08-20 Thread James Zern
On Thu, Aug 19, 2021 at 12:56 AM Maryla 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 s

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

2021-08-19 Thread Maryla
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