[FFmpeg-devel] [PATCH] Add support for Panasonic V-Log transfer function (PR #20561)

2025-09-20 Thread Lynne via ffmpeg-devel
PR #20561 opened by Lynne URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20561 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20561.patch This PR adds support for the Panasonic V-Log transfer function, used in Panasonic cameras. To avoid bloating structures unnecessarily, the

[FFmpeg-devel] [PATCH] ID3v2 fixes for FLAC, add V-Log transfer function (PR #20533)

2025-09-16 Thread Lynne via ffmpeg-devel
PR #20533 opened by Lynne URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20533 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20533.patch >From f46d078521e6ce8fe2ce2648ae7d29367eb9c928 Mon Sep 17 00:00:00 2001 From: Lynne Date: Wed, 27 Aug 2025 17:39:16 +0900 Subject: [PATCH 1/6] l

Re: [FFmpeg-devel] [PATCH] Announce FFmpeg 8.0

2025-08-22 Thread Lynne via ffmpeg-devel
On 22/08/2025 21:13, Niklas Haas via ffmpeg-devel wrote: On Thu, 21 Aug 2025 14:47:03 +0900 Lynne via ffmpeg-devel wrote: --- src/index | 42 ++ 1 file changed, 42 insertions(+) diff --git a/src/index b/src/index index 52829e1..a07f4b8 100644 --- a

Re: [FFmpeg-devel] [PATCH] Announce FFmpeg 8.0

2025-08-22 Thread Lynne via ffmpeg-devel
On 22/08/2025 06:56, Frank Plowman via ffmpeg-devel wrote: On 21/08/2025 06:47, Lynne via ffmpeg-devel wrote: --- src/index | 42 ++ 1 file changed, 42 insertions(+) diff --git a/src/index b/src/index index 52829e1..a07f4b8 100644 --- a/src/index

Re: [FFmpeg-devel] [PATCH] Announce FFmpeg 8.0

2025-08-21 Thread Lynne via ffmpeg-devel
On 21/08/2025 15:44, Jacob Lifshay via ffmpeg-devel wrote: On August 20, 2025 10:47:03 PM PDT, Lynne via ffmpeg-devel wrote: +Hardware accelerated decoding: Vulkan VP9, VAAPI VVC, OpenHarmony H264/5 +Hardware accelerated encoding: Vulkan AV1, OpenHarmony H264/5 +Filters

[FFmpeg-devel] [PATCH] Announce FFmpeg 8.0

2025-08-20 Thread Lynne via ffmpeg-devel
--- src/index | 42 ++ 1 file changed, 42 insertions(+) diff --git a/src/index b/src/index index 52829e1..a07f4b8 100644 --- a/src/index +++ b/src/index @@ -35,6 +35,48 @@ News + August 23nd, 2025, FFmpeg 8.0 "Huffman" + + A new major release

Re: [FFmpeg-devel] FFmpeg 8.0 Release

2025-08-19 Thread Lynne via ffmpeg-devel
On 20/08/2025 06:13, Michael Niedermayer via ffmpeg-devel wrote: Hi all On Fri, Aug 01, 2025 at 06:16:18PM -0500, Romain Beauxis wrote: Le mer. 23 juil. 2025 à 06:43, Michael Niedermayer a écrit : Hi everyone I intend to create the release/8.0 branch in the next 1-2 weeks after that i inten

Re: [FFmpeg-devel] Plugins architecture

2025-08-11 Thread Lynne
On 11/08/2025 22:10, Michael Niedermayer wrote: Hi Lynne On Mon, Aug 11, 2025 at 09:22:26PM +0900, Lynne wrote: [...] To me, at least, I can imagine five options: Option 1 - we have an official binary plugin interface, free for everyone to use with no limitation. That requires

Re: [FFmpeg-devel] Plugins architecture

2025-08-11 Thread Lynne
On 11/08/2025 21:43, Michael Niedermayer wrote: Hi Lynne On Mon, Aug 11, 2025 at 09:22:26PM +0900, Lynne wrote: Recently, the issue of plugins was raised. Michael pushed a patch to enable out of tree branches to be freely added to FFmpeg. I did not very much like the option of having

[FFmpeg-devel] [PATCH] aacdec_usac: use RefStruct to track unfinished extension buffers (PR #20215)

2025-08-11 Thread Lynne
PR #20215 opened by Lynne URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20215 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20215.patch Extensions in AAC USAC can be stored across multiple frames (mainly to keep CBR compliance). This means that we need to reallocate a buffer when new

[FFmpeg-devel] [PATCH] aacdec_usac: use RefStruct to track unfinished extension buffers

2025-08-11 Thread Lynne
Extensions in AAC USAC can be stored across multiple frames (mainly to keep CBR compliance). This means that we need to reallocate a buffer when new data is received, accumulate the bitstream data, and so on until the end of extension flag is signalled and the extension can be decoded. This is

[FFmpeg-devel] Plugins architecture

2025-08-11 Thread Lynne
Recently, the issue of plugins was raised. Michael pushed a patch to enable out of tree branches to be freely added to FFmpeg. I did not very much like the option of having officially-endorsed source plugins, as to me, it moved all the burden of maintenance to FFmpeg maintainers. The commit wa

[FFmpeg-devel] [PATCH] Revert "doc/developer: Basic documentation for Source Plugins" (PR #20213)

2025-08-11 Thread Lynne
PR #20213 opened by Lynne URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20213 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20213.patch This reverts commit 67320e0627a3b0210794c8f58e3e6acceb074b5c. We do not want random forks or features. >F

[FFmpeg-devel] [PATCH] Keep compatibility with old Vulkan headers (PR #20177)

2025-08-08 Thread Lynne
PR #20177 opened by Lynne URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20177 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20177.patch This allows to compile the Vulkan code with headers from January 2023 (debian stable). >From caf46528f92c1d616322274a609e24f77c4a18d1 Mon Sep

[FFmpeg-devel] [PATCH] forgejo/labeler: automatically flag Vulkan-related commits (PR #20118)

2025-08-05 Thread Lynne
PR #20118 opened by Lynne URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20118 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20118.patch This commit adds support for Vulkan labelling. >From 8ad2415d9b56572d2c7fa321eb1febf73eb713fc Mon Sep 17 00:00:00 2001 From: Lynne Date: Tue

[FFmpeg-devel] [PATCH] Add a Vulkan VP9 hwaccel (PR #20117)

2025-08-04 Thread Lynne
PR #20117 opened by Lynne URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20117 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20117.patch This PR adds support for the VP9 Vulkan hwaccel. The first commit uses the CBS infrastructure to parse the VP9 header. This allows us to implement

[FFmpeg-devel] [PATCH] forgejo/CODEOWNERS: fix alphabetical order (PR #20108)

2025-08-03 Thread Lynne
PR #20108 opened by Lynne URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20108 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20108.patch Oops. >From 9d99ae324a5a263095d865796625dc7d0721c281 Mon Sep 17 00:00:00 2001 From: Lynne Date: Mon, 4 Aug 2025 12:05:13 +0900 Subject: [PA

[FFmpeg-devel] [PATCH] forgejo/CODEOWNERS: add a CODEOWNERS file to automatically add reviewers (PR #20106)

2025-08-03 Thread Lynne
PR #20106 opened by Lynne URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20106 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20106.patch This helps with finding reviews. >From 48ca0021161bd766753001f01d5bcaee8bb3d2bf Mon Sep 17 00:00:00 2001 From: Lynne Date: Mon, 4 Aug 2025 11

Re: [FFmpeg-devel] STF 2025 grant request (2025-09-01 target)

2025-07-30 Thread Lynne
On 30/07/2025 06:20, Pierre-Anthony Lemieux wrote: Hi all, As with last year, Michael asked me to help coordinate the creation of grant request to the STF: https://trac.ffmpeg.org/wiki/SponsoringPrograms/STF/2025 The objective remains to unlock funds for individuals that are interested in cont

Re: [FFmpeg-devel] forgejo labels

2025-07-29 Thread Lynne
On 29/07/2025 02:37, Timo Rothenpieler wrote: On 7/28/2025 7:24 PM, Michael Niedermayer wrote: On Mon, Jul 28, 2025 at 06:15:53PM +0200, Timo Rothenpieler wrote: On 7/28/2025 4:40 PM, Diederick C. Niehorster wrote: On Mon, Jul 28, 2025 at 4:21 PM Michael Niedermayer wrote: Hi regression: i

Re: [FFmpeg-devel] [PATCH] Changlog: mention add WHIP muxer (experimental)

2025-07-24 Thread Lynne
On 23/07/2025 22:28, Jack Lau wrote: Signed-off-by: Jack Lau --- Changelog | 1 + 1 file changed, 1 insertion(+) diff --git a/Changelog b/Changelog index 228029ea00..1c6c27919f 100644 --- a/Changelog +++ b/Changelog @@ -2,6 +2,7 @@ Entries are sorted chronologically from oldest to youngest

Re: [FFmpeg-devel] Notifications for the new monolithic tool

2025-07-23 Thread Lynne
On 24/07/2025 07:06, Timo Rothenpieler wrote: On 7/23/2025 9:24 PM, Nicolas George wrote: Hi. I just saw somebody mention this on trac: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20025 But I have no trace of it in my inbox. If this is now an accepted way of getting contributions, then either

Re: [FFmpeg-devel] [PATCH] web: announce code.ffmpeg.org

2025-07-22 Thread Lynne
On 22/07/2025 17:44, Kacper Michajlow wrote: On Tue, 22 Jul 2025 at 05:54, Lynne wrote: --- src/contact | 11 +++ src/index | 52 2 files changed, 63 insertions(+) diff --git a/src/contact b/src/contact index 6943d06

Re: [FFmpeg-devel] [PATCH] web: announce code.ffmpeg.org

2025-07-22 Thread Lynne
On 23/07/2025 00:01, Leo Izen wrote: On 7/21/25 23:53, Lynne wrote: ---   src/contact | 11 +++   src/index   | 52   2 files changed, 63 insertions(+) In addition to what kasper said, you should also update README.md's contrib

Re: [FFmpeg-devel] [PATCH] web: announce code.ffmpeg.org

2025-07-22 Thread Lynne
On 23/07/2025 08:04, Michael Niedermayer wrote: Hi Lynne On Tue, Jul 22, 2025 at 12:53:29PM +0900, Lynne wrote: [...] + +Bugs/issues will be accepted on https://code.ffmpeg.org/";>code.ffmpeg.org, alongside +with https://trac.ffmpeg.org/";>trac.ffmpeg.org for

Re: [FFmpeg-devel] [POLL] [VOTE] code.ffmpeg.org

2025-07-22 Thread Lynne
On 22/07/2025 21:26, Timo Rothenpieler wrote: On 22/07/2025 08:15, Hendrik Leppkes wrote: On Mon, Jul 21, 2025 at 3:03 AM Timo Rothenpieler wrote: * announce code.ffmpeg.org publically so people can start submitting     and reviewing on it as an alternative to the ML Just be aware that merg

[FFmpeg-devel] [PATCH] web: announce code.ffmpeg.org

2025-07-21 Thread Lynne
--- src/contact | 11 +++ src/index | 52 2 files changed, 63 insertions(+) diff --git a/src/contact b/src/contact index 6943d06..8a59864 100644 --- a/src/contact +++ b/src/contact @@ -1,3 +1,14 @@ + + + +Contributions + +

Re: [FFmpeg-devel] [POLL] [VOTE] code.ffmpeg.org

2025-07-20 Thread Lynne
On 21/07/2025 09:54, Michael Niedermayer wrote: Hi all On Sun, Jul 13, 2025 at 01:43:57PM +0200, Michael Niedermayer wrote: Hi all Do people want Forgejo or Gitlab on code.ffmpeg.org for testing? F. code.ffmpeg.org should run Forgejo G. code.ffmpeg.org should run Gitlab all GA members can vo

Re: [FFmpeg-devel] [PATCH] avformat/mov: don't assume iloc and iinf entries for each item_id will be in the same order

2025-07-18 Thread Lynne
On 18/07/2025 09:55, James Almer wrote: Nothing forbids them to be in any order the muxer desires. Fixes demuxing heif samples generated by S1II. Signed-off-by: James Almer --- libavformat/mov.c | 41 ++--- 1 file changed, 26 insertions(+), 15 deletions(-

Re: [FFmpeg-devel] [PATCH 1/4] avutil: add generic side data for video coding info

2025-07-18 Thread Lynne
On 18/07/2025 19:30, Timothée Regaud wrote: From: Timothee Regaud Adds the generic data structures to libavutil. The design is recursive to support other codecs, even though the implementation is only for H.264 for now. Signed-off-by: Timothee Regaud --- libavutil/Makefile| 1

Re: [FFmpeg-devel] [PATCH v2 01/13] vf_libplacebo: add support for specifying a LUT for the input

2025-07-17 Thread Lynne
On 13/07/2025 03:51, Lynne wrote: This makes it possible to apply Adobe .cube files to inputs. --- doc/filters.texi| 30 ++ libavfilter/vf_libplacebo.c | 36 2 files changed, 66 insertions(+) diff --git a/doc

Re: [FFmpeg-devel] [PATCH 2/2] libavformat: Enable jpeg streams in HEIF MOVContext

2025-07-17 Thread Lynne
Thanks. Patchset LGTM. This also helps HEIF files generated by the S1II, but sadly they still fail: > [mjpeg @ 0x55a49a0e29c0] No JPEG data found in image And for the main stream: > [hevc @ 0x55a49a0fe880] Failed to parse header of NALU (type 34): "Invalid data found when processing input". Sk

Re: [FFmpeg-devel] [PATCH] avutil/hwcontext_vulkan: don't over-map buffers with prior padding

2025-07-15 Thread Lynne
On 15/07/2025 19:51, Niklas Haas wrote: From: Niklas Haas If the image data is not at the start of the buffer allocation, such as when the buffer has padding before the image data, this function maps too much memory, since src_data + src_buf->size exceeds the buffer size. Fix this by subtracti

Re: [FFmpeg-devel] [POLL] [VOTE] code.ffmpeg.org

2025-07-14 Thread Lynne
On 13/07/2025 20:43, Michael Niedermayer wrote: Hi all Do people want Forgejo or Gitlab on code.ffmpeg.org for testing? F. code.ffmpeg.org should run Forgejo G. code.ffmpeg.org should run Gitlab all GA members can vote, by publically replying here with a "F." / "Forgejo" vs "G." / "Gitlab" End

Re: [FFmpeg-devel] [PATCH v2 12/13] lavc/vp9dec: use cbs_vp9 to parse the frame header

2025-07-13 Thread Lynne
On 14/07/2025 03:15, Andreas Rheinhardt wrote: Lynne: --- configure | 2 +- libavcodec/vp9.c | 40 libavcodec/vp9dec.h| 6 ++ libavcodec/vp9shared.h | 4 4 files changed, 51 insertions(+), 1 deletion(-) diff

[FFmpeg-devel] [PATCH v2 13/13] WIP vp9: add Vulkan VP9 hwaccel

2025-07-12 Thread Lynne
--- configure| 2 + libavcodec/Makefile | 1 + libavcodec/hwaccels.h| 1 + libavcodec/vp9.c | 18 +- libavcodec/vulkan_decode.c | 24 +++ libavcodec/vulkan_decode.h | 1 + libavcodec/vulkan_vp9.c | 366

[FFmpeg-devel] [PATCH v2 11/13] scale_vulkan: add support for basic Debayering

2025-07-12 Thread Lynne
af4f6b 100644 --- a/libavfilter/vulkan/Makefile +++ b/libavfilter/vulkan/Makefile @@ -4,6 +4,7 @@ clean:: $(RM) $(GEN_CLEANSUFFIXES:%=libavfilter/vulkan/%) OBJS-$(CONFIG_BWDIF_VULKAN_FILTER) += vulkan/bwdif.o +OBJS-$(CONFIG_SCALE_VULKAN_FILTER) += vulkan/debayer.o VULKAN = $(subst $(SRC_P

[FFmpeg-devel] [PATCH v2 12/13] lavc/vp9dec: use cbs_vp9 to parse the frame header

2025-07-12 Thread Lynne
--- configure | 2 +- libavcodec/vp9.c | 40 libavcodec/vp9dec.h| 6 ++ libavcodec/vp9shared.h | 4 4 files changed, 51 insertions(+), 1 deletion(-) diff --git a/configure b/configure index eeb81d7aa3..92ee54c7a6 100755 -

[FFmpeg-devel] [PATCH v2 09/13] lavc: add a ProRes RAW Vulkan hwaccel

2025-07-12 Thread Lynne
e35 --- /dev/null +++ b/libavcodec/vulkan/prores_raw.comp @@ -0,0 +1,347 @@ +/* + * ProRes RAW decoder + * + * Copyright (c) 2025 Lynne + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Publ

[FFmpeg-devel] [PATCH v2 10/13] scale_vulkan: refactor shader initialization

2025-07-12 Thread Lynne
--- libavfilter/vf_scale_vulkan.c | 160 ++ 1 file changed, 85 insertions(+), 75 deletions(-) diff --git a/libavfilter/vf_scale_vulkan.c b/libavfilter/vf_scale_vulkan.c index 1d6492e213..46b1476933 100644 --- a/libavfilter/vf_scale_vulkan.c +++ b/libavfilter/vf_sca

[FFmpeg-devel] [PATCH v2 06/13] lavc: add codec ID and profiles for ProRes RAW

2025-07-12 Thread Lynne
--- libavcodec/codec_desc.c | 8 libavcodec/codec_id.h | 1 + libavcodec/defs.h | 3 +++ libavcodec/profiles.c | 6 ++ libavcodec/profiles.h | 1 + libavformat/isom_tags.c | 4 6 files changed, 23 insertions(+) diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_

[FFmpeg-devel] [PATCH v2 08/13] lavc: add a ProRes RAW decoder

2025-07-12 Thread Lynne
ores_raw.c new file mode 100644 index 00..b4382ef573 --- /dev/null +++ b/libavcodec/prores_raw.c @@ -0,0 +1,525 @@ +/* + * ProRes RAW decoder + * Copyright (c) 2023-2025 Paul B Mahol + * Copyright (c) 2025 Lynne + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redis

[FFmpeg-devel] [PATCH v2 07/13] lavc: add a ProRes RAW parser

2025-07-12 Thread Lynne
+1,72 @@ +/* + * Copyright (c) 2025 Lynne + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the

[FFmpeg-devel] [PATCH v2 05/13] lavc/vulkan/common: sign-ify lengths

2025-07-12 Thread Lynne
This makes left_bits return useful data rather than overflowing, and also saves some 64-bit integer operations, which is still always a plus sadly. --- libavcodec/vulkan/common.comp | 22 +++--- libavcodec/vulkan/ffv1_dec_setup.comp | 2 +- libavcodec/vulkan/ffv1_vlc.comp

[FFmpeg-devel] [PATCH v2 03/13] hwcontext_vulkan: enable uniformBufferStandardLayout

2025-07-12 Thread Lynne
--- libavutil/hwcontext_vulkan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index 5a9b995eb9..c20ebde36d 100644 --- a/libavutil/hwcontext_vulkan.c +++ b/libavutil/hwcontext_vulkan.c @@ -280,6 +280,7 @@ static void device_feature

[FFmpeg-devel] [PATCH v2 04/13] vulkan: add support for 16-bit RGGB Bayer pixfmt

2025-07-12 Thread Lynne
--- libavutil/hwcontext_vulkan.c | 3 +++ libavutil/vulkan.c | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index c20ebde36d..e818099fdb 100644 --- a/libavutil/hwcontext_vulkan.c +++ b/libavutil/hwcont

[FFmpeg-devel] [PATCH v2 02/13] hwcontext_vulkan: temporarily disable host_image_copy

2025-07-12 Thread Lynne
NVIDIA's support for it is a disaster. Of no benefit to other vendors. NVIDIA are working on fixing it, but it may take time. --- libavutil/hwcontext_vulkan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index 894bc3dae1..5a9b995eb

[FFmpeg-devel] [PATCH v2 01/13] vf_libplacebo: add support for specifying a LUT for the input

2025-07-12 Thread Lynne
This makes it possible to apply Adobe .cube files to inputs. --- doc/filters.texi| 30 ++ libavfilter/vf_libplacebo.c | 36 2 files changed, 66 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index ed2956f

Re: [FFmpeg-devel] [PATCH 1/7] vf_libplacebo: add support for specifying a LUT for the input

2025-07-11 Thread Lynne
On 11/07/2025 19:39, Niklas Haas wrote: On Fri, 11 Jul 2025 00:13:29 +0900 Lynne wrote: This makes it possible to apply Adobe .cube files to inputs. --- libavfilter/vf_libplacebo.c | 28 1 file changed, 28 insertions(+) diff --git a/libavfilter/vf_libplacebo.c

[FFmpeg-devel] [PATCH 6/7] lavc: add a ProRes RAW decoder

2025-07-10 Thread Lynne
c b/libavcodec/proresdec_raw.c new file mode 100644 index 00..caebed9e96 --- /dev/null +++ b/libavcodec/proresdec_raw.c @@ -0,0 +1,519 @@ +/* + * ProRes RAW decoder + * Copyright (c) 2023-2025 Paul B Mahol + * Copyright (c) 2025 Lynne + * + * This file is part of FFmpeg. + * + * FFmpeg is fr

[FFmpeg-devel] [PATCH 7/7] lavc: add a ProRes RAW Vulkan hwaccel

2025-07-10 Thread Lynne
AW_VULKAN_HWACCEL) += vulkan/common.o \ +vulkan/prores_raw.o + VULKAN = $(subst $(SRC_PATH)/,,$(wildcard $(SRC_PATH)/libavcodec/vulkan/*.comp)) .SECONDARY: $(VULKAN:.comp=.c) libavcodec/vulkan/%.c: TAG = VULKAN diff --git a/libavcodec/vulkan/prores_r

[FFmpeg-devel] [PATCH 5/7] lavc: add codec ID and profiles for ProRes RAW

2025-07-10 Thread Lynne
--- libavcodec/codec_desc.c | 8 libavcodec/codec_id.h | 1 + libavcodec/defs.h | 3 +++ libavcodec/profiles.c | 6 ++ libavcodec/profiles.h | 1 + libavformat/isom_tags.c | 4 6 files changed, 23 insertions(+) diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_

[FFmpeg-devel] [PATCH 4/7] lavc/vulkan/common: sign-ify lengths

2025-07-10 Thread Lynne
This makes left_bits return useful data rather than overflowing, and also saves some 64-bit integer operations, which is still always a plus sadly. --- libavcodec/vulkan/common.comp | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/libavcodec/vulkan/commo

[FFmpeg-devel] [PATCH 3/7] vulkan: add support for 16-bit RGGB Bayer pixfmt

2025-07-10 Thread Lynne
--- libavutil/hwcontext_vulkan.c | 3 +++ libavutil/vulkan.c | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index 5a9b995eb9..4551867b70 100644 --- a/libavutil/hwcontext_vulkan.c +++ b/libavutil/hwcont

[FFmpeg-devel] [PATCH 2/7] hwcontext_vulkan: temporarily disable host_image_copy

2025-07-10 Thread Lynne
NVIDIA's support for it is a disaster. Of no benefit to other vendors. NVIDIA are working on fixing it, but it may take time. --- libavutil/hwcontext_vulkan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index 894bc3dae1..5a9b995eb

[FFmpeg-devel] [PATCH 1/7] vf_libplacebo: add support for specifying a LUT for the input

2025-07-10 Thread Lynne
This makes it possible to apply Adobe .cube files to inputs. --- libavfilter/vf_libplacebo.c | 28 1 file changed, 28 insertions(+) diff --git a/libavfilter/vf_libplacebo.c b/libavfilter/vf_libplacebo.c index 475030c80d..d74a6e1bf7 100644 --- a/libavfilter/vf_libplace

[FFmpeg-devel] [PATCH v3] lavc: add an av1_vulkan encoder

2025-06-23 Thread Lynne
This commit adds a Vulkan AV1 encoder, using the native acceleration API. --- configure |1 + libavcodec/Makefile|2 + libavcodec/allcodecs.c |1 + libavcodec/vulkan_encode_av1.c | 1409 libavcodec/vulkan_video.c

[FFmpeg-devel] [PATCH] hwcontext_vulkan: add option to disable video queues when creating a device

2025-06-23 Thread Lynne
This helps reduce queue usage even further. --- libavutil/hwcontext_vulkan.c | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index 88145ef2d0..f31020c416 100644 --- a/libavutil/hwcontext_vulkan.

Re: [FFmpeg-devel] [PATCH] avutil/hwcontext_vulkan: disable host transfers if ReBAR is disabled

2025-06-20 Thread Lynne
On 20/06/2025 21:43, Niklas Haas wrote: From: Niklas Haas This feature fundamentally relies on host-visible VRAM, which restricts the set of available memory types to (typically) host-visible device-local ones. When resizable BAR is disabled, this memory type is usually limited to e.g. 256 MiB

[FFmpeg-devel] [PATCH 1/2] hwcontext_vulkan: add workaround for BROKEN nvidia crap

2025-06-16 Thread Lynne
--- libavutil/hwcontext_vulkan.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index 51be0c0d3b..f05b75110d 100644 --- a/libavutil/hwcontext_vulkan.c +++ b/libavutil/hwcontext_vulkan.c @@ -2828,6 +2828,12 @@ static int vulkan_

[FFmpeg-devel] [PATCH 2/2] hwcontext_vulkan: enable unified image layouts

2025-06-16 Thread Lynne
--- libavutil/hwcontext_vulkan.c | 11 +++ libavutil/vulkan_functions.h | 1 + libavutil/vulkan_loader.h| 3 +++ 3 files changed, 15 insertions(+) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index f05b75110d..dcca217af3 100644 --- a/libavutil/hwcontext_v

Re: [FFmpeg-devel] [PATCH 0/3] Fix memory leaks in vulkan ffv1 decoding

2025-06-10 Thread Lynne
On 11/06/2025 03:58, averne wrote: This fixes a few leaks reported by LeakSanitizer. I tested this on my Intel laptop running anv, with these patches no more leaks are detected. Signed-off-by: averne --- averne (3): vulkan: fix leak in FFVkExecPool vulkan/ffv1dec: fix leak in FFVu

[FFmpeg-devel] [PATCH v2 3/3] hwcontext_vulkan: add a setting to limit queues

2025-06-04 Thread Lynne
If its a problem, you'll likely want to set it to 1 than more fine-grained control, which you can already do via the API. --- libavutil/hwcontext_vulkan.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_v

[FFmpeg-devel] [PATCH v2 2/3] hwcontext_vulkan: minimize queue allocation on NVIDIA

2025-06-04 Thread Lynne
On NVIDIA, there's a global maximum limit of approximately 112 queues, which means it takes ONLY 7 total programs using the maximum amount of queues to cause the driver to error out/*segfault* during initialization. Also, each queue takes about 30ms to allocate, which quickly adds up. This reduce

[FFmpeg-devel] [PATCH v2 1/3] hwcontext_vulkan: do not use optical flow queueus by default

2025-06-04 Thread Lynne
We don't use them, and on NVIDIA, each queue takes around 30ms to allocate, and the driver has a global limit of ONLY 112 queues. --- libavutil/hwcontext_vulkan.c | 8 1 file changed, 8 deletions(-) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index ce485a85a2

[FFmpeg-devel] [PATCH] hwcontext_vulkan: minimize queue allocation on NVIDIA

2025-06-03 Thread Lynne
On NVIDIA, there's a global maximum limit of approximately 112 queues, which means it takes ONLY 7 total programs using the maximum amount of queues to cause the driver to error out/*segfault* during initialization. Also, each queue takes about 30ms to allocate, which quickly adds up. This reduce

[FFmpeg-devel] [PATCH] hwcontext_vulkan: do not use optical flow queueus by default

2025-06-03 Thread Lynne
We don't use them, and on NVIDIA, each queue takes around 30ms to allocate, and the driver has a global limit of ONLY 112 queues. --- libavutil/hwcontext_vulkan.c | 8 1 file changed, 8 deletions(-) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index aa0bfa3756

Re: [FFmpeg-devel] [RFC] Subtitle Filtering Ramp-Up

2025-06-03 Thread Lynne
You don't get to say "oh, there were no more objections, so it was fine" or "the use is evident" after the mess that your original patchsets were. You're still not using the native time fields, nor the packet buffers, which is a very hard NAK from me. On 03/06/2025 23:20, softworkz . wrote:

[FFmpeg-devel] [PATCH] hwcontext_vulkan: use host image copy

2025-06-02 Thread Lynne
--- libavutil/hwcontext_vulkan.c | 84 +++- libavutil/vulkan_functions.h | 6 +++ libavutil/vulkan_loader.h| 1 + 3 files changed, 89 insertions(+), 2 deletions(-) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index ce485a85a2..b22e

Re: [FFmpeg-devel] STF RaptorQ

2025-05-23 Thread Lynne
On 23/05/2025 15:50, Kieran Kunhya via ffmpeg-devel wrote: On Fri, 23 May 2025, 04:44 Lynne, wrote: On 23/05/2025 08:42, Kieran Kunhya via ffmpeg-devel wrote: Hello, I wanted to put on the record that adding RaptorQ to FFmpeg isn't maintenance of FFmpeg. It isn't -- it's

Re: [FFmpeg-devel] STF RaptorQ

2025-05-22 Thread Lynne
On 23/05/2025 08:55, Devin Heitmueller wrote: On Thu, May 22, 2025 at 7:42 PM Kieran Kunhya via ffmpeg-devel wrote: I wanted to put on the record that adding RaptorQ to FFmpeg isn't maintenance of FFmpeg. It's adding an obscure FEC protocol to FFmpeg, which is not going to be implemented well

Re: [FFmpeg-devel] STF RaptorQ

2025-05-22 Thread Lynne
On 23/05/2025 08:42, Kieran Kunhya via ffmpeg-devel wrote: Hello, I wanted to put on the record that adding RaptorQ to FFmpeg isn't maintenance of FFmpeg. It isn't -- it's research. It's adding an obscure FEC protocol to FFmpeg, which is not going to be implemented well without an event loop

[FFmpeg-devel] [PATCH] aacdec_ac: fix signed overflow in ff_aac_ac_update_context()

2025-05-22 Thread Lynne
The issue is that state->cur[] is 8-bits, but a+b+1 can overflow before being clipped to 0xF in the following line, causing an incorrect state to be saved for the next symbol. This solves numerous bitstream desyncs, particularly when coefficients with magnitude greater than 127 are sent. --- liba

Re: [FFmpeg-devel] [PATCH 7/7] avutil/vf_scdet_vulkan: add new filter

2025-05-21 Thread Lynne
On 18/05/2025 21:11, Niklas Haas wrote: From: Niklas Haas Carbon copy of vf_scdet. Signed-off-by: Niklas Haas Sponsored-by: nxtedition --- configure | 1 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_scdet_vulkan.c |

Re: [FFmpeg-devel] [PATCH 5/7] avfilter/blackdetect_vulkan: add hw accelerated blackdetect filter

2025-05-21 Thread Lynne
On 18/05/2025 21:11, Niklas Haas wrote: From: Niklas Haas Like vf_blackdetect but better, faster, stronger, harder. Signed-off-by: Niklas Haas Sponsored-by: nxtedition --- configure | 1 + doc/filters.texi| 2 +- libavfilter/Makefile

Re: [FFmpeg-devel] [PATCH 3/7] avfilter/vf_gblur_vulkan: omit unnecessary buffer usage flag

2025-05-21 Thread Lynne
On 18/05/2025 21:11, Niklas Haas wrote: From: Niklas Haas Implied internally now when needed. --- libavfilter/vf_gblur_vulkan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavfilter/vf_gblur_vulkan.c b/libavfilter/vf_gblur_vulkan.c index 80b66de735..fb676a7fc9 100644 --- a/libavfilt

Re: [FFmpeg-devel] [PATCH 2/7] avutil/vulkan: automatically enable shader device address usage bit

2025-05-21 Thread Lynne
On 18/05/2025 21:11, Niklas Haas wrote: From: Niklas Haas We require this internally when using descriptor buffers, so it makes sense to enable it internally, also. --- libavutil/vulkan.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index 5f2

Re: [FFmpeg-devel] [PATCH] avcodec: reorder MP3 decoder declarations to match MP2 pattern

2025-05-21 Thread Lynne
On 22/05/2025 06:21, sohzm wrote: Fix inconsistent sample format reporting between probing and decoding. Previously, avformat_find_stream_info reported fltp format for MP3 streams but frames were decoded as s16p. Fixes ticket/11561 --- libavcodec/allcodecs.c | 2 +- 1 file changed, 1 insertio

Re: [FFmpeg-devel] [PATCH] avfilter/vf_interlace_vulkan: fix FPS and PTS calculation

2025-05-21 Thread Lynne
LGTM On 21/05/2025 23:12, Niklas Haas wrote: From: Niklas Haas ol->frame_rate is 0/0, so we need to calcalute the correct value based on the il->frame_rate instead. Also adjust the time base, PTS and frame_duration values accordingly. (Logic taken from vf_tinterlace.c) --- libavfilter/vf_int

Re: [FFmpeg-devel] [FFmpeg-cvslog] fftools/graphprint: Now, make it a Killer-Feature!

2025-05-15 Thread Lynne
On 16/05/2025 02:39, James Almer wrote: On 5/15/2025 9:36 PM, softworkz . wrote: -Original Message- From: ffmpeg-devel On Behalf Of softworkz . Sent: Freitag, 16. Mai 2025 02:33 To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [FFmpeg-cvslog] fftools/grap

[FFmpeg-devel] [PATCH 16/16] hwcontext_vulkan: only try exporting DMABUF memory on !WIN32 and only for DMABUF tiling

2025-05-14 Thread Lynne
--- libavutil/hwcontext_vulkan.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index 9f9df91e5d..4f205137eb 100644 --- a/libavutil/hwcontext_vulkan.c +++ b/libavutil/hwcontext_vulkan.c @@ -2643,11 +2643,12 @@ st

[FFmpeg-devel] [PATCH 15/16] hwcontext_vulkan: correct image transfer usage flags

2025-05-14 Thread Lynne
By pure coincidence, BUFFER and IMAGE flags were equal for those two usage types. --- libavutil/hwcontext_vulkan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index eded36bc01..9f9df91e5d 100644 --- a/libavutil

[FFmpeg-devel] [PATCH 14/16] vulkan: enable VK_KHR_shader_subgroup_rotate

2025-05-14 Thread Lynne
Yet another thing that should've been always present. --- libavutil/hwcontext_vulkan.c | 5 + libavutil/vulkan_functions.h | 1 + libavutil/vulkan_loader.h| 1 + 3 files changed, 7 insertions(+) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index 978d7e29d3..ede

[FFmpeg-devel] [PATCH 13/16] vulkan_ffv1: pipe through slice decoding status

2025-05-14 Thread Lynne
--- libavcodec/vulkan/ffv1_dec.comp | 4 ++ libavcodec/vulkan/ffv1_dec_setup.comp | 4 +- libavcodec/vulkan_decode.c| 1 + libavcodec/vulkan_decode.h| 1 + libavcodec/vulkan_ffv1.c | 60 +++ 5 files changed, 52 insertions(+), 1

[FFmpeg-devel] [PATCH 12/16] vulkan/ffv1: unify encode and decode get/put primitives

2025-05-14 Thread Lynne
This simply makes a get_rac/put_rac_internal variant that can be reused. --- libavcodec/vulkan/rangecoder.comp | 57 +-- 1 file changed, 17 insertions(+), 40 deletions(-) diff --git a/libavcodec/vulkan/rangecoder.comp b/libavcodec/vulkan/rangecoder.comp index 9e2c5fbe

[FFmpeg-devel] [PATCH 11/16] ffv1enc_vulkan: implement RCT search for level >= 4

2025-05-14 Thread Lynne
ice(inout SliceContext sc, const uint slice_idx) { /* Set coordinates */ uvec2 img_size = imageSize(src[0]); @@ -37,11 +37,13 @@ void init_slice(out SliceContext sc, const uint slice_idx) sc.slice_pos = ivec2(sxs, sys); sc.slice_dim = ivec2(sxe - sxs, sye - sys); -sc.sli

[FFmpeg-devel] [PATCH 10/16] ffv1enc_vulkan: implement the cached EC writer from the decoder

2025-05-14 Thread Lynne
This gives a 35% speedup on AMD and 50% on Nvidia. --- libavcodec/ffv1enc_vulkan.c | 6 ++- libavcodec/vulkan/ffv1_enc.comp | 68 ++--- 2 files changed, 50 insertions(+), 24 deletions(-) diff --git a/libavcodec/ffv1enc_vulkan.c b/libavcodec/ffv1enc_vulkan.c index

[FFmpeg-devel] [PATCH 09/16] vulkan_ffv1: fix PCM + cached symbol reader

2025-05-14 Thread Lynne
writeout_rgb requires that all subgroups are active. --- libavcodec/vulkan/ffv1_dec.comp | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libavcodec/vulkan/ffv1_dec.comp b/libavcodec/vulkan/ffv1_dec.comp index c74af4bf6a..e73b3f1dc0 100644 --- a/libavcodec/vulkan/ffv1_dec

[FFmpeg-devel] [PATCH 08/16] ffv1enc_vulkan: use ff_get_encode_buffer

2025-05-14 Thread Lynne
We used to create our own buffer, but still used the DR1 flag, which is not how it's supposed to work. Instead, use ff_get_encode_buffer, and either host-map the buffer before copying each slice via GPU transfers, or just copy each slice manually if that fails or is unavailable. --- libavcodec/ff

[FFmpeg-devel] [PATCH 07/16] ffv1_common: minor RGB optimization

2025-05-14 Thread Lynne
--- libavcodec/vulkan/ffv1_common.comp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/vulkan/ffv1_common.comp b/libavcodec/vulkan/ffv1_common.comp index 1f222bdc42..3d40592739 100644 --- a/libavcodec/vulkan/ffv1_common.comp +++ b/libavcodec/vulkan/ffv1_common

[FFmpeg-devel] [PATCH 06/16] ffv1enc_vulkan: switch to 2-line cache, unify prediction code

2025-05-14 Thread Lynne
--- libavcodec/ffv1enc_vulkan.c| 379 + libavcodec/vulkan/ffv1_common.comp | 87 +++ libavcodec/vulkan/ffv1_dec.comp| 91 +-- libavcodec/vulkan/ffv1_enc.comp| 155 ++-- libavcodec/vulkan_ffv1.c | 5 +- 5 files changed, 288 i

[FFmpeg-devel] [PATCH 05/16] ffv1enc_vulkan: minor EC optimizations

2025-05-14 Thread Lynne
--- libavcodec/vulkan/rangecoder.comp | 19 ++- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/libavcodec/vulkan/rangecoder.comp b/libavcodec/vulkan/rangecoder.comp index badc65293f..9e2c5fbecf 100644 --- a/libavcodec/vulkan/rangecoder.comp +++ b/libavcodec/vulkan/

[FFmpeg-devel] [PATCH 02/16] vulkan/ffv1: synchronize get_pred implementations between encoder and decoder

2025-05-14 Thread Lynne
--- libavcodec/vulkan/ffv1_dec.comp | 32 ++--- libavcodec/vulkan/ffv1_enc.comp | 85 - 2 files changed, 68 insertions(+), 49 deletions(-) diff --git a/libavcodec/vulkan/ffv1_dec.comp b/libavcodec/vulkan/ffv1_dec.comp index fc0175c715..1c313b3168 100644 ---

[FFmpeg-devel] [PATCH 04/16] ffv1enc_vulkan: unify EC code between setup and encode

2025-05-14 Thread Lynne
--- libavcodec/ffv1enc_vulkan.c | 1 + libavcodec/vulkan/ffv1_enc.comp | 7 --- libavcodec/vulkan/ffv1_enc_setup.comp | 10 +- libavcodec/vulkan/rangecoder.comp | 23 +++ 4 files changed, 17 insertions(+), 24 deletions(-) diff --git a/libavcod

[FFmpeg-devel] [PATCH 01/16] ffv1enc_vulkan: merge all encoder variants into one file

2025-05-14 Thread Lynne
const uint slice_idx = gl_WorkGroupID.y*gl_NumWorkGroups.x + gl_WorkGroupID.x; encode_slice(slice_ctx[slice_idx], slice_idx); +finalize_slice(slice_ctx[slice_idx], slice_idx); } diff --git a/libavcodec/vulkan/ffv1_enc_ac.comp b/libavcodec/vulkan/ffv1_enc_ac.comp deleted file mode 10

[FFmpeg-devel] [PATCH 03/16] ffv1enc_vulkan: get rid of temporary data for the setup shader

2025-05-14 Thread Lynne
--- libavcodec/ffv1enc_vulkan.c | 21 - libavcodec/vulkan/ffv1_enc_setup.comp | 65 +++ libavcodec/vulkan/rangecoder.comp | 28 +++- 3 files changed, 42 insertions(+), 72 deletions(-) diff --git a/libavcodec/ffv1enc_vulkan.c b/libavcodec/ffv1e

Re: [FFmpeg-devel] [PATCH 0/5] doc/developer: Add subsection about patch submission via FFstaging

2025-05-08 Thread Lynne
On 08/05/2025 14:26, softworkz . wrote: -Original Message- From: ffmpeg-devel On Behalf Of Lynne Sent: Donnerstag, 8. Mai 2025 14:00 To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH 0/5] doc/developer: Add subsection about patch submission via FFstaging On 08/05/2025

Re: [FFmpeg-devel] [PATCH 0/5] doc/developer: Add subsection about patch submission via FFstaging

2025-05-08 Thread Lynne
On 08/05/2025 13:33, softworkz . wrote: -Original Message- From: ffmpeg-devel On Behalf Of Lynne Sent: Donnerstag, 8. Mai 2025 13:20 To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH 0/5] doc/developer: Add subsection about patch submission via FFstaging On 08/05/2025

Re: [FFmpeg-devel] [PATCH 0/5] doc/developer: Add subsection about patch submission via FFstaging

2025-05-08 Thread Lynne
On 08/05/2025 12:22, ffmpegagent wrote: Signed-off-by: softworkz softwo...@hotmail.com softworkz (5): doc/developer: Move checklist into Submitting Patches chapter doc/developer: Move codecs/formats checklist into Development Policy chapter doc/developer: Reorder Submission procedu

Re: [FFmpeg-devel] [PATCH 01/11] avcodec/vulkan_encode_h264: Fix memleak on error

2025-05-07 Thread Lynne
On 06/05/2025 01:37, Andreas Rheinhardt wrote: Patches attached. - Andreas Vulkan patches LGTM. OpenPGP_0xA2FEA5F03F034464.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature ___ ffmpeg-devel mailing l

  1   2   3   4   5   6   7   8   9   10   >