[FFmpeg-devel] [PATCH 1/7] avcodec/svq3: Factor out decoding extradata

2025-05-14 Thread Andreas Rheinhardt
Patches attached. - Andreas From 19d9f3cfc278a2b442923f1bea505ffb079fe3c1 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 15 May 2025 03:09:45 +0200 Subject: [PATCH 1/7] avcodec/svq3: Factor out decoding extradata Reduces indentation and avoids an extra variable for whether a sequen

Re: [FFmpeg-devel] Vittorio's mailinglist ban, git access removal and message deletion (was: Worsening messages)

2025-05-14 Thread Kieran Kunhya via ffmpeg-devel
On Tue, 31 Dec 2024, 06:44 Michael Niedermayer, wrote: > Hi Ronald, Vittorio > > On Mon, Dec 30, 2024 at 11:05:59PM -0500, Ronald S. Bultje wrote: > > Hi Michael, > > > > On Mon, Dec 30, 2024 at 2:13 PM Michael Niedermayer < > mich...@niedermayer.cc> > > wrote: > > > > > Hi CC-2024 > > > > > > On

Re: [FFmpeg-devel] [PATCH v2 6/7] checkasm: hevc sao_edge, benchmarking inside the width loop is meaningless

2025-05-14 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Nuo Mi > Sent: Samstag, 3. Mai 2025 11:13 > To: ffmpeg-devel@ffmpeg.org > Cc: Nuo Mi > Subject: [FFmpeg-devel] [PATCH v2 6/7] checkasm: hevc sao_edge, benchmarking > inside the width loop is meaningless > > --- > tests/checkasm/h

Re: [FFmpeg-devel] [PATCH 7/8] avcodec/svq3: Check that for 8 byte space before subtracting

2025-05-14 Thread Andreas Rheinhardt
Michael Niedermayer: > On Wed, May 14, 2025 at 06:34:25PM +0200, Andreas Rheinhardt wrote: >> Michael Niedermayer: >>> No testcase >>> >>> Signed-off-by: Michael Niedermayer >>> --- >>> libavcodec/svq3.c | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/libavcodec/svq

Re: [FFmpeg-devel] [PATCH 1/5] tools/target_dec_fuzzer: Adjust threshold for WEBP

2025-05-14 Thread Michael Niedermayer
On Tue, May 13, 2025 at 01:58:28AM +0200, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 403345121/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WEBP_fuzzer-6408323910139904 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Si

Re: [FFmpeg-devel] [PATCH 1/8] avcodec/dnxuc_parser: Use ff_parse_close()

2025-05-14 Thread Michael Niedermayer
On Sun, May 11, 2025 at 02:32:38AM +0200, Michael Niedermayer wrote: > Fixes: buffer leak > Fixes: > 398894512/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-6716597473705984 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-

Re: [FFmpeg-devel] [PATCH 7/8] avcodec/svq3: Check that for 8 byte space before subtracting

2025-05-14 Thread Michael Niedermayer
On Wed, May 14, 2025 at 06:34:25PM +0200, Andreas Rheinhardt wrote: > Michael Niedermayer: > > No testcase > > > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/svq3.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/libavcodec/svq3.c b/libavcodec/svq3.

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: update stream info when PMT ES stream_type changes

2025-05-14 Thread Pavel Koshevoy
If there are no further comments I'll commit and push this some time during the weekend. Pavel. On Fri, May 9, 2025, 6:01 PM Pavel Koshevoy wrote: > I have a several .ts captures where video and audio codec changes > even though the PMT version does not change and the PIDs stay the same. > Thi

Re: [FFmpeg-devel] [PATCH 2/3] avformat/avidec: Ignore duplicate GAB2

2025-05-14 Thread Michael Niedermayer
On Sat, May 10, 2025 at 04:36:07PM +0200, Michael Niedermayer wrote: > Fixes: memleak > Fixes: > 398401912/clusterfuzz-testcase-minimized-ffmpeg_dem_AVI_fuzzer-4669849976766464 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: Add entry for samples-request

2025-05-14 Thread Michael Niedermayer
On Sun, May 11, 2025 at 10:13:36PM +0200, Michael Niedermayer wrote: > This is based on discussion with the GA and its simply the people > who have done or tried to do some uploads recently. > > Everyone who has a shell account on ffmpeg.org should have powers to > upload samples. > > CC: compn

Re: [FFmpeg-devel] [PATCH v5 2/7] libavformat/oggdec.{c, h}: Implement packet skip on packet return value of 1

2025-05-14 Thread Michael Niedermayer
On Fri, May 09, 2025 at 06:43:22PM -0500, Romain Beauxis wrote: > --- > libavformat/oggdec.c | 22 ++ > libavformat/oggdec.h | 1 + > 2 files changed, 15 insertions(+), 8 deletions(-) will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC78704

Re: [FFmpeg-devel] [PATCH v5 1/7] libavformat/oggdec.h: Document packet function return value.

2025-05-14 Thread Michael Niedermayer
On Fri, May 09, 2025 at 06:43:21PM -0500, Romain Beauxis wrote: > --- > libavformat/oggdec.h | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/libavformat/oggdec.h b/libavformat/oggdec.h > index 43df23f4cb..5225b77a07 100644 > --- a/libavformat/oggdec.h > +++ b/libavformat/oggdec.h >

[FFmpeg-devel] [PATCH] doc: add htmlxref.cnf

2025-05-14 Thread James Almer
Silences warnings like filters.texi:256: warning: no htmlxref.cnf entry found for `ffmpeg-utils' Signed-off-by: James Almer --- Seen with current Gentoo and MSYS2 environments. May be something that started\ with texi2info 7.2 doc/htmlxref.cnf | 6 ++ 1 file changed, 6 insertions(+) creat

[FFmpeg-devel] [PATCH] cbs_apv: Fix memory leak on metadata parse failure

2025-05-14 Thread Mark Thompson
Buffers are allocated inside some metadata types, so we must ensure that the object is visible to the free function before a parse failure. Found by libFuzzer. --- libavcodec/cbs_apv_syntax_template.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/cbs_apv_synta

[FFmpeg-devel] [PATCH] Boost FPS and performance: Optimize vertical loop for cache-friendly access [libavcodec/jpeg2000dwt.c:dwt_decode97_float]

2025-05-14 Thread Chitra Dey Sarkar via ffmpeg-devel
From d074ea81c12132e3a92211679adbe2d2cb4d5a69 Mon Sep 17 00:00:00 2001 From: ChitraDeySarkar Date: Wed, 14 May 2025 11:51:35 -0700 Subject: [PATCH] Boost FPS and performance: Optimize vertical loop for cache-friendly access [libavcodec/jpeg2000dwt.c:dwt_decode97_float] From: chdey...@microsoft.co

[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
--- libavcodec/ffv1enc_vulkan.c| 204 - libavcodec/vulkan/Makefile | 2 +- libavcodec/vulkan/ffv1_enc_setup.comp | 6 +- libavcodec/vulkan/ffv1_rct_search.comp | 139 + 4 files changed, 346 insertions(+), 5 deletions(-) create m

[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
Makes it easier to work with, despite the heavy ifdeffery. --- libavcodec/ffv1enc_vulkan.c| 21 +-- libavcodec/vulkan/Makefile | 4 +- libavcodec/vulkan/ffv1_enc.comp| 240 - libavcodec/vulkan/ffv1_enc_ac.comp | 83 - libavcod

[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 v1] fftools/ffplay: Resolve input file path before processing

2025-05-14 Thread Marton Balint
On Wed, 14 May 2025, Nicolas George wrote: Appaji (HE12025-05-14): Fixes ticket: https://trac.ffmpeg.org/ticket/11574 Signed-off-by: Appaji --- fftools/ffplay.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/fftools/ffplay.c b/fftools/ffplay.c index 2a57

Re: [FFmpeg-devel] [EXTERNAL] Re: [PATCH] Boost FPS and performance: Optimize vertical loop for cache-friendly access [libavcodec/jpeg2000dwt.c:dwt_decode97_float]

2025-05-14 Thread Chitra Dey Sarkar via ffmpeg-devel
-Original Message- From: Michael Niedermayer Sent: Wednesday, May 14, 2025 9:40 AM To: FFmpeg development discussions and patches Cc: Chitra Dey Sarkar Subject: [EXTERNAL] Re: [FFmpeg-devel] [PATCH] Boost FPS and performance: Optimize vertical loop for cache-friendly access [libavco

[FFmpeg-devel] [PATCH] avfilter/vf_libplacebo: add shader_cache_dir option

2025-05-14 Thread Niklas Haas
From: Niklas Haas Useful to speed up shader compilation. May significantly lower startup times, in particular with large or complex shaders. Sponsored-by: nxtedition --- doc/filters.texi| 5 + libavfilter/vf_libplacebo.c | 29 + 2 files changed, 34 i

Re: [FFmpeg-devel] [PATCH] Boost FPS and performance: Optimize vertical loop for cache-friendly access [libavcodec/jpeg2000dwt.c:dwt_decode97_float]

2025-05-14 Thread Michael Niedermayer
Hi Chitra On Wed, May 14, 2025 at 03:55:59AM +, Chitra Dey Sarkar via ffmpeg-devel wrote: > Original Implementation: > - > In the original implementation, the "VER_SD" section processes image data > stored in *data using strided memory access in a vertical fas

Re: [FFmpeg-devel] [PATCH 7/8] avcodec/svq3: Check that for 8 byte space before subtracting

2025-05-14 Thread Andreas Rheinhardt
Michael Niedermayer: > No testcase > > Signed-off-by: Michael Niedermayer > --- > libavcodec/svq3.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c > index f730358e2f9..30bc9334af7 100644 > --- a/libavcodec/svq3.c > +++ b/libavcodec

[FFmpeg-devel] [PATCH v1 08/23] avcodec/vvc/ctu: refact out intra_data

2025-05-14 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/ctu.c | 64 +++- 1 file changed, 40 insertions(+), 24 deletions(-) diff --git a/libavcodec/vvc/ctu.c b/libavcodec/vvc/ctu.c index f77697af08..c5df898f7b 100644 --- a/libavcodec/vvc/ctu.c +++ b

[FFmpeg-devel] [PATCH v1 22/23] avcodec/vvc: add adaptive color transform support

2025-05-14 Thread toqsxw
From: Wu Jianhua passed files: ACT_A_Kwai_3.bit ACT_B_Kwai_3.bit Signed-off-by: Wu Jianhua --- libavcodec/vvc/ctu.c | 2 ++ libavcodec/vvc/intra.c | 13 +++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/libavcodec/vvc/ctu.c b/libavcodec/vvc/ctu.c index e1

Re: [FFmpeg-devel] Vulkan hevc hdr decode regression on ffmpeg master?

2025-05-14 Thread Andrew Randrianasulu
On Wed, May 14, 2025 at 1:31 PM Andrew Randrianasulu wrote: > > So I was experimenting with Vulkan decoding in cinelerra-gg. > > After some fight I get build using ffmpeg git > > commit 038314bc6be2f35a82e9fba2228bcac2e4fee648 for ffmpeg > > here is bunch of errors like this: > > [hevc @ 0x6f7465

[FFmpeg-devel] 回复: [PATCH v1 01/23] avcodec/vvc/cabac: add 9.3.3.5 k-th order Exp - Golomb binarization process

2025-05-14 Thread Wu Jianhua
Wu Jianhua: > From: Wu Jianhua > > Signed-off-by: Wu Jianhua > --- > libavcodec/vvc/cabac.c | 21 + > 1 file changed, 21 insertions(+) > > diff --git a/libavcodec/vvc/cabac.c b/libavcodec/vvc/cabac.c > index 5510144893..54055ed736 100644 > --- a/libavcodec/vvc/cabac.c > +++ b

Re: [FFmpeg-devel] [PATCH 1/2] Remove libpostproc

2025-05-14 Thread Kieran Kunhya via ffmpeg-devel
On Wed, May 14, 2025 at 8:26 AM Michael Niedermayer wrote: > > Hi > > On Wed, May 14, 2025 at 11:41:35AM +0100, Kieran Kunhya via ffmpeg-devel > wrote: > > On Wed, May 14, 2025 at 11:21 AM Michael Niedermayer > > wrote: > > > > > > Hi Andrew > > > > > > On Wed, May 14, 2025 at 05:54:54AM +0300,

[FFmpeg-devel] [PATCH v1 23/23] Changelog: VVC supports all content of SCC

2025-05-14 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- Changelog | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index a09dcd82c2..4f47b30038 100644 --- a/Changelog +++ b/Changelog @@ -11,6 +11,8 @@ version : - Enhanced FLV v2: Multitrack audio/video, modern

[FFmpeg-devel] [PATCH v1 21/23] avcodec/vvc/intra: refact out lmcs_scale_chroma and add_residual

2025-05-14 Thread toqsxw
From: Wu Jianhua prepare for adaptive color transform Signed-off-by: Wu Jianhua --- libavcodec/vvc/intra.c | 107 - 1 file changed, 63 insertions(+), 44 deletions(-) diff --git a/libavcodec/vvc/intra.c b/libavcodec/vvc/intra.c index b5842a93d1..0ea33e1e

[FFmpeg-devel] [PATCH v1 20/23] avcodec/vvc/intra: make lmcs_scale_chroma inplace

2025-05-14 Thread toqsxw
From: Wu Jianhua prepare for adaptive color transform Signed-off-by: Wu Jianhua --- libavcodec/vvc/dsp.h| 2 +- libavcodec/vvc/intra.c | 5 ++--- libavcodec/vvc/intra_template.c | 7 +++ 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/libavcodec/vvc/dsp.

[FFmpeg-devel] [PATCH v1 19/23] avcodec/vvc/intra: refact, predict jcbcr to tb->coeffs

2025-05-14 Thread toqsxw
From: Wu Jianhua prepare for adaptive color transform Signed-off-by: Wu Jianhua --- libavcodec/vvc/dsp.h | 1 - libavcodec/vvc/dsp_template.c | 18 - libavcodec/vvc/intra.c| 51 ++- 3 files changed, 20 insertions(+), 50 deletions(-)

[FFmpeg-devel] [PATCH v1 18/23] avcodec/vvc/intra: fix scaling process for transform coefficients

2025-05-14 Thread toqsxw
From: Wu Jianhua See 8.7.3 Scaling process for transform coefficients Signed-off-by: Wu Jianhua --- libavcodec/vvc/intra.c | 22 -- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/libavcodec/vvc/intra.c b/libavcodec/vvc/intra.c index bdcb193077..5f9bbea3d1 10

[FFmpeg-devel] [PATCH v1 17/23] avcodec/vvc/dsp: add adaptive_color_transform

2025-05-14 Thread toqsxw
From: Wu Jianhua See 8.7.4.6 Residual modification process for blocks using colour space conversion Signed-off-by: Wu Jianhua --- libavcodec/vvc/dsp.h | 2 ++ libavcodec/vvc/dsp_template.c | 20 2 files changed, 22 insertions(+) diff --git a/libavcodec/vvc/dsp.

[FFmpeg-devel] [PATCH v1 15/23] avcodec/vvc/ctu: fix derive_chroma_intra_pred_mode

2025-05-14 Thread toqsxw
From: Wu Jianhua See 8.4.3 Derivation process for chroma intra prediction mode Signed-off-by: Wu Jianhua --- libavcodec/vvc/ctu.c | 57 +++- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/libavcodec/vvc/ctu.c b/libavcodec/vvc/ctu.c index

[FFmpeg-devel] [PATCH v1 16/23] avcodec/vvc/dsp: update the interface of pred_residual_joint for joint cbcr residual functionality

2025-05-14 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/dsp.h | 2 +- libavcodec/vvc/dsp_template.c | 11 --- libavcodec/vvc/intra.c| 2 +- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/libavcodec/vvc/dsp.h b/libavcodec/vvc/dsp.h index fc4c3a679

[FFmpeg-devel] [PATCH v1 14/23] avcodec/vvc/ctu: read act_enabled_flag for adaptive color transform

2025-05-14 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/ctu.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/libavcodec/vvc/ctu.c b/libavcodec/vvc/ctu.c index 979a27c6ad..a83c59f27c 100644 --- a/libavcodec/vvc/ctu.c +++ b/libavcodec/vvc/ctu.c @@ -2150,10

[FFmpeg-devel] [PATCH v1 13/23] avcodec/vvc/cabac: add ff_vvc_cu_act_enabled_flag

2025-05-14 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/cabac.c | 5 + libavcodec/vvc/cabac.h | 1 + 2 files changed, 6 insertions(+) diff --git a/libavcodec/vvc/cabac.c b/libavcodec/vvc/cabac.c index 700b719b7c..6847ce59af 100644 --- a/libavcodec/vvc/cabac.c +++ b/libavcodec/vvc/cab

[FFmpeg-devel] [PATCH v1 12/23] avcodec/vvc/intra: add palette coding decoder

2025-05-14 Thread toqsxw
From: Wu Jianhua Introduction at https://ieeexplore.ieee.org/document/9408666 passed files: 10b422_G_Sony_5.bit 10b422_H_Sony_5.bit 10b422_I_Sony_5.bit 10b422_J_Sony_5.bit 10b422_K_Sony_5.bit 10b422_L_Sony_5.bit 8b422_G_Sony_5.bit 8b422_H_Sony_5.bit 8b422_I_So

[FFmpeg-devel] [PATCH v1 11/23] avcodec/vvc/filter: skip deblocking filter for palette

2025-05-14 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/filter.c | 29 ++--- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/libavcodec/vvc/filter.c b/libavcodec/vvc/filter.c index a7f102bc64..e3886d008e 100644 --- a/libavcodec/vvc/filter.c +++ b/li

[FFmpeg-devel] [PATCH v1 10/23] avcodec/vvc/ctu: add palette support

2025-05-14 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/ctu.c| 339 libavcodec/vvc/ctu.h| 11 ++ libavcodec/vvc/dec.c| 3 + libavcodec/vvc/mvs.c| 3 +- libavcodec/vvc/thread.c | 1 + 5 files changed, 327 insertions(+), 30 del

[FFmpeg-devel] [PATCH v1 07/23] avcodec/vvc: refact, save pf and ciip_flag in ff_vvc_set_intra_mvf

2025-05-14 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/ctu.c | 4 ++-- libavcodec/vvc/mvs.c | 24 libavcodec/vvc/mvs.h | 2 +- 3 files changed, 23 insertions(+), 7 deletions(-) diff --git a/libavcodec/vvc/ctu.c b/libavcodec/vvc/ctu.c index c621b6d5d6..f77697af

[FFmpeg-devel] [PATCH v1 09/23] avcodec/vvc/intra: add ff_vvc_palette_derive_scale

2025-05-14 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/intra.c | 52 ++ libavcodec/vvc/intra.h | 1 + 2 files changed, 33 insertions(+), 20 deletions(-) diff --git a/libavcodec/vvc/intra.c b/libavcodec/vvc/intra.c index 2e6cb8f09e..2e1703e234 100

[FFmpeg-devel] [PATCH v1 05/23] avcodec/vvc/ctu: refact out ff_vvc_channel_range

2025-05-14 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/ctu.c | 16 libavcodec/vvc/ctu.h | 1 + libavcodec/vvc/intra.c | 8 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/libavcodec/vvc/ctu.c b/libavcodec/vvc/ctu.c index 080b740cc6..c621b6d

[FFmpeg-devel] [PATCH v1 06/23] avcodec/vvc: refact out ep_init and ep_init_wpp

2025-05-14 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/dec.c| 48 ++--- libavcodec/vvc/thread.c | 12 +++ 2 files changed, 39 insertions(+), 21 deletions(-) diff --git a/libavcodec/vvc/dec.c b/libavcodec/vvc/dec.c index f860e116ab..09b0053

[FFmpeg-devel] [PATCH v1 04/23] avcodec/vvc: add VVC_MAX_NUM_PALETTE_PREDICTOR_SIZE

2025-05-14 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/vvc.h b/libavcodec/vvc.h index 92639779c1..5490ddb4c8 100644 --- a/libavcodec/vvc.h +++ b/libavcodec/vvc.h @@ -154,6 +154,9 @@ enum { // {sps, ph}_num_{ver, h

[FFmpeg-devel] [PATCH v1 03/23] avcodec/vvc/cabac: add palette support

2025-05-14 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/cabac.c | 52 ++ libavcodec/vvc/cabac.h | 9 2 files changed, 61 insertions(+) diff --git a/libavcodec/vvc/cabac.c b/libavcodec/vvc/cabac.c index 9290ecd90f..700b719b7c 100644 --- a/

[FFmpeg-devel] [PATCH v1 02/23] avcodec/vvc/cabac: add 9.3.3.7 Fixed-length binarization process

2025-05-14 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/cabac.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/libavcodec/vvc/cabac.c b/libavcodec/vvc/cabac.c index 54055ed736..9290ecd90f 100644 --- a/libavcodec/vvc/cabac.c +++ b/libavco

[FFmpeg-devel] [PATCH v1 01/23] avcodec/vvc/cabac: add 9.3.3.5 k-th order Exp - Golomb binarization process

2025-05-14 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/cabac.c | 21 + 1 file changed, 21 insertions(+) diff --git a/libavcodec/vvc/cabac.c b/libavcodec/vvc/cabac.c index 5510144893..54055ed736 100644 --- a/libavcodec/vvc/cabac.c +++ b/libavcodec/vvc/cabac.c @@ -928,

[FFmpeg-devel] Vulkan hevc hdr decode regression on ffmpeg master?

2025-05-14 Thread Andrew Randrianasulu
So I was experimenting with Vulkan decoding in cinelerra-gg. After some fight I get build using ffmpeg git commit 038314bc6be2f35a82e9fba2228bcac2e4fee648 for ffmpeg here is bunch of errors like this: [hevc @ 0x6f7465c0] Could not find ref with POC 296 [hevc @ 0x6f7465c0] Error constructing th

Re: [FFmpeg-devel] [PATCH 5/5] checkasm: add vvc_sao

2025-05-14 Thread Nuo Mi
On Sat, May 10, 2025 at 8:45 PM Nuo Mi wrote: > > > On Wed, May 7, 2025 at 5:26 AM Martin Storsjö wrote: > >> On Sat, 3 May 2025, Nuo Mi wrote: >> >> > Hi Martin,Great, it works! >> > HEVC is included in v2. >> >> Thanks great, thanks for looking into it! The checkasm aspects of patches >> 5-7/7

Re: [FFmpeg-devel] [PATCH] avformat/iamf_parse: increase PutBytes buffer when writing AAC extradata

2025-05-14 Thread Michael Niedermayer
On Tue, May 13, 2025 at 08:45:00PM -0300, James Almer wrote: > We may write up to 43 bits, so 5 bytes is not enough. > > Fixes: Assertion n>=0 && n<=32 failed at ./libavcodec/get_bits.h:406 > Fixes: > 398527871/clusterfuzz-testcase-minimized-ffmpeg_dem_IAMF_fuzzer-6602025714647040 > > Found-by:

Re: [FFmpeg-devel] [PATCH 1/2] Remove libpostproc

2025-05-14 Thread Michael Niedermayer
Hi On Wed, May 14, 2025 at 11:41:35AM +0100, Kieran Kunhya via ffmpeg-devel wrote: > On Wed, May 14, 2025 at 11:21 AM Michael Niedermayer > wrote: > > > > Hi Andrew > > > > On Wed, May 14, 2025 at 05:54:54AM +0300, Andrew Randrianasulu wrote: > > > ср, 14 мая 2025 г., 03:55 Andrew Randrianasulu :

Re: [FFmpeg-devel] [PATCH v1] fftools/ffplay: Resolve input file path before processing

2025-05-14 Thread Nicolas George
Appaji (HE12025-05-14): > Fixes ticket: https://trac.ffmpeg.org/ticket/11574 > > Signed-off-by: Appaji > --- > fftools/ffplay.c | 13 +++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > > diff --git a/fftools/ffplay.c b/fftools/ffplay.c > index 2a572fc3aa..42f0584b55 100644 > ---

[FFmpeg-devel] [PATCH] Add tools/merge-all-source-plugins

2025-05-14 Thread Michael Niedermayer
Simple script to merge all source plugins. Signed-off-by: Michael Niedermayer --- INSTALL.md | 3 +++ tools/merge-all-source-plugins | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 tools/merge-all-source-plugins diff --git a/INSTALL.md b/INSTALL.md index bdf581

Re: [FFmpeg-devel] [PATCH 1/2] Remove libpostproc

2025-05-14 Thread Kieran Kunhya via ffmpeg-devel
On Wed, May 14, 2025 at 11:21 AM Michael Niedermayer wrote: > > Hi Andrew > > On Wed, May 14, 2025 at 05:54:54AM +0300, Andrew Randrianasulu wrote: > > ср, 14 мая 2025 г., 03:55 Andrew Randrianasulu : > > > > > > > > > > > вт, 6 мая 2025 г., 02:27 Michael Niedermayer : > > > > > >> This will be av

Re: [FFmpeg-devel] [PATCH 1/2] Remove libpostproc

2025-05-14 Thread Michael Niedermayer
Hi Andrew On Wed, May 14, 2025 at 05:54:54AM +0300, Andrew Randrianasulu wrote: > ср, 14 мая 2025 г., 03:55 Andrew Randrianasulu : > > > > > > > вт, 6 мая 2025 г., 02:27 Michael Niedermayer : > > > >> This will be available in https://github.com/michaelni/libpostproc > >> either as a separate lib

Re: [FFmpeg-devel] [PATCH v3] libavformat/dashdec: Fix buffer overflow in segment URL resolution

2025-05-14 Thread jing yan
Hi, just a gentle ping on this patch. Let me know if anything else is needed. Thanks! 于2025年4月16日周三 14:56写道: > From: xiaohuanshu > > Problem: > The max_url_size calculation for DASH segment URLs only considered the > base URL > length, leading to buffer overflow when the segment's sourceURL

Re: [FFmpeg-devel] [PATCH] fix(configure): fix detection on windows arm64

2025-05-14 Thread Coia Prant
Or do we detect the MSYSTEM environment variable? Martin Storsjö 于 2025年5月14日周三 03:31写道: > On Mon, 12 May 2025, Coia Prant wrote: > > > On Windows Arm64 > > `uname -m` returned `x86_64` instead of `aarch64` > > Link: https://github.com/msys2/msys2-runtime/issues/171 > > > > But `uname -s` contai