[FFmpeg-devel] [PATCH] avcodec/ffv1: Store slices*planes with the minimum bits needed after remap

2025-04-02 Thread Michael Niedermayer
This also means that if a plane*slice has only 1 color nothing is stored after the remap table This improves compression as wrap around can be cheaper to reach a value. This also corrects the RCT offset to the exact value after remap not a fixed 65536 Signed-off-by: Michael Niedermayer --- lib

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1: Store slices*planes with the minimum bits needed after remap

2025-04-02 Thread Michael Niedermayer
Hi Jerome On Wed, Apr 02, 2025 at 11:31:53PM +0200, Jerome Martinez wrote: > Le 02/04/2025 à 23:13, Michael Niedermayer a écrit : > > [...] > > > > This improves compression as wrap around can be cheaper to reach a > > value. > > > There is an issue in FFV1 version <=3 with RCT, bit depth of re

Re: [FFmpeg-devel] SW's Patchsets Overview

2025-04-02 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Marton > Balint > Sent: Mittwoch, 2. April 2025 21:45 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] SW's Patchsets Overview > > > > On Wed, 2 Apr 2025, softworkz . wrote: > > > Hello everybody, >

Re: [FFmpeg-devel] [PATCH v9 1/8] libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data, attach them to the next decoded frame with the same PTS.

2025-04-02 Thread Romain Beauxis
Le mer. 2 avr. 2025 à 16:30, Michael Niedermayer a écrit : > > Hi Romain > > On Wed, Apr 02, 2025 at 07:43:03PM +0200, Michael Niedermayer wrote: > > On Mon, Mar 24, 2025 at 09:50:52AM -0500, Romain Beauxis wrote: > > > --- > > > libavcodec/decode.c | 131 +

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1: Store slices*planes with the minimum bits needed after remap

2025-04-02 Thread Jerome Martinez
Le 02/04/2025 à 23:13, Michael Niedermayer a écrit : [...] This improves compression as wrap around can be cheaper to reach a value. There is an issue in FFV1 version <=3 with RCT, bit depth of resulting luminance plane was 1 more than needed (RCT adds 1 bit to chrominance but not to lumina

Re: [FFmpeg-devel] [PATCH v9 1/8] libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data, attach them to the next decoded frame with the same PTS.

2025-04-02 Thread Michael Niedermayer
Hi Romain On Wed, Apr 02, 2025 at 07:43:03PM +0200, Michael Niedermayer wrote: > On Mon, Mar 24, 2025 at 09:50:52AM -0500, Romain Beauxis wrote: > > --- > > libavcodec/decode.c | 131 > > 1 file changed, 131 insertions(+) > > doesnt apply cleanly: >

Re: [FFmpeg-devel] [PATCH] tools/target_swr_fuzzer: fix memory leak on av_samples_fill_arrays() error

2025-04-02 Thread Michael Niedermayer
On Wed, Apr 02, 2025 at 01:36:30AM +0200, Kacper Michajłow wrote: > Signed-off-by: Kacper Michajłow > --- > tools/target_swr_fuzzer.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB W

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/ffv1enc: replace 3 double precision log2() by 1 single precision log2()

2025-04-02 Thread Michael Niedermayer
On Sun, Mar 30, 2025 at 05:00:22PM +0200, Michael Niedermayer wrote: > This makes the remap finding heuristic much faster > > Signed-off-by: Michael Niedermayer > --- > libavcodec/ffv1enc.c | 16 +++- > 1 file changed, 11 insertions(+), 5 deletions(-) will apply patchset [...] --

Re: [FFmpeg-devel] [PATCH] tests/checkasm/checkasm.c: Assert that aligned_w/h do not overflow

2025-04-02 Thread Michael Niedermayer
Hi Martin On Wed, Apr 02, 2025 at 10:42:59AM +0300, Martin Storsjö wrote: > On Wed, 2 Apr 2025, Michael Niedermayer wrote: > > > Signed-off-by: Michael Niedermayer > > --- > > tests/checkasm/checkasm.c | 7 +-- > > 1 file changed, 5 insertions(+), 2 deletions(-) > > > > diff --git a/tests/ch

Re: [FFmpeg-devel] [PATCH] avcodec/libwebpdec: Add libwebp WebP decoder.

2025-04-02 Thread Peter Xia
Can anyone take a look at this? This is my first patch so not entirely sure about the process. Thanks, Peter > On Apr 1, 2025, at 3:29 AM, Peter Xia wrote: > > Adds support of decoding animated webp. > > Signed-off-by: Peter Xia > --- > Changelog | 1 + > configure

[FFmpeg-devel] [PATCH v10 6/8] tests: Add chained ogg/flac stream dump test.

2025-04-02 Thread Romain Beauxis
--- tests/Makefile | 1 + tests/fate/ogg-flac.mak | 11 +++ tests/ref/fate/ogg-flac-chained-meta.txt | 13 + 3 files changed, 25 insertions(+) create mode 100644 tests/fate/ogg-flac.mak create mode 100644 tests/ref/fate/ogg-flac-cha

Re: [FFmpeg-devel] SW's Patchsets Overview

2025-04-02 Thread Marton Balint
On Wed, 2 Apr 2025, softworkz . wrote: Hello everybody, with freshly gained push access rights, I want to act responsibly and carefully, and also avoid unexpected surprises so I'm not going to rush things. Due to that change, I thought it might be good to post an overview of the patchsets

[FFmpeg-devel] [PATCH v10 8/8] tests: Add chained ogg/opus stream dump test.

2025-04-02 Thread Romain Beauxis
--- tests/Makefile | 1 + tests/fate/ogg-opus.mak | 11 ++ tests/ref/fate/ogg-opus-chained-meta.txt | 27 3 files changed, 39 insertions(+) create mode 100644 tests/fate/ogg-opus.mak create mode 100644 tests/ref/fate/og

[FFmpeg-devel] [PATCH v10 7/8] libavformat/oggparseopus.c: Parse comments from secondary chained streams header packet.

2025-04-02 Thread Romain Beauxis
--- libavformat/oggparseopus.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/libavformat/oggparseopus.c b/libavformat/oggparseopus.c index 218e9df581..fe25ad44f3 100644 --- a/libavformat/oggparseopus.c +++ b/libavformat/oggparseopus.c @@ -29,6 +29,7 @@ struct

[FFmpeg-devel] [PATCH v10 3/8] tests: Add chained ogg/vorbis stream dump test.

2025-04-02 Thread Romain Beauxis
--- tests/Makefile | 1 + tests/fate/ogg-vorbis.mak | 11 +++ tests/ref/fate/ogg-vorbis-chained-meta.txt | 17 + 3 files changed, 29 insertions(+) create mode 100644 tests/fate/ogg-vorbis.mak create mode 100644 tests/ref/fate/

[FFmpeg-devel] [PATCH v10 2/8] tests: Add stream dump test API util.

2025-04-02 Thread Romain Beauxis
--- tests/Makefile| 1 + tests/api/Makefile| 2 +- tests/api/api-dump-stream-meta-test.c | 175 ++ 3 files changed, 177 insertions(+), 1 deletion(-) create mode 100644 tests/api/api-dump-stream-meta-test.c diff --git a/tests

[FFmpeg-devel] [PATCH v10 1/8] libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data, attach them to the next decoded frame with the same PTS.

2025-04-02 Thread Romain Beauxis
--- libavcodec/decode.c | 130 1 file changed, 130 insertions(+) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index fca0c7ff58..b754ea13b6 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c @@ -39,6 +39,7 @@ #include "libavutil/maste

Re: [FFmpeg-devel] [PATCH v9 1/8] libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data, attach them to the next decoded frame with the same PTS.

2025-04-02 Thread Romain Beauxis
Le mer. 2 avr. 2025 à 12:43, Michael Niedermayer a écrit : > > On Mon, Mar 24, 2025 at 09:50:52AM -0500, Romain Beauxis wrote: > > --- > > libavcodec/decode.c | 131 > > 1 file changed, 131 insertions(+) > > doesnt apply cleanly: > > Applying: libavcod

Re: [FFmpeg-devel] [PATCH v9 1/8] libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data, attach them to the next decoded frame with the same PTS.

2025-04-02 Thread Michael Niedermayer
On Mon, Mar 24, 2025 at 09:50:52AM -0500, Romain Beauxis wrote: > --- > libavcodec/decode.c | 131 > 1 file changed, 131 insertions(+) doesnt apply cleanly: Applying: libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data, att

Re: [FFmpeg-devel] [PATCH 01/12] swscale/csputils: Remove unused ff_sws_matrix3x3_rmul()

2025-04-02 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patches attached. > > - Andreas > Will apply this patchset tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, vi

Re: [FFmpeg-devel] [PATCH] avutil/hwcontext_vulkan: Remove unused variable

2025-04-02 Thread Lynne
On 02/04/2025 16:23, Andreas Rheinhardt wrote: Andreas Rheinhardt: Patch attached. - Andreas Will apply this patch tomorrow unless there are objections. LGTM ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo

Re: [FFmpeg-devel] [PATCH] avutil/hwcontext_vulkan: Remove unused variable

2025-04-02 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patch attached. > > - Andreas > Will apply this patch tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit l

Re: [FFmpeg-devel] [PATCH v9 0/4] print_graphs: Complete Filtergraph Printing

2025-04-02 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > softworkz . > Sent: Mittwoch, 2. April 2025 11:31 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v9 0/4] print_graphs: Complete > Filtergraph Printing > > > > > -Original Message-

Re: [FFmpeg-devel] [PATCH v9 0/4] print_graphs: Complete Filtergraph Printing

2025-04-02 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Mittwoch, 2. April 2025 09:25 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v9 0/4] print_graphs: Complete > Filtergraph Printing > > softworkz .: > > > > > >> -Original Message-

Re: [FFmpeg-devel] [PATCH v9 0/4] print_graphs: Complete Filtergraph Printing

2025-04-02 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Mittwoch, 2. April 2025 09:25 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v9 0/4] print_graphs: Complete > Filtergraph Printing > > softworkz .: > > > > > >> -Original Message-

Re: [FFmpeg-devel] [PATCH v9 0/4] print_graphs: Complete Filtergraph Printing

2025-04-02 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Mittwoch, 2. April 2025 09:25 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v9 0/4] print_graphs: Complete > Filtergraph Printing > > softworkz .: > > > > > >> -Original Message-