Re: [FFmpeg-devel] [FFmpeg-cvslog] swscale: use 16-bit intermediate precision for RGB/XYZ conversion

2025-03-14 Thread Michael Niedermayer
On Fri, Mar 14, 2025 at 12:54:25AM +0100, Michael Niedermayer wrote: > Hi > > On Sun, Jan 26, 2025 at 07:26:59PM +0100, Michael Niedermayer wrote: > > On Thu, Dec 26, 2024 at 07:33:23PM +, Niklas Haas wrote: > > > ffmpeg | branch: master | Niklas Haas | Mon Dec 16 > > > 14:49:39 2024 +0100|

Re: [FFmpeg-devel] [PATCH] avcodec/vlc: Reduce debug logging

2025-03-14 Thread Michael Niedermayer
Hi On Wed, Mar 12, 2025 at 03:48:20AM +, softworkz wrote: > From: softworkz > > Signed-off-by: softworkz > --- > avcodec/vlc: Reduce debug logging > > It made it hardly possible to enable debug logging for viewing other log > lines due to the excessive output created by thi

Re: [FFmpeg-devel] [PATCH 00/12] avcodec/sanm: various improvements

2025-03-14 Thread Manuel Lauss
Hi Michael, On Fri, Mar 14, 2025 at 1:06 AM Michael Niedermayer wrote: > > Hi Manuel > > please add yourself to the MAINTAINER file for sanm with a patch > you are already maintaining sanm, its just not written in the file Fine, I'll add a patch for this in a v2 patchset. Manuel ___

Re: [FFmpeg-devel] [FFmpeg-cvslog] tests/fate/pixfmt: add conversion tests with semi planar YUV formats

2025-03-14 Thread Martin Storsjö
On Thu, 13 Mar 2025, James Almer wrote: ffmpeg | branch: master | James Almer | Sun Mar 9 23:16:18 2025 -0300| [c3b60e0df73b85306c17de43063c43ea7ea82a05] | committer: James Almer tests/fate/pixfmt: add conversion tests with semi planar YUV formats Signed-off-by: James Almer http://git.vi

[FFmpeg-devel] [PATCH] gitattributes: End merge conflicts in Changelog

2025-03-14 Thread Michael Niedermayer
Similar could be done with other lists that generally are appended to Signed-off-by: Michael Niedermayer --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index a900528e474..b64bbed2eb4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1

Re: [FFmpeg-devel] [PATCH v4 01/16] pixfmt: add AV_PIX_FMT_GBRAP32

2025-03-14 Thread Lynne
On 14/03/2025 16:13, Michael Niedermayer wrote: On Thu, Mar 13, 2025 at 06:03:33PM +0100, Lynne wrote: This commit adds a 32-bit *integer* planar RGBA format. Vulkan FFv1 decoding is best performed on separate planes, rather than packed RGBA (i.e. RGBA128), hence this is useful as an intermediat

Re: [FFmpeg-devel] [PATCH] avfilter: POC: enable out-of-tree filters

2025-03-14 Thread Leandro Santiago
On 3/14/25 16:04, Michael Niedermayer wrote: Hi On Thu, Mar 13, 2025 at 01:18:49PM +0100, Leandro Santiago wrote: This is a POC/prototype that aims to enable out of tree filters on FFmpeg. Here I name them "extra filters". Thinking now, "extra filters" is not a good name. Maybe "external"

Re: [FFmpeg-devel] [PATCH v4 01/16] pixfmt: add AV_PIX_FMT_GBRAP32

2025-03-14 Thread Marton Balint
On Fri, 14 Mar 2025, Lynne wrote: On 14/03/2025 16:13, Michael Niedermayer wrote: On Thu, Mar 13, 2025 at 06:03:33PM +0100, Lynne wrote: This commit adds a 32-bit *integer* planar RGBA format. Vulkan FFv1 decoding is best performed on separate planes, rather than packed RGBA (i.e. RGBA1

Re: [FFmpeg-devel] [PATCH] ffv1: implement remap for encode/decode_plane()

2025-03-14 Thread Michael Niedermayer
On Tue, Mar 11, 2025 at 04:06:58PM -0300, James Almer wrote: > > > On 3/11/2025 11:13 AM, James Almer wrote: > > On 3/10/2025 9:59 PM, Michael Niedermayer wrote: > > > On Mon, Mar 10, 2025 at 06:48:29PM +0100, Lynne wrote: > > > > On 10/03/2025 01:45, Michael Niedermayer wrote: > > > > > Sponsore

Re: [FFmpeg-devel] [PATCH 1/7] avcodec/pcm: Remove always-false check

2025-03-14 Thread Andreas Rheinhardt
Ramiro Polla: > > On 3/13/25 06:49, Andreas Rheinhardt wrote: >> Patches attached. > > > [PATCH 2/7] avcodec/pcm: Cache sample_size value > >> diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c >> index 5d8dcb8ff0..620acf0f46 100644 >> --- a/libavcodec/pcm.c >> +++ b/libavcodec/pcm.c >> @@ -328,1

[FFmpeg-devel] [PATCH] av1dec: update hwaccel decode_params on AV1_OBU_SEQUENCE_HEADER

2025-03-14 Thread Lynne
Previously, the callback was only called on init. This makes it get called on every frame. We should switch to VK_KHR_video_maintenance2 and provide all params upfront, but almost nothing supports it yet. --- libavcodec/av1dec.c | 9 + 1 file changed, 9 insertions(+) diff --git a/libavco

Re: [FFmpeg-devel] [PATCH] avcodec: Mark init and close functions as av_cold

2025-03-14 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patch attached. > > - Andreas > Now truely attached. - Andreas From ccb9413d8408e8b1b0a786af683042609cddd177 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 6 Mar 2025 18:28:57 +0100 Subject: [PATCH] avcodec: Mark init and close functions as av_cold Signed-o

Re: [FFmpeg-devel] [PATCH v4 01/16] pixfmt: add AV_PIX_FMT_GBRAP32

2025-03-14 Thread Michael Niedermayer
On Thu, Mar 13, 2025 at 06:03:33PM +0100, Lynne wrote: > This commit adds a 32-bit *integer* planar RGBA format. > Vulkan FFv1 decoding is best performed on separate planes, rather than > packed RGBA (i.e. RGBA128), hence this is useful as an intermediate format. > --- > libavutil/pixdesc.c | 28 +

Re: [FFmpeg-devel] [PATCH] avfilter: POC: enable out-of-tree filters

2025-03-14 Thread Lynne
On 13/03/2025 13:18, Leandro Santiago wrote: This is a POC/prototype that aims to enable out of tree filters on FFmpeg. Here I name them "extra filters". It introduces the program `jq` as a new build dependency. To test it, create a directory, for instance, /tmp/my-shiny-filter/ and inside it,

Re: [FFmpeg-devel] [PATCH] avfilter: POC: enable out-of-tree filters

2025-03-14 Thread Leandro Santiago
On 3/14/25 19:21, Nicolas George wrote: Lynne (HE12025-03-14): This is a pointless patch and a pointlessly complex addition to the build system. I wouldn't accept something like this. Those who for some reason have custom filters simply distribute their own branch with properly integrated filte

Re: [FFmpeg-devel] [FFmpeg-cvslog] swscale: use 16-bit intermediate precision for RGB/XYZ conversion

2025-03-14 Thread Niklas Haas
On Fri, 14 Mar 2025 01:09:30 +0100 Niklas Haas wrote: > On Fri, 14 Mar 2025 00:54:25 +0100 Michael Niedermayer > wrote: > > Hi > > > > On Sun, Jan 26, 2025 at 07:26:59PM +0100, Michael Niedermayer wrote: > > > On Thu, Dec 26, 2024 at 07:33:23PM +, Niklas Haas wrote: > > > > ffmpeg | branch:

[FFmpeg-devel] [PATCH 1/2] avcodec/mpeg12dec: Use saturated addition when combining, error_count

2025-03-14 Thread Andreas Rheinhardt
Patches attached. - Andreas From e79b422c0ed3732ec15bd25bdf2ad87f45dbddfd Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 14 Mar 2025 19:10:57 +0100 Subject: [PATCH 1/2] avcodec/mpeg12dec: Use saturated addition when combining error_count Fixes undefined integer overflows. The over

Re: [FFmpeg-devel] Misc mpegvideo patches

2025-03-14 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Kacper Michajlow: >> On Thu, 6 Mar 2025 at 14:31, Andreas Rheinhardt >> wrote: >>> >>> Andreas Rheinhardt: Ramiro Polla: > On Tue, Mar 4, 2025 at 6:05 PM Andreas Rheinhardt > wrote: >> Ramiro Polla: >>> >>> On 3/4/25 14:42, Andreas Rheinhardt wrote:

Re: [FFmpeg-devel] [PATCH] avfilter: POC: enable out-of-tree filters

2025-03-14 Thread Nicolas George
Lynne (HE12025-03-14): > This is a pointless patch and a pointlessly complex addition to the build > system. I wouldn't accept something like this. > Those who for some reason have custom filters simply distribute their own > branch with properly integrated filters. That works for third-party from

Re: [FFmpeg-devel] [PATCH 09/12] avcodec/sanm: codec4/5/33/34 decoder

2025-03-14 Thread Manuel Lauss
Servus Andreas, On Fri, Mar 14, 2025 at 1:08 AM Andreas Rheinhardt wrote: > > +static int old_codec4(SANMVideoContext *ctx, int left, int top, int w, int > > h, > > + uint8_t param, uint16_t param2, int codec) > > +{ > > +const uint16_t p = ctx->pitch; > > +const ui

[FFmpeg-devel] [PATCH] RISC-V:update ff_get_cpu_flags_riscv for RVV

2025-03-14 Thread daichengrong
From: daichengrong Availability of RVV and ZVBB should be determined with dl_hwcap. As those extensions rely on vector registers, kernel vector support is required to save the state of context switching. FFmpeg requires hwprobe for hardware capability detection, and cooperates with dl_hwcap t

Re: [FFmpeg-devel] [PATCH] avfilter: POC: enable out-of-tree filters

2025-03-14 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Lynne > Sent: Freitag, 14. März 2025 17:58 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] avfilter: POC: enable out-of-tree > filters > > On 13/03/2025 13:18, Leandro Santiago wrote: > > This is a POC/prototype

[FFmpeg-devel] [PATCH 1/5] avcodec/ffv1: fix remap without chroma planes

2025-03-14 Thread Michael Niedermayer
Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/ffv1dec.c | 3 +-- libavcodec/ffv1enc.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c index e534583d8d6..d702e36625a 100644 --- a/libavcodec/ff

[FFmpeg-devel] [PATCH 3/5] avcodec/ffv1: Add GRAYF16 support

2025-03-14 Thread Michael Niedermayer
Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/ffv1_parse.c | 5 - libavcodec/ffv1dec.c| 27 +++ libavcodec/ffv1enc.c| 2 ++ 3 files changed, 25 insertions(+), 9 deletions(-) diff --git a/libavcodec/ffv1_parse.c b/libavco

Re: [FFmpeg-devel] [PATCH] avcodec/vlc: Reduce debug logging

2025-03-14 Thread Michael Niedermayer
Hi On Fri, Mar 14, 2025 at 03:46:35AM +, Soft Works wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Michael Niedermayer > > Sent: Freitag, 14. März 2025 01:28 > > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH] avcode

[FFmpeg-devel] [PATCH] avcodec: Mark init and close functions as av_cold

2025-03-14 Thread Andreas Rheinhardt
Patch attached. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 11/12] avcodec/sanm: change GetByteContext member to pointer

2025-03-14 Thread Michael Niedermayer
Hi Manuel On Thu, Mar 13, 2025 at 12:15:04PM +0100, Manuel Lauss wrote: > In order do properly support the ANIM STOR/FTCH system, the FTCH > must replay a stored FOBJ and change the SANMContext's "GetByteContext" > member temporarily. > > Signed-off-by: Manuel Lauss > --- > libavcodec/sanm.c |

Re: [FFmpeg-devel] [PATCH 11/12] avcodec/sanm: change GetByteContext member to pointer

2025-03-14 Thread Manuel Lauss
Michael On Fri, Mar 14, 2025 at 9:31 PM Michael Niedermayer wrote: > > Hi Manuel > > On Thu, Mar 13, 2025 at 12:15:04PM +0100, Manuel Lauss wrote: > > In order do properly support the ANIM STOR/FTCH system, the FTCH > > must replay a stored FOBJ and change the SANMContext's "GetByteContext" > > m

Re: [FFmpeg-devel] [PATCH] avfilter: POC: enable out-of-tree filters

2025-03-14 Thread Michael Niedermayer
On Fri, Mar 14, 2025 at 05:13:23PM +0100, Leandro Santiago wrote: [...] > > > > also there is the quite intriguing option of using "git merge" to include > > external filters > > What i mean here is that there could be a script lets call it ffmerge > How would it work when using release tarballs,

Re: [FFmpeg-devel] [PATCH] RISC-V:update ff_get_cpu_flags_riscv for RVV

2025-03-14 Thread Rémi Denis-Courmont
Hi, Le 14 mars 2025 17:32:57 GMT+07:00, daichengr...@iscas.ac.cn a écrit : >From: daichengrong > >Availability of RVV and ZVBB should be determined with dl_hwcap. No. That's completely superfluous since we already check for kernel support with hwprobe(). And we can't check for Zb* and Zv* with

Re: [FFmpeg-devel] [PATCH v2] lavc/vvc: Fix NumEntryPoints derivation

2025-03-14 Thread Nuo Mi
On Thu, Mar 6, 2025 at 2:40 AM Frank Plowman wrote: > If pps_single_slice_per_subpic_flag is 1, > slice_{width,height}_in_tiles are undefined and we must instead get the > dimensions of the slice by referring to the corresponding subpicture. > Signed-off-by: Frank Plowman > --- > Changes since

[FFmpeg-devel] [PATCH 5/5] avcodec/ffv1dec: Fix a YUVA issue with remaping

2025-03-14 Thread Michael Niedermayer
Untested Signed-off-by: Michael Niedermayer --- libavcodec/ffv1dec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c index 968c386f897..6ec9e229f3b 100644 --- a/libavcodec/ffv1dec.c +++ b/libavcodec/ffv1dec.c @@ -371,7 +371,8 @@ s