Re: [FFmpeg-devel] [PATCH v3 1/4] avcodec/webp: compatibilize with avformat/webpdec

2021-09-12 Thread Martin Reboredo
Andreas Rheinhardt: > Martin Reboredo: > > Andreas Rheinhardt: > >> Martin Reboredo: > >>> The demuxer implementation splits some RIFF chunks (`RIFF`/`VP8X`/`ANMF` > >>> + frame chunk) or sends the picture chunks separately. > >>> The internal

Re: [FFmpeg-devel] [PATCH v3 1/4] avcodec/webp: compatibilize with avformat/webpdec

2021-09-12 Thread Martin Reboredo
Andreas Rheinhardt: > Martin Reboredo: > > The demuxer implementation splits some RIFF chunks (`RIFF`/`VP8X`/`ANMF` + > > frame chunk) or sends the picture chunks separately. > > The internal WebP decoder waits for a complete file instead and by > > consequence it need

[FFmpeg-devel] [PATCH v3 4/4] avcodec/libwebpdec: libwebp decoder implementation

2021-09-12 Thread Martin Reboredo
Followup of the webp demuxer implementation. As the demuxer sends RIFF packets, the decoder choses what to do with the arriving chunks. Completely fixes #4907. Signed-off-by: Martin Reboredo --- configure | 4 +- libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1

[FFmpeg-devel] [PATCH v3 3/4] avformat/webpenc: better detection of anim chunks

2021-09-12 Thread Martin Reboredo
Signed-off-by: Martin Reboredo --- libavformat/webpenc.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/libavformat/webpenc.c b/libavformat/webpenc.c index 9599fe7b85..50bee91910 100644 --- a/libavformat/webpenc.c +++ b/libavformat/webpenc.c @@ -55,13 +55,18 @@

[FFmpeg-devel] [PATCH v3 2/4] avformat/webpdec: WebP demuxer implementation

2021-09-12 Thread Martin Reboredo
.com/speed/webp/docs/riff_container [2]: https://datatracker.ietf.org/doc/html/rfc6386 [3]: https://developers.google.com/speed/webp/docs/webp_lossless_bitstream_specification Signed-off-by: Martin Reboredo --- MAINTAINERS | 1 + libavformat/Makefile | 1 + libavformat/allforma

[FFmpeg-devel] [PATCH v3 1/4] avcodec/webp: compatibilize with avformat/webpdec

2021-09-12 Thread Martin Reboredo
WebP. Signed-off-by: Martin Reboredo --- libavcodec/webp.c | 41 - 1 file changed, 32 insertions(+), 9 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 3efd4438d9..7858d69481 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c

[FFmpeg-devel] Animated WebP decoder

2021-09-12 Thread Martin Reboredo
v3 Update: - Add a libwebpdecoder based WebP decoder for animated pictures. - Adapt the native decoder for the new demuxer. v2 Update: - Cleanups based on reviews. This patchset introduces an initial implementation of a decoder for the animated WebP format. The native decoder doesn't provide sup

[FFmpeg-devel] [PATCH v2 2/2] avformat/webpenc: better detection of anim chunks

2021-09-08 Thread Martin Reboredo
Signed-off-by: Martin Reboredo --- libavformat/webpenc.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/libavformat/webpenc.c b/libavformat/webpenc.c index 9599fe7b85..50bee91910 100644 --- a/libavformat/webpenc.c +++ b/libavformat/webpenc.c @@ -55,13 +55,18 @@

[FFmpeg-devel] [PATCH v2 1/2] avformat/webpdec: WebP demuxer implementation

2021-09-08 Thread Martin Reboredo
speed/webp/docs/riff_container [2]: https://datatracker.ietf.org/doc/html/rfc6386 [3]: https://developers.google.com/speed/webp/docs/webp_lossless_bitstream_specification Signed-off-by: Martin Reboredo --- MAINTAINERS | 1 + libavformat/Makefile | 1 + libavformat/allforma