[FFmpeg-devel] [PATCH 02/13] vulkan: add ff_vk_create_imageview

2025-03-09 Thread Lynne
--- libavutil/vulkan.c | 51 ++ libavutil/vulkan.h | 7 +++ 2 files changed, 58 insertions(+) diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index 51372965e0..4bfa877278 100644 --- a/libavutil/vulkan.c +++ b/libavutil/vulkan.c @@ -1595,6 +159

[FFmpeg-devel] [PATCH] avutil/refstruct: Fix documentation

2025-03-09 Thread Andreas Rheinhardt
Patch attached. - Andreas From 0601964cbc4a9b1e5d78b8a8da76f1259cc56b52 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 10 Mar 2025 05:38:18 +0100 Subject: [PATCH] avutil/refstruct: Fix documentation Signed-off-by: Andreas Rheinhardt --- libavutil/refstruct.h | 10 +- 1 fi

[FFmpeg-devel] [PATCH 04/13] vulkan: workaround BGR storage image undefined behaviour

2025-03-09 Thread Lynne
--- libavutil/vulkan.c | 25 + 1 file changed, 25 insertions(+) diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index 7f6c9cc039..7b0f77b076 100644 --- a/libavutil/vulkan.c +++ b/libavutil/vulkan.c @@ -1746,6 +1746,29 @@ static VkFormat map_fmt_to_rep(VkFormat fmt, en

[FFmpeg-devel] [PATCH 09/13] vulkan: unify handling of BGR and simplify ffv1_rct

2025-03-09 Thread Lynne
--- libavcodec/ffv1_vulkan.h| 1 + libavcodec/ffv1enc_vulkan.c | 2 ++ libavcodec/vulkan/ffv1_enc_rct.comp | 17 ++--- libavutil/vulkan.c | 38 + libavutil/vulkan.h | 6 + 5 files changed, 54 insertion

[FFmpeg-devel] [PATCH 1/3] avcodec/tests/avcodec: Silence deprecation warnings

2025-03-09 Thread Andreas Rheinhardt
Patches attached. - Andreas From 32b1b86c68262a474493de2e109bdd4985b267dc Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 10 Mar 2025 03:45:28 +0100 Subject: [PATCH 1/3] avcodec/tests/avcodec: Silence deprecation warnings Signed-off-by: Andreas Rheinhardt --- libavcodec/tests/avco

[FFmpeg-devel] [PATCH 01/13] vulkan: rename ff_vk_set_descriptor_image to ff_vk_shader_update_img

2025-03-09 Thread Lynne
--- libavutil/vulkan.c | 34 +- libavutil/vulkan.h | 8 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index 2ae619967a..51372965e0 100644 --- a/libavutil/vulkan.c +++ b/libavutil/vulkan.c @@ -2390,

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

2025-03-09 Thread Lynne
This commit adds a Vulkan AV1 encoder, using the native acceleration API. This commit and patchset needs more testing, hence WIP for now. --- configure |1 + libavcodec/Makefile|2 + libavcodec/allcodecs.c |1 + libavcodec/vulkan_encode_av1.c |

[FFmpeg-devel] [PATCH 12/13] vulkan: add ff_vk_exec_add_dep_wait_sem()

2025-03-09 Thread Lynne
This adds a function which adds a regular timeline semaphore as a wait-only dependency. --- libavutil/vulkan.c | 28 libavutil/vulkan.h | 3 +++ 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index 24af8d5753..0

[FFmpeg-devel] [PATCH 11/13] ffv1dec: reference the current packet into the main context

2025-03-09 Thread Lynne
--- libavcodec/ffv1.h| 3 +++ libavcodec/ffv1dec.c | 19 +-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/libavcodec/ffv1.h b/libavcodec/ffv1.h index 8c0e71284d..860a5c14b1 100644 --- a/libavcodec/ffv1.h +++ b/libavcodec/ffv1.h @@ -174,6 +174,9 @@ typedef st

[FFmpeg-devel] [PATCH 10/13] ffv1dec: add support for hwaccels

2025-03-09 Thread Lynne
This commit adds support for hardware accelerated decoding to the decoder. The previous commits already refactored the decoder, this commit simply adds calls to hooks to decode. --- libavcodec/ffv1.h| 2 ++ libavcodec/ffv1dec.c | 81 +++- 2 files change

[FFmpeg-devel] [PATCH 08/13] ffv1enc_vulkan: refactor shaders slightly to support sharing

2025-03-09 Thread Lynne
The shaders were written to support sharing, but needed slight tweaking. --- libavcodec/Makefile | 2 +- libavcodec/ffv1_vulkan.c | 123 ++ libavcodec/ffv1_vulkan.h | 60 +++ libavcodec/ffv1enc_vulkan.c | 234 +---

[FFmpeg-devel] [PATCH 06/13] vulkan_decode: support multiple image views

2025-03-09 Thread Lynne
Enables non-monochrome video decoding using all our existing functions in the context of an SDR decoder. --- libavcodec/vulkan_av1.c| 4 +- libavcodec/vulkan_decode.c | 90 -- libavcodec/vulkan_decode.h | 12 ++--- libavcodec/vulkan_h264.c | 4 +- libavc

[FFmpeg-devel] [PATCH 05/13] vulkan_decode: support software-defined decoders

2025-03-09 Thread Lynne
--- libavcodec/vulkan_decode.c | 194 +++-- libavcodec/vulkan_decode.h | 11 +++ 2 files changed, 154 insertions(+), 51 deletions(-) diff --git a/libavcodec/vulkan_decode.c b/libavcodec/vulkan_decode.c index c57998108c..594764a904 100644 --- a/libavcodec/vulkan_de

[FFmpeg-devel] [PATCH 03/13] vulkan: copy host-mapping buffer code from hwcontext

2025-03-09 Thread Lynne
This is useful elsewhere. --- libavutil/vulkan.c | 155 - libavutil/vulkan.h | 18 +- 2 files changed, 170 insertions(+), 3 deletions(-) diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index 4bfa877278..7f6c9cc039 100644 --- a/libavutil/vulkan

Re: [FFmpeg-devel] [PATCH] avcodec/vc2enc: Simplify writing dirac golomb codes

2025-03-09 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patch attached. > > - Andreas > Will apply this patchset tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visi

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/libx264: Set FFCodec.pix_fmts field and fix deprecation warning

2025-03-09 Thread Andreas Rheinhardt
Zhao Zhili: > > >> On Feb 6, 2025, at 01:42, Andreas Rheinhardt >> wrote: >> >> Zhao Zhili: >>> From: Zhao Zhili >>> >>> We can fix deprecation warning by not set p.pix_fmts, and copy >>> FFCodec.pix_fmts to FFCodec.p.pix_fmts in av_codec_init_static(). >>> However, that method requires non-co

Re: [FFmpeg-devel] [RFC] New swscale internal design prototype

2025-03-09 Thread Rémi Denis-Courmont
Le 9 mars 2025 12:57:47 GMT-07:00, Niklas Haas a écrit : >On Sun, 09 Mar 2025 11:18:04 -0700 Rémi Denis-Courmont wrote: >> Hi, >> >> Le 8 mars 2025 14:53:42 GMT-08:00, Niklas Haas a écrit : >> >https://github.com/haasn/FFmpeg/blob/swscale3/doc/swscale-v2.txt >> >> >I have spent the past week

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

2025-03-09 Thread Michael Niedermayer
Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/ffv1dec.c | 20 - libavcodec/ffv1enc.c | 67 ++-- 2 files changed, 71 insertions(+), 16 deletions(-) diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c in

[FFmpeg-devel] [PATCH 1/4] avcodec/ffv1enc: add space for the remap table to max_size

2025-03-09 Thread Michael Niedermayer
Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index b4080f29002..7c73ff12c2f 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc

Re: [FFmpeg-devel] [PATCH FFmpeg 11/15] doc: avgclass Filter Documentation

2025-03-09 Thread Michael Niedermayer
Hi Maximilian On Sat, Mar 08, 2025 at 04:01:40PM +0100, m.kaindl0...@gmail.com wrote: > Try the new filters using my Github Repo > https://github.com/MaximilianKaindl/DeepFFMPEGVideoClassification. > > Any Feedback is appreciated! > > Signed-off-by: MaximilianKaindl > --- > doc/filters.texi

Re: [FFmpeg-devel] [PATCH FFmpeg 11/15] doc: avgclass Filter Documentation

2025-03-09 Thread m.kaindl0208
Hi Michael, You are right. The workflow is that any classification above the confidence value parameter (default 0.5) gets written to the Side data of the Frame, then read by the avgclass filter and averaged. Given the parameter was set to 0.01 or lower, if one frame detects a cat with 0.99 con

Re: [FFmpeg-devel] [PATCH] avcodec/dvdsubenc: Remove pointless wrapper

2025-03-09 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patch attached > > - Andreas > Will apply this patch tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit li

[FFmpeg-devel] [PATCH 3/4] avcodec/ffv1: Fix remap and float with golomb rice

2025-03-09 Thread Michael Niedermayer
Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/ffv1dec.c | 37 + libavcodec/ffv1dec_template.c | 27 -- libavcodec/ffv1enc.c | 42 libavcodec/ffv1enc_template.c | 52 ---

[FFmpeg-devel] [PATCH 2/4] avcodec/ffv1enc: Fix slice coding mode 1 with rgb frames

2025-03-09 Thread Michael Niedermayer
Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 4 ++-- libavcodec/ffv1enc_template.c | 37 +-- 2 files changed, 37 insertions(+), 4 deletions(-) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c ind

[FFmpeg-devel] [PATCH] all: Fix doxy comments wrongly designated as trailing ///

2025-03-09 Thread Andreas Rheinhardt
Patch attached. - Andreas From 012c851e18bbf91e6b28d855785ebbc67f24ad76 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 9 Mar 2025 16:03:20 +0100 Subject: [PATCH] all: Fix doxy comments wrongly designated as trailing ///< The ///< or /**< form of doxygen comments are only to be used

Re: [FFmpeg-devel] [RFC] New swscale internal design prototype

2025-03-09 Thread Niklas Haas
On Sun, 09 Mar 2025 11:18:04 -0700 Rémi Denis-Courmont wrote: > Hi, > > Le 8 mars 2025 14:53:42 GMT-08:00, Niklas Haas a écrit : > >https://github.com/haasn/FFmpeg/blob/swscale3/doc/swscale-v2.txt > > >I have spent the past week or so ironing > >I wanted to post it here to gather some feedback

Re: [FFmpeg-devel] [RFC] New swscale internal design prototype

2025-03-09 Thread Niklas Haas
On Sun, 09 Mar 2025 18:11:54 +0200 Martin Storsjö wrote: > On Sat, 8 Mar 2025, Niklas Haas wrote: > > > What are the thoughts on the float-first approach? > > In general, for modern architectures, relying on floats probably is > reasonable. (On architectures that aren't of quite as widespread i

Re: [FFmpeg-devel] [PATCH 14/16] avcodec/wma: Mark ff_wma_end() as av_cold

2025-03-09 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/wma.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/wma.c b/libavcodec/wma.c > index da9c914b57..257184c0d8 100644 > --- a/libavcodec/wma.c > +++ b/libavcodec/wma.c > @@ -364,7 +364,7

Re: [FFmpeg-devel] [PATCH v5 1/5] avutil/log: Add AV_LOG_PRINT_MEMADDRESSES logging flag

2025-03-09 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Nicolas George > Sent: Sonntag, 9. März 2025 20:06 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v5 1/5] avutil/log: Add > AV_LOG_PRINT_MEMADDRESSES logging flag > > softworkz (HE12025-03-

Re: [FFmpeg-devel] [RFC] New swscale internal design prototype

2025-03-09 Thread Niklas Haas
On Sun, 09 Mar 2025 22:13:49 +0100 Niklas Haas wrote: > The worst slowdowns are currently those involving any sort of packed swizzle > for which there exist dedicated MMX functions currently: > > Conversion pass for bgr24 -> abgr: > [ u8 -> +++X] SWS_OP_READ : 3 elem(s) packed

Re: [FFmpeg-devel] [RFC] New swscale internal design prototype

2025-03-09 Thread Niklas Haas
On Sat, 08 Mar 2025 23:53:42 +0100 Niklas Haas wrote: > Hi all, > > for the past two months, I have been working on a prototype for a radical > redesign of the swscale internals, specifically the format handling layer. > This includes, or will eventually expand to include, all format input/output

Re: [FFmpeg-devel] Misc mpegvideo patches

2025-03-09 Thread Kacper Michajlow
On Sun, 9 Mar 2025 at 14:55, Andreas Rheinhardt wrote: > > 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: > >> > >>

Re: [FFmpeg-devel] [PATCH] Include field_mode information in NUT stream info

2025-03-09 Thread Michael Niedermayer
Hi Anders On Sat, Mar 08, 2025 at 10:00:34PM +0100, Anders Rein wrote: > This will make it possible to transmit raw video over NUT without losing > the field order information. > --- > libavformat/nutdec.c | 4 > libavformat/nutenc.c | 3 +++ > 2 files changed, 7 insertions(+) > > diff --gi

[FFmpeg-devel] [PATCH] avcodec/sbcdec_data: Merge data into header

2025-03-09 Thread Andreas Rheinhardt
Patch attached - Andreas From 7b80c10c542a7c789cf3d08b016f36821037c578 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 9 Mar 2025 17:22:18 +0100 Subject: [PATCH] avcodec/sbcdec_data: Merge data into header sbcdec_data.h is only included by sbcdec.c, so this won't cause the data to b

Re: [FFmpeg-devel] [RFC] New swscale internal design prototype

2025-03-09 Thread Michael Niedermayer
Hi Niklas On Sat, Mar 08, 2025 at 11:53:42PM +0100, Niklas Haas wrote: > Hi all, > > for the past two months, I have been working on a prototype for a radical > redesign of the swscale internals, specifically the format handling layer. > This includes, or will eventually expand to include, all fo

[FFmpeg-devel] [PATCH] avcodec/pthread*: Mark init, free, flush functions as av_cold

2025-03-09 Thread Andreas Rheinhardt
Patch attached. - Andreas From a191274eb48dd03752ba637e7e50efaa53992c36 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 9 Mar 2025 20:39:25 +0100 Subject: [PATCH] avcodec/pthread*: Mark init, free, flush functions as av_cold Signed-off-by: Andreas Rheinhardt --- libavcodec/pthread

[FFmpeg-devel] [PATCH v5 5/5] Remove commented lines

2025-03-09 Thread softworkz
From: softworkz --- fftools/fftools_log.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fftools/fftools_log.c b/fftools/fftools_log.c index c44541f9fb..87930a3121 100644 --- a/fftools/fftools_log.c +++ b/fftools/fftools_log.c @@ -36,11 +36,9 @@ #include "libavutil/bprint.h" #include "

Re: [FFmpeg-devel] [PATCH v3 1/7] fftools/textformat: Extract and generalize textformat api from ffprobe.c

2025-03-09 Thread Soft Works
> -Original Message- > From: Stefano Sabatini > Sent: Samstag, 8. März 2025 15:37 > To: FFmpeg development discussions and patches > Cc: Soft Works ; softworkz > ; Andreas Rheinhardt > > Subject: Re: [FFmpeg-devel] [PATCH v3 1/7] fftools/textformat: Extract > and generalize textformat

Re: [FFmpeg-devel] [PATCH v5 1/5] avutil/log: Add AV_LOG_PRINT_MEMADDRESSES logging flag

2025-03-09 Thread Nicolas George
softworkz (HE12025-03-09): > From: softworkz > > which is meant to control prefix formatting. The actual formatting > has to be performed by the consuming application which needs to provide > a custom logging callback via av_log_set_callback(). > > Signed-off-by: softworkz > --- > doc/APIchang

[FFmpeg-devel] [PATCH v5 3/5] fftools: Provide a an fftools-specific logging callback function

2025-03-09 Thread softworkz
From: softworkz This goes together with a change to logging of context prefixes, which is printing logical ids instead of memory addresses. The benefits are: - Smaller log file sizes - The disambiguation is much easier to recognize and to follow - It eventually allows comparing and viewing log f

[FFmpeg-devel] [PATCH v5 2/5] fftools/opt_common: add memaddresses log flag

2025-03-09 Thread softworkz
From: softworkz This commit adds the memaddresses log flag. When specifying this flag at the command line, context prefixes will be printed with memory addresses like in earlier ffmpeg versions. Example with memaddresses flag: [hevc @ 018e72a89cc0] . without (new behavior): [hevc #0]

[FFmpeg-devel] [PATCH v5 4/5] doc/fftools-common-opts: document memaddresses log flag

2025-03-09 Thread softworkz
From: softworkz --- doc/fftools-common-opts.texi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/fftools-common-opts.texi b/doc/fftools-common-opts.texi index f6d452c40e..756c843c02 100644 --- a/doc/fftools-common-opts.texi +++ b/doc/fftools-common-opts.texi @@ -230,6 +230,8 @@ log to

[FFmpeg-devel] [PATCH v5 0/5] avutil/log: Replace addresses in log output with simple ids

2025-03-09 Thread ffmpegagent
..and individual numbering. The benefits are: * Smaller log file sizes * The disambiguation is much easier to recognize and to follow * It eventually allows comparing and viewing log file diffs without almost every line being different due to those addresses Before == [hevc @ 018e

Re: [FFmpeg-devel] [PATCH v4 3/4] fftools: Provide a an fftools-specific logging callback function

2025-03-09 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Sonntag, 9. März 2025 18:52 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v4 3/4] fftools: Provide a an > fftools-specific logging callback function > > On Sat,

Re: [FFmpeg-devel] [PATCH 04/12] all: Use put_bytes_output() instead of put_bits_ptr - pb->buf

2025-03-09 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Avoids accessing internals of PutBitContext. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/ljpegenc.c | 2 +- > libavcodec/proresenc_anatoliy.c | 2 +- > libavcodec/wmaenc.c | 2 +- > libavformat/mpegenc.c | 4 ++-- > libavformat/s

Re: [FFmpeg-devel] [PATCH FFmpeg 1/15] libavutil: add detectionbbox util functions

2025-03-09 Thread Maximilian Kaindl
Hi, thank you all for the fast feedback. Regarding the GitHub references in the footer, I apologize for the overly promotional nature - that was not my intention. I was rushing to post and immediately realized it was excessive. Regarding Lynne's suggestion about relocating functions from the d

Re: [FFmpeg-devel] [PATCH 16/16] avcodec/wmaenc: Don't unnecessarily reset AVPacket.size

2025-03-09 Thread Andreas Rheinhardt
Andreas Rheinhardt: > The packet is unreferenced generically lateron anyway. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/wmaenc.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/libavcodec/wmaenc.c b/libavcodec/wmaenc.c > index b4650d42b3..73ce0876c9 100644 > --- a/libavcod

Re: [FFmpeg-devel] [PATCH v7 1/8] Add generic metadata injection using AV_PKT_DATA_METADATA_UPDATE

2025-03-09 Thread Michael Niedermayer
On Tue, Feb 25, 2025 at 04:01:14PM -0600, Romain Beauxis wrote: > libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet > extra data, attach them to the next decoded frame. > > --- > libavcodec/decode.c | 20 > 1 file changed, 20 insertions(+) > > diff --git a/

Re: [FFmpeg-devel] [RFC] New swscale internal design prototype

2025-03-09 Thread Rémi Denis-Courmont
Hi, Le 8 mars 2025 14:53:42 GMT-08:00, Niklas Haas a écrit : >https://github.com/haasn/FFmpeg/blob/swscale3/doc/swscale-v2.txt >I have spent the past week or so ironing >I wanted to post it here to gather some feedback on the approach. Where does >it fall on the "madness" scale? Is the new oper

Re: [FFmpeg-devel] [PATCH v4 3/4] fftools: Provide a an fftools-specific logging callback function

2025-03-09 Thread Michael Niedermayer
On Sat, Mar 08, 2025 at 11:02:43PM +, softworkz wrote: > From: softworkz > > This goes together with a change to logging of context prefixes, which > is printing logical ids instead of memory addresses. > The benefits are: > > - Smaller log file sizes > - The disambiguation is much easier to

Re: [FFmpeg-devel] [PATCH] avcodec/d3d12va_decode: enable reference-only decoder mode

2025-03-09 Thread Tong Wu
Araz Iusubov: Hi there. Thanks for the patch. >Subject: [FFmpeg-devel] [PATCH] avcodec/d3d12va_decode: enable reference- >only decoder mode You should add this as PATCH v2 to better track it. > >The Reference-Only feature in DirectX 12 is a memory optimization technique >designed for video deco

[FFmpeg-devel] [PATCH] avutil/vulkan: Remove unused ff_vk_create_avbuf()

2025-03-09 Thread Andreas Rheinhardt
Patch attached. - Andreas From cdeabdbc844e5283e0ff49fdd2dbdb2dfda6b05b Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 9 Mar 2025 05:30:40 +0100 Subject: [PATCH] avutil/vulkan: Remove unused ff_vk_create_avbuf() Unused since aea4d4b423c62aecf326ef3ae1578710faa3eca6. Signed-off-by:

Re: [FFmpeg-devel] [RFC] New swscale internal design prototype

2025-03-09 Thread Martin Storsjö
On Sat, 8 Mar 2025, Niklas Haas wrote: What are the thoughts on the float-first approach? In general, for modern architectures, relying on floats probably is reasonable. (On architectures that aren't of quite as widespread interest, it might not be so clear cut though.) However with the be

Re: [FFmpeg-devel] [PATCH v4 2/3] avcodec/sanm: fobj left/top are signed

2025-03-09 Thread Manuel Lauss
Hi Michael, On Sat, Mar 8, 2025 at 8:11 PM Michael Niedermayer wrote: > > Hi Manuel > > On Tue, Mar 04, 2025 at 06:07:18PM +0100, Manuel Lauss wrote: > > The left and top parameters of an FOBJ are signed values. > > > > Signed-off-by: Manuel Lauss > > --- > > v4: revert v3, it arose due to a mis

Re: [FFmpeg-devel] Misc mpegvideo patches

2025-03-09 Thread 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: >>> (Mostly trivial) patches

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

2025-03-09 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

Re: [FFmpeg-devel] [PATCH FFmpeg 1/15] libavutil: add detectionbbox util functions

2025-03-09 Thread Michael Niedermayer
Hi On Sat, Mar 08, 2025 at 03:58:04PM +0100, m.kaindl0...@gmail.com wrote: > Those functions will be used by classify in the upcoming patches. > > Try the new filters using my Github Repo > https://github.com/MaximilianKaindl/DeepFFMPEGVideoClassification. > > Any Feedback is appreciated! > >

Re: [FFmpeg-devel] [PATCH] lavc/vvc: Stricter bound on pps_exp_slice_height_in_ctus_minus1

2025-03-09 Thread Nuo Mi
On Sun, Mar 2, 2025 at 8:13 PM Frank Plowman wrote: > When pps_num_exp_slices_in_tile[i] is nonzero, the ith tile is made up > of pps_num_exp_slices_in_tile[i] slices stacked atop one another, where > the height of the jth slice in the ith tile is given by > pps_exp_slice_height_in_ctus_minus1[i]

Re: [FFmpeg-devel] [PATCH v2] avcodec/aarch64/vvc: Optimize vvc_avg{8, 10, 12}

2025-03-09 Thread Nuo Mi
On Fri, Mar 7, 2025 at 9:56 PM Martin Storsjö wrote: > On Mon, 3 Mar 2025, Krzysztof Pyrkosz via ffmpeg-devel wrote: > > > This patch replaces integer widening with halving addition, and > > multi-step "emulated" rounding shift with a single asm instruction doing > > exactly that. > > > > Benchma

Re: [FFmpeg-devel] Misc mpegvideo patches

2025-03-09 Thread 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: > > (Mostly trivial) patches attached. A branch is a

Re: [FFmpeg-devel] [PATCH 17/20] avcodec/snow: Remove outdated assert

2025-03-09 Thread Andreas Rheinhardt
Andreas Rheinhardt: > It comes from a time before frames were refcounted; it has indeed been > added in a follow-up commit to c13e490dce1a66d79e1f053d8a38fb9b2eb53267: > "codec_release_buffer: fix handling of non user buffers". This type > of check is obsolete now. > > Signed-off-by: Andreas Rhein