[FFmpeg-devel] [PATCH v4 09/13] swscale/graph: add new high-level scaler dispatch mechanism

2024-10-25 Thread Niklas Haas
From: Niklas Haas This interface has been designed from the ground up to serve as a new framework for dispatching various scaling operations at a high level. This will eventually replace the old ad-hoc system of using cascaded contexts, as well as allowing us to plug in more dynamic scaling passe

[FFmpeg-devel] [PATCH v4 07/13] swscale: organize and better document flags

2024-10-25 Thread Niklas Haas
From: Niklas Haas Group them into an enum rather than random #defines, and document their behavior a bit more obviously. Of particular note, I discovered that SWS_DIRECT_BGR is not referenced anywhere else in the code base. As such, I have moved it to the deprecated section, alongside SWS_ERROR_

[FFmpeg-devel] [PATCH v4 06/13] swscale: eliminate redundant SwsInternal accesses

2024-10-25 Thread Niklas Haas
From: Niklas Haas This is a purely cosmetic commit aimed at replacing accesses to SwsInternal.opts by direct access to SwsContext wherever convenient. Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas --- libswscale/options.c | 2 +- libswscale/swscale.c

Re: [FFmpeg-devel] [PATCH 4/5] avcodec/h264dec: use the RefStruct API for h264db

2024-10-25 Thread Anton Khirnov
Quoting James Almer (2024-10-25 04:26:12) > And ensure the buffer is synced between threads. > > Signed-off-by: James Almer > --- > libavcodec/h264_picture.c | 2 +- > libavcodec/h264_slice.c | 2 ++ > libavcodec/h264dec.c | 2 +- > 3 files changed, 4 insertions(+), 2 deletions(-) > > di

[FFmpeg-devel] [PATCH v4 02/13] swscale/options: cosmetic changes

2024-10-25 Thread Niklas Haas
From: Niklas Haas Reorganize the list, fix whitespace, make indentation consistent, and rename some descriptions for clarity, consistency or informativeness. Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas --- libswscale/options.c | 86 ++--

Re: [FFmpeg-devel] [PATCH v3 14/18] swscale/graph: add new high-level scaler dispatch mechanism

2024-10-25 Thread Anton Khirnov
Quoting Niklas Haas (2024-10-24 22:33:26) > On Thu, 24 Oct 2024 13:08:36 +0200 Anton Khirnov wrote: > > Quoting Niklas Haas (2024-10-24 12:02:41) > > > On Thu, 24 Oct 2024 11:30:12 +0200 Anton Khirnov > > > wrote: > > > > Does this (or can it) support copy-free passthrough of individual > > > >

Re: [FFmpeg-devel] [PATCH] jpeg200dec: reset in_tile_headers flag between frames

2024-10-25 Thread Pierre-Anthony Lemieux
I plan on applying this over the weekend (modulo the typo in the subject of the patch) unless there are objections -- since JPEG 2000 + MXF decoding is broken right now. On Thu, Oct 24, 2024 at 9:12 PM WATANABE Osamu wrote: > > It looks good to me. Thank you for catching this. > FYI - The patch h

[FFmpeg-devel] [PATCH 5/5] avcodec/hevc/hevcdec: use the RefStruct API for h264db

2024-10-25 Thread James Almer
And ensure the buffer is synced between threads. Signed-off-by: James Almer --- libavcodec/hevc/hevcdec.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hevc/hevcdec.c index f2bdf6134e..357d7d0f1d 100644 --- a/libavcodec/hevc/hevc

Re: [FFmpeg-devel] PATCH] Make H.274 film grain support optional for H.264. Saves ~779kb.

2024-10-25 Thread Dale Curtis
Here's the rebased version. Thanks! - dale On Wed, Oct 23, 2024 at 1:47 PM Niklas Haas wrote: > On Wed, 23 Oct 2024 10:34:31 -0700 Dale Curtis > wrote: > > Yes, please apply the dynamic version. Thanks! > > > > - dale > > > > On Wed, Oct 16, 2024 at 5:09 AM Lynne via ffmpeg-devel < > > ffmpeg-

[FFmpeg-devel] [PATCH v4 0/3] Initial support for fragmented TTML muxing

2024-10-25 Thread Jan Ekström
Changes compared to v3: * General rebase. This enables pushing TTML together with another track (usually video) as part of CMAF Ingest, as defined by the DASH-IF Live Media Ingest Protocol. Currently does not function well with just the subtitle track unless the API user explicitly requests frag

Re: [FFmpeg-devel] [PATCHv2 1/2] avcodec/vp56: decode interlace content

2024-10-25 Thread Peter Ross
On Fri, Oct 18, 2024 at 07:53:55PM +1100, Peter Ross wrote: > Modification of patch submitted by Aurelien Jacobs (November 2007). > > Fixes ticket #5581. > --- > v2: vp56_mc() modified to reproduce behaviour of reference VP6 decoder > > libavcodec/vp5.c | 5 +--- > libavcodec/vp56.c| 54

Re: [FFmpeg-devel] [PATCHv3] avcodec/rv60: RealVideo 6.0 decoder

2024-10-25 Thread Peter Ross
On Tue, Oct 01, 2024 at 12:59:30PM +1000, Peter Ross wrote: > Reviewed-by: Anton Khirnov > Reviewed-by: Andreas Rheinhardt > Signed-off-by: Peter Ross > --- > > Have addressed all comments from earlier post (March 2024) > (https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2024-March/322564.html)

Re: [FFmpeg-devel] [PATCH] avutil/wchar_filename: re-introduce explicit cast of void* to char*

2024-10-25 Thread Marton Balint
On Tue, 22 Oct 2024, Marton Balint wrote: Fixes compile error on windows with decklink: In file included from ./libavformat/os_support.h:175, from ./libavformat/internal.h:30, from libavdevice/decklink_common.cpp:25: ./libavutil/wchar_filename.h: In function '

Re: [FFmpeg-devel] [PATCH] avcodec/vc2enc: Initial vulkan VC2 encoder

2024-10-25 Thread Michael Niedermayer
On Thu, Oct 24, 2024 at 02:03:27AM +0300, IndecisiveTurtle wrote: > Implements a Vulkan based dirac encoder. Supports Haar and Legall wavelets > and should work with all wavelet depths. > > Performance wise, encoding a 1080p 1-minute video is performed in about 2.5 > minutes with the cpu encoder

Re: [FFmpeg-devel] [PATCH 3/7] swscale/output: add XV48 output support

2024-10-25 Thread James Almer
On 10/25/2024 7:18 PM, Michael Niedermayer wrote: On Wed, Oct 23, 2024 at 04:36:44PM -0300, James Almer wrote: Signed-off-by: James Almer --- libswscale/output.c | 37 +++- libswscale/utils.c | 4 +-- tests/ref/fate/filter-pixd

Re: [FFmpeg-devel] RFC: new packed pixel formats (machine vision)

2024-10-25 Thread Diederick C. Niehorster
On Wed, Oct 23, 2024 at 2:04 AM martin schitter wrote: > > > > On 22.10.24 22:33, Diederick C. Niehorster wrote: > > I am writing about machine vision, not machine learning or computer > > vision. So there are no uncommon small bit sizes, we're dealing with > > 8bit, 10bit, 12bit components here.

Re: [FFmpeg-devel] [PATCH 4/5] avcodec/h264dec: use the RefStruct API for h264db

2024-10-25 Thread James Almer
On 10/25/2024 5:17 AM, Anton Khirnov wrote: Quoting James Almer (2024-10-25 04:26:12) And ensure the buffer is synced between threads. Signed-off-by: James Almer --- libavcodec/h264_picture.c | 2 +- libavcodec/h264_slice.c | 2 ++ libavcodec/h264dec.c | 2 +- 3 files changed, 4 in

Re: [FFmpeg-devel] [RFC] AVFilter

2024-10-25 Thread Carlos Ruiz
I'd like to second Nicolas' points. Building and distributing FFmpeg is not an easy endeavor, regardless of hobby or commercial projects. Staying up to date with master and keep rebasing your local filter changes, updating documentation so your clients or other hobbyists can build on their machines

Re: [FFmpeg-devel] [PATCH 1/5] swscale/rgb2rgb_template: Fix ff_rgb24toyv12_c() with odd height

2024-10-25 Thread Michael Niedermayer
On Thu, Oct 10, 2024 at 02:18:28AM +0200, Michael Niedermayer wrote: > Fixes: out of array access > Fixes: > 368143798/clusterfuzz-testcase-minimized-ffmpeg_SWS_fuzzer-6475823425585152 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Sig

Re: [FFmpeg-devel] [PATCH] avcodec/vc2enc: Initial vulkan VC2 encoder

2024-10-25 Thread emufan 4568
Hm this looks like outdated vulkan headers are being used? Will take a look Στις Σάβ 26 Οκτ 2024 στις 12:44 π.μ., ο/η Michael Niedermayer < mich...@niedermayer.cc> έγραψε: > On Thu, Oct 24, 2024 at 02:03:27AM +0300, IndecisiveTurtle wrote: > > Implements a Vulkan based dirac encoder. Supports Haa

Re: [FFmpeg-devel] [PATCH 2/7] swscale/input: add XV48 input support

2024-10-25 Thread Michael Niedermayer
On Wed, Oct 23, 2024 at 04:36:43PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libswscale/input.c | 40 > libswscale/utils.c | 2 ++ > 2 files changed, 34 insertions(+), 8 deletions(-) LGTM thx [...] -- Michael GnuPG fingerprint

Re: [FFmpeg-devel] [PATCH 3/7] swscale/output: add XV48 output support

2024-10-25 Thread Michael Niedermayer
On Wed, Oct 23, 2024 at 04:36:44PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libswscale/output.c | 37 +++- > libswscale/utils.c | 4 +-- > tests/ref/fate/filter-pixdesc-xv48be | 1 + > tests/ref/fate/filter

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1: Support slice coding mode 1 with golomb rice

2024-10-25 Thread Michael Niedermayer
On Fri, Oct 25, 2024 at 04:24:04AM +0200, Lynne via ffmpeg-devel wrote: > On 25/10/2024 03:57, Michael Niedermayer wrote: > > Sponsored-by: Sovereign Tech Fund > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/ffv1dec.c | 20 ++-- > > libavcodec/ffv1dec_temp

[FFmpeg-devel] [PATCH 2/2] lavfi: Add libspatialaudio filter

2024-10-25 Thread Marvin Scholz
--- configure | 5 + libavfilter/Makefile| 1 + libavfilter/af_libspatialaudio.cpp | 255 libavfilter/af_libspatialaudio_c.c | 192 ++ libavfilter/af_libspatialaudio_common.h | 46 + libav

[FFmpeg-devel] [PATCH 1/2] configure: add {test, check, require}_pkg_config_cxx

2024-10-25 Thread Marvin Scholz
This is necessary to check for C++ only pkg-config dependencies --- configure | 33 + 1 file changed, 33 insertions(+) diff --git a/configure b/configure index 9f508a2527..6fb163aa84 100755 --- a/configure +++ b/configure @@ -1551,6 +1551,26 @@ test_pkg_config_cpp(