Re: [FFmpeg-devel] [PATCH] avcodec/hevc: Add support for output_corrupt/showall flags

2025-01-09 Thread 金波
> -原始邮件- > 发件人: "Zhao Zhili" > 发送时间:2025-01-05 16:00:15 (星期日) > 收件人: ffmpeg-devel@ffmpeg.org > 抄送: "Zhao Zhili" > 主题: [FFmpeg-devel] [PATCH] avcodec/hevc: Add support for > output_corrupt/showall flags > > From: Zhao Zhili > > hevc decoder output corrupted frames when the reference

[FFmpeg-devel] [PATCH 5/5] avcodec/exr: do not output 32bit floats when a file stores 16bit floats

2025-01-09 Thread Michael Niedermayer
exr should not do a internal pixel format convert Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/exr.c | 65 --- tests/ref/fate/exr-rgb-b44a-half-negative-4x4 | 2 +- .../exr-rgb-scanline-b44-half-float-12x8-l1

[FFmpeg-devel] [PATCH 4/5] swscale: 16bit planar float input support

2025-01-09 Thread Michael Niedermayer
Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libswscale/input.c| 97 +++ libswscale/swscale_unscaled.c | 2 +- libswscale/utils.c| 8 +++ 3 files changed, 106 insertions(+), 1 deletion(-) diff --git a/libswscal

[FFmpeg-devel] [PATCH 3/5] NOT-FOR-GIT: avcodec/tests/rangecoder: ffv1 symbol read/write test

2025-01-09 Thread Michael Niedermayer
this is not for git, just for testing, unless someone wants to turn it into a pretty test Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/tests/rangecoder.c | 152 +- 1 file changed, 151 insertions(+), 1 deletion(-) diff --git

[FFmpeg-devel] [PATCH 2/5] libavutil/pixfmt: 16bit float support

2025-01-09 Thread Michael Niedermayer
Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavutil/pixdesc.c | 74 libavutil/pixfmt.h | 11 + tests/ref/fate/imgutils | 12 ++ tests/ref/fate/sws-pixdesc-query | 29 + 4 files

[FFmpeg-devel] [PATCH 1/5] avcodec/ffv1enc: Fix handling of 32bit unsigned sambols

2025-01-09 Thread Michael Niedermayer
This may be needed for floats Sponsored-by: Sovereign Tech Fund 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 1a0413895a1..e2db1b41640 100644 --- a/libavcodec/ffv1e

Re: [FFmpeg-devel] [PATCH] avcodec/librsvgdec: fix compile error when librsvg < 2.52

2025-01-09 Thread Zhao Zhili
> On Jan 10, 2025, at 09:24, Lu Yao wrote: > > When compiling with an earlier version of lbrsvg, the following error > occurs: > "src/libavcodec/librsvgdec.c: In function 'librsvg_decode_frame'" > "src/libavcodec/librsvgdec.c:93:5: error: 'viewport' undeclared" > > Fixes: 86ed68420d3b ("avco

[FFmpeg-devel] [PATCH] avcodec/librsvgdec: fix compile error when librsvg < 2.52

2025-01-09 Thread Lu Yao
When compiling with an earlier version of lbrsvg, the following error occurs: "src/libavcodec/librsvgdec.c: In function 'librsvg_decode_frame'" "src/libavcodec/librsvgdec.c:93:5: error: 'viewport' undeclared" Fixes: 86ed68420d3b ("avcodec/librsvgdec: fix memory leaks and deprecated functions"

Re: [FFmpeg-devel] [PATCH v2 3/4] checkasm/sw_rgb: add tests for yuv2packed{1, 2, X}

2025-01-09 Thread Andreas Rheinhardt
Michael Niedermayer: > On Fri, Dec 20, 2024 at 01:54:30PM +0100, Niklas Haas wrote: >> From: Niklas Haas >> >> Signed-off-by: Niklas Haas >> Sponsored-by: Sovereign Tech Fund >> --- >> tests/checkasm/sw_rgb.c | 308 >> 1 file changed, 308 insertions(+) >

Re: [FFmpeg-devel] [PATCH v2 3/4] checkasm/sw_rgb: add tests for yuv2packed{1, 2, X}

2025-01-09 Thread Michael Niedermayer
On Fri, Dec 20, 2024 at 01:54:30PM +0100, Niklas Haas wrote: > From: Niklas Haas > > Signed-off-by: Niklas Haas > Sponsored-by: Sovereign Tech Fund > --- > tests/checkasm/sw_rgb.c | 308 > 1 file changed, 308 insertions(+) This seems to have some issue:

Re: [FFmpeg-devel] [PATCH 3/4] doc/faq: Document the plan ahead for Governance

2025-01-09 Thread Nicolas George
Michael Niedermayer (12025-01-07): > Signed-off-by: Michael Niedermayer > --- > doc/faq.texi | 8 > 1 file changed, 8 insertions(+) > > diff --git a/doc/faq.texi b/doc/faq.texi > index 54c3fbb41fe..70002a8156d 100644 > --- a/doc/faq.texi > +++ b/doc/faq.texi > @@ -702,4 +702,12 @@ In re

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/encode: add checks for custom inter/intra/chroma matrices

2025-01-09 Thread Michael Niedermayer
Hi On Tue, Jan 07, 2025 at 12:08:39AM +0100, Marton Balint wrote: > All elements should be within 1-255. > --- > libavcodec/encode.c | 16 > 1 file changed, 16 insertions(+) this breaks: ./ffmpeg -i lena.pnm -qscale 4 -intra_matrix 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,

[FFmpeg-devel] [PATCH 1/2] avfilter/vf_xpsnr: Fix leaks

2025-01-09 Thread Andreas Rheinhardt
Patches attachedFrom fb71c0d60ff589969338aff9fce9370cee13a32f Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 9 Jan 2025 16:50:39 +0100 Subject: [PATCH 1/2] avfilter/vf_xpsnr: Fix leaks This filter uses the AVBuffer API to allocate buffers that are never shared at all and frees them

[FFmpeg-devel] [PATCH] tests/checkasm/sw_rgb: Fix leaks

2025-01-09 Thread Andreas Rheinhardt
Patch attachedFrom 890b0669c675c33e7d1d93c05d4659e255babe22 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 9 Jan 2025 13:57:27 +0100 Subject: [PATCH] tests/checkasm/sw_rgb: Fix leaks Also use loop-scope for variables where appropriate. Signed-off-by: Andreas Rheinhardt --- tests/

Re: [FFmpeg-devel] [PATCH] Fix the tail handling in R-V V sad

2025-01-09 Thread flow gg
It seems that v0 and v24 need to be set to 0, and they have already been set. Rémi Denis-Courmont 于2025年1月8日周三 02:23写道: > Le maanantaina 23. joulukuuta 2024, 17.01.32 UTC+2 uk7b-at- > foxmail@ffmpeg.org a écrit : > > From: sunyuechi > > > > --- > > libavcodec/riscv/h26x/asm.S| 36 +

[FFmpeg-devel] [PATCH v2 2/2] avcodec/sanm: simplify codec37 subcodec 3/4 path

2025-01-09 Thread Manuel Lauss
A flag in the codec header determines whether opcodes 0xfd/0xfe are to be treated as special or not. The current code has 2 implementations of the same decoding scheme, with one treating the 2 opcodes as special, the other not. Collapse them into a single implementation and treat these opcode acco

[FFmpeg-devel] [PATCH v2 1/2] avcodec/sanm: implement codec37 subcodec1

2025-01-09 Thread Manuel Lauss
RLE-compressed stream of motion vector indices and a special opcode to fill a block with data from the source stream. It is used in the LucasArts "Full Throttle" blink*.san animations. Signed-off-by: Manuel Lauss --- v2: move variable declarations to top of functions. libavcodec/sanm.c | 65 ++