Re: [FFmpeg-devel] [Cin] "Unbounded" floating point image manipulation

2025-04-03 Thread Andrew Randrianasulu
чт, 3 апр. 2025 г., 21:39 Andrea paz : > Sorry to belabor my requests, but color is a topic that has always > interested me, from the days of Photoshop 3.0 and then Gimp... > The following link is interesting: > https://ninedegreesbelow.com/photography/lcms2-unbounded-mode.html > However, it is mo

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

2025-04-03 Thread Peter Xia
Hi Leon, Thanks for the feedback! I’ve send a v2 of this patch. Peter > On Apr 3, 2025, at 12:11 AM, Leon Grutters wrote: > > On 4/1/25 12:29 PM, Peter Xia wrote: >> Adds support of decoding animated webp. >> >> Signed-off-by: Peter Xia >> --- >> Changelog | 1 + >> confi

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

2025-04-03 Thread Peter Xia
Adds support of decoding animated webp. Signed-off-by: Peter Xia --- Changelog | 1 + configure | 4 +- doc/general_contents.texi | 2 +- libavcodec/Makefile | 1 + libavcodec/allcodecs.c| 3 +- libavcodec/libwebpdec.c | 192 +

[FFmpeg-devel] [PATCH 1/4] avcodec/ffv1dec: Limit size of fltmap* to pixel number

2025-04-03 Thread Michael Niedermayer
This reduces needed memory and also removes the 65536 maximum for remap on the decoder side Signed-off-by: Michael Niedermayer --- libavcodec/ffv1.c| 2 ++ libavcodec/ffv1.h| 2 ++ libavcodec/ffv1dec.c | 25 ++--- 3 files changed, 14 insertions(+), 15 deletions(-)

[FFmpeg-devel] [PATCH 6/6] avutil/tests/aes_ctr: also randomize the encryption key

2025-04-03 Thread James Almer
And not just the IV. Signed-off-by: James Almer --- libavutil/tests/aes_ctr.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/libavutil/tests/aes_ctr.c b/libavutil/tests/aes_ctr.c index 6f21b8bda1..fad24014cc 100644 --- a/libavutil/tests/aes_ctr.c +

[FFmpeg-devel] [PATCH 4/6] avutil/test/aes_ctr: also check the encrypted buffer

2025-04-03 Thread James Almer
The test in its current form is just ensuring the plain text output is the same as the plain text input, not bothering to check if anything was done with the latter. av_aes_ctr_crypt() could be a simple memcpy under the hood and this test would still succeed. To check the integrity of the encrypte

[FFmpeg-devel] [PATCH] avformat/mov: Fix decoding fragmented MP4 with multiple sample entries and empty stsc

2025-04-03 Thread Dimitry Andric
When decoding fragmented MP4 files that have an empty stsc box, and instead contain sample description indexes in their tfhd boxes, the mov demuxer does not notify the decoder whenever the current sample description index changes. If the SPS or PPS changed sufficiently, this can lead to unexpected

[FFmpeg-devel] [PATCH] avcodec/ffv1enc: Fix remap > 0 with gbrp12, that is non float

2025-04-03 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index 221344794e2..35a1ae16d48 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc.c @@ -942,7 +942,7 @@ av_cold int f

Re: [FFmpeg-devel] Request for --disable-deprecated configure option

2025-04-03 Thread Kacper Michajlow
On Thu, 3 Apr 2025 at 11:39, Martin Storsjö wrote: > > On Thu, 3 Apr 2025, Kacper Michajlow wrote: > > > Hello, > > > > It would be nice to have configure time ability to disable all > > `FF_API_*` for testing purposes. > > > > As we know not all code can be marked to emit Wdeprecated. > > Specifi

[FFmpeg-devel] [PATCH 3/4] avcodec/ffv1enc: Consider 2s x s slice configurations

2025-04-03 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index 70821a10159..ce3f8e023e5 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc.c @@ -570,7 +570,7 @@ int ff_ffv1_e

Re: [FFmpeg-devel] Request for --disable-deprecated configure option

2025-04-03 Thread Martin Storsjö
On Thu, 3 Apr 2025, Kacper Michajlow wrote: Hello, It would be nice to have configure time ability to disable all `FF_API_*` for testing purposes. As we know not all code can be marked to emit Wdeprecated. Specifically #defines doesn't emit any warning and it's easy to miss such depreciation b

[FFmpeg-devel] Request for --disable-deprecated configure option

2025-04-03 Thread Kacper Michajlow
Hello, It would be nice to have configure time ability to disable all `FF_API_*` for testing purposes. As we know not all code can be marked to emit Wdeprecated. Specifically #defines doesn't emit any warning and it's easy to miss such depreciation before it's actually removed. The breakage of c

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

2025-04-03 Thread Leon Grutters
On 4/1/25 12:29 PM, Peter Xia wrote: Adds support of decoding animated webp. Signed-off-by: Peter Xia --- Changelog | 1 + configure | 4 +- doc/general_contents.texi | 2 +- libavcodec/Makefile | 1 + libavcodec/allcodecs.c| 3 +- liba