Re: [FFmpeg-devel] GSoC Mentor Summit Reimbursement Request

2024-10-28 Thread Stefano Sabatini
On Wed, Oct 23, 2024 at 1:54 PM Michael Niedermayer wrote: > > On Thu, Oct 10, 2024 at 07:29:32PM +0100, Frank Plowman wrote: > > Hello, > > > > I would like to request reimbursement for the following expenses > > incurred attending the Google Summer of Code mentor summit. > > > > Description

Re: [FFmpeg-devel] [PATCH] lavc: deprecate the omx encoders

2024-10-28 Thread James Almer
On 10/26/2024 6:27 AM, Anton Khirnov wrote: They have not been relevant for a long time, and support for this API is also being dropped from other projects. --- Changelog | 1 + configure | 4 +++- libavcodec/omx.c | 4 libavcodec/version_majo

[FFmpeg-devel] [PATCH 1/2] avutil/channel_layout: add Binaural channels and layout

2024-10-28 Thread James Almer
Signed-off-by: James Almer --- doc/utils.texi| 2 ++ libavutil/channel_layout.c| 3 +++ libavutil/channel_layout.h| 7 +++ tests/ref/fate/channel_layout | 1 + 4 files changed, 13 insertions(+) diff --git a/doc/utils.texi b/doc/utils.texi index 9968725d2a..eb5ccc8355

Re: [FFmpeg-devel] [PATCH] Allow linking to an external libpostproc

2024-10-28 Thread Michael Niedermayer
On Mon, Oct 28, 2024 at 04:40:25PM -0300, James Almer wrote: > On 10/28/2024 3:28 PM, Michael Niedermayer wrote: > > Hi everyone > > > > On Mon, Oct 28, 2024 at 01:24:48AM +0100, Michael Niedermayer wrote: > > > Sponsored-by: Sovereign Tech Fund > > > Signed-off-by: Michael Niedermayer > > > ---

[FFmpeg-devel] [PATCH v4 1/8] lavc/vaapi_dec: Create VA parameters dynamically

2024-10-28 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/vaapi_decode.c | 34 +- libavcodec/vaapi_decode.h | 7 ++- 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/libavcodec/vaapi_decode.c b/libavcodec/vaapi_decode.c index a59194340f..709699dc

[FFmpeg-devel] [PATCH v4 2/8] lavc/vaapi_decode: Use a more meaningful variable name

2024-10-28 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/vaapi_decode.c | 20 ++-- libavcodec/vaapi_decode.h | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/libavcodec/vaapi_decode.c b/libavcodec/vaapi_decode.c index 709699dcaf..7753f72106 100644 --- a/lib

[FFmpeg-devel] [PATCH v4 4/8] lavc/cbs_h266: Add NumSlicesInTile to H266RawPPS

2024-10-28 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/cbs_h266.h | 1 + libavcodec/cbs_h266_syntax_template.c | 16 ++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h index 7f0e537b31..67a3ff6151 100644

[FFmpeg-devel] [PATCH v4 8/8] lavc/vaapi_dec: Add VVC decoder

2024-10-28 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- Changelog | 1 + configure | 3 + libavcodec/Makefile | 1 + libavcodec/hwaccels.h | 1 + libavcodec/vaapi_decode.c | 4 + libavcodec/vaapi_vvc.c| 657 ++ libav

Re: [FFmpeg-devel] [PATCH] avutil/hwcontext: Don't assume frames_uninit is reentrant

2024-10-28 Thread Zhao Zhili
> On Oct 24, 2024, at 02:14, 徐浩宇 wrote: > > I have discovered that the vulnerability addressed by commit 3bb00c0 > > also > affects the release/6.1 branch,but the fix has not yet been applied. Given > that there

[FFmpeg-devel] [PATCH v4 7/8] lavc/vvc_dec: Add hardware decode API

2024-10-28 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/vvc/dec.c | 89 --- libavcodec/vvc/dec.h | 4 ++ libavcodec/vvc/refs.c | 6 +++ 3 files changed, 86 insertions(+), 13 deletions(-) diff --git a/libavcodec/vvc/dec.c b/libavcodec/vvc/dec.c index 4b

[FFmpeg-devel] [PATCH v4 6/8] lavc/vvc_ps: Add alf raw syntax into VVCALF

2024-10-28 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/vvc/ps.c | 10 +- libavcodec/vvc/ps.h | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/libavcodec/vvc/ps.c b/libavcodec/vvc/ps.c index ff9a6c7a15..f32f1cc5a1 100644 --- a/libavcodec/vvc/ps.c +++ b/libavcodec/vvc

[FFmpeg-devel] [PATCH v4 3/8] lavc/cbs_h266: Add SliceTopLeftTileIdx to H266RawPPS

2024-10-28 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/cbs_h266.h | 1 + libavcodec/cbs_h266_syntax_template.c | 4 2 files changed, 5 insertions(+) diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h index d24a8e9313..7f0e537b31 100644 --- a/libavcodec/cbs_h266.h ++

[FFmpeg-devel] [PATCH v4 5/8] lavc/vvc_refs: Define VVC_FRAME_FLAG* to h header

2024-10-28 Thread fei . w . wang-at-intel . com
From: Fei Wang So that hardware decoder can use the flags too. Signed-off-by: Fei Wang --- libavcodec/vvc/refs.c | 4 libavcodec/vvc/refs.h | 5 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/libavcodec/vvc/refs.c b/libavcodec/vvc/refs.c index 133ff9eaba..3ed9d6768d

[FFmpeg-devel] [PATCH 1/1] libavformat/id3v2.c: add more image mimetypes

2024-10-28 Thread Sen Hastings
ffmpeg only supports a small number of valid image mimetypes in id3v2 tags, this patch adds more newer image mimetypes. images were installed using mid3v2 ex: mid3v2 -p mice.jxl::3:image/jxl waltz_jxl.mp3 media samples(audio/image): https://codeberg.org/sen-h/ffmpeg-id3v2-image-samples Signed-

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

2024-10-28 Thread emufan 4568
Added proper dependencies to configure and separated the vulkan encoder from cpu one. Should build okay with ./configure --enable-encoder=vc2_vulkan --enable-libglslang Στις Κυρ 27 Οκτ 2024 στις 4:28 μ.μ., ο/η IndecisiveTurtle < geoste...@gmail.com> έγραψε: > Implements a Vulkan based dirac encod

[FFmpeg-devel] [PATCH 3/5] lavc/vvc_mc: R-V V put_uni_pixels

2024-10-28 Thread uk7b
From: sunyuechi k230 banana_f3 put_uni_pixels_chroma_8_4x4_c: 128.3 ( 1.00x)90.5 ( 1.00x) put_uni_pixels_chroma_8_4x4_rvv_i32:17.6 ( 7.30x)17.4 ( 5.18x) put_uni_pixels_chroma

[FFmpeg-devel] [PATCH 4/5] lavc/hevc: R-V V pel_uni(pow2)

2024-10-28 Thread uk7b
From: sunyuechi k230 banana_f3 put_hevc_pel_uni_pixels4_8_c: 126.3 ( 1.00x)90.5 ( 1.00x) put_hevc_pel_uni_pixels4_8_rvv_i32: 24.6 ( 5.14x)17.5 ( 5.18x) put_hevc_pel_uni_pixe

[FFmpeg-devel] [PATCH 5/5] lavc/vvc_mc: R-V V sad

2024-10-28 Thread uk7b
From: sunyuechi k230 banana_f3 sad_8x16_c: 385.9 ( 1.00x)403.1 ( 1.00x) sad_8x16_rvv_i32:108.1 ( 3.57x)100.8 ( 4.00x) sad_16x8_c: 376.6 ( 1.00x)392.6 ( 1.00x) sad_16x8_rvv_i32: 89.3 ( 4

[FFmpeg-devel] [PATCH 2/5] lavc/riscv: Move VVC macro to h26x

2024-10-28 Thread uk7b
From: sunyuechi --- libavcodec/riscv/h26x/asm.S | 127 ++ libavcodec/riscv/vvc/vvc_mc_rvv.S | 109 + 2 files changed, 128 insertions(+), 108 deletions(-) create mode 100644 libavcodec/riscv/h26x/asm.S diff --git a/libavcodec/riscv/h26x/

Re: [FFmpeg-devel] [PATCH 3/5] lavc/vvc_mc: R-V V put_uni_pixels

2024-10-28 Thread flow gg
> Up to 64-bit rows, you can use strided loads and stores here. Due to the SRC_OFFSET in testing, only e8 and e16 can be loaded; e32 cannot be loaded (Bus error). Since the width ranges from 4 to 128, it seems that strided loads may not be possible. > Though for memory copying, unaligned scalar a

Re: [FFmpeg-devel] [PATCH] Allow linking to an external libpostproc

2024-10-28 Thread Michael Niedermayer
Hi everyone On Mon, Oct 28, 2024 at 01:24:48AM +0100, Michael Niedermayer wrote: > Sponsored-by: Sovereign Tech Fund > Signed-off-by: Michael Niedermayer > --- > Makefile | 3 +-- > configure| 18 -- > fftools/ffprobe.c| 1 - > fftools/opt_common.c |

Re: [FFmpeg-devel] [PATCH] [MXF] - Add jpeg2000 subdescriptor in MXF file (V2).

2024-10-28 Thread Pierre-Anthony Lemieux
av_pix_fmt_count_planes() in On Thu, Dec 21, 2023 at 3:11 AM Tomas Härdin wrote: > > ons 2023-12-20 klockan 18:04 +0100 skrev Cédric Le Barz: > > Le 19/12/2023 à 14:36, Tomas Härdin a écrit : > > > > +for ( comp = 0; comp < component_count; comp++ ) { > > > > +avio_write(pb, &sc->j2k_

[FFmpeg-devel] [PATCH 1/1] libavformat/id3v2.c: add more image mimetypes

2024-10-28 Thread Sen Hastings
ffmpeg only supports a small number of valid image mimetypes in id3v2 tags, this patch adds more newer image mimetypes. images were installed using mid3v2 ex: mid3v2 -p mice.jxl::3:image/jxl waltz_jxl.mp3 media samples(audio/image): https://codeberg.org/sen-h/ffmpeg-id3v2-image-samples Signed-

[FFmpeg-devel] [PATCH 1/5] lavc/vvc_mc: R-V V put_pixels

2024-10-28 Thread uk7b
From: sunyuechi k230 banana_f3 put_chroma_pixels_8_4x4_c: 63.5 ( 1.00x)59.2 ( 1.00x) put_chroma_pixels_8_4x4_rvv_i32:26.5 ( 2.39x)27.8 ( 2.14x) put_chroma_pixels_8_8

[FFmpeg-devel] [PATCH] avcodec/proresenc_ks: Reduce size of blocks array

2024-10-28 Thread IndecisiveTurtle
Small cleanup, only blocks[0] seems to ever be used --- libavcodec/proresenc_kostya.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c index 226f95f8c6..1a09488cd7 100644 --- a/libavcodec/proresenc_kostya

Re: [FFmpeg-devel] [PATCH v3 7/8] lavc/vvc_dec: Add hardware decode API

2024-10-28 Thread Wang, Fei W
On Mon, 2024-10-28 at 01:18 +, Xiang, Haihao wrote: > On Wo, 2024-09-25 at 10:15 +0800, > fei.w.wang-at-intel@ffmpeg.org wrote: > > From: Fei Wang > > > > Signed-off-by: Fei Wang > > --- > >  libavcodec/vvc/dec.c  | 90 --- > > > >  libavcodec/vvc/

[FFmpeg-devel] [PATCH] avcodec/nvenc: add option to skip padding OBUs

2024-10-28 Thread Cameron Gutman
Some scenarios (such as game streaming or videoconferencing) may use CBR to strictly cap the maximum encoded bitrate, but they don't mind the bitrate falling below the target if the encoder doesn't need the additional headroom. Allow users to opt-out of filler data in CBR mode for those usecases w

Re: [FFmpeg-devel] [PATCH v3 7/8] lavc/vvc_dec: Add hardware decode API

2024-10-28 Thread Xiang, Haihao
On Wo, 2024-09-25 at 10:15 +0800, fei.w.wang-at-intel@ffmpeg.org wrote: > From: Fei Wang > > Signed-off-by: Fei Wang > --- >  libavcodec/vvc/dec.c  | 90 --- >  libavcodec/vvc/dec.h  |  4 ++ >  libavcodec/vvc/refs.c |  6 +++ >  3 files changed, 87 inser

[FFmpeg-devel] [PATCH] Allow linking to an external libpostproc

2024-10-28 Thread Michael Niedermayer
Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- Makefile | 3 +-- configure| 18 -- fftools/ffprobe.c| 1 - fftools/opt_common.c | 1 - 4 files changed, 9 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index

[FFmpeg-devel] [PATCH] avcodec/amfenc: GOP size check

2024-10-28 Thread Araz Iusubov
АFix for the error with an invalid GOP size parameter. --- libavcodec/amfenc_av1.c | 4 +++- libavcodec/amfenc_h264.c | 4 +++- libavcodec/amfenc_hevc.c | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/libavcodec/amfenc_av1.c b/libavcodec/amfenc_av1.c index b40d54f70c..892

Re: [FFmpeg-devel] [PATCH 1/5] lavc/vvc_mc: R-V V put_pixels

2024-10-28 Thread flow gg
> Even without Zvbb's widening shift, widening multiplication is probably faster here. Updated, it has indeed gotten faster. 于2024年10月29日周二 00:44写道: > From: sunyuechi > > k230 > banana_f3 > put_chroma_pixels_8_4x4_c:

[FFmpeg-devel] [PATCH 2/2] avformat/iamf: use the new Binaural channel layout

2024-10-28 Thread James Almer
Signed-off-by: James Almer --- libavformat/dump.c | 6 +++--- libavformat/iamf.c | 2 +- libavformat/iamf_parse.c | 3 ++- libavformat/iamf_writer.c | 3 +++ libavutil/iamf.h | 10 +++--- tests/ref/fate/iamf-stereo

Re: [FFmpeg-devel] [PATCH] Allow linking to an external libpostproc

2024-10-28 Thread James Almer
On 10/28/2024 3:28 PM, Michael Niedermayer wrote: Hi everyone On Mon, Oct 28, 2024 at 01:24:48AM +0100, Michael Niedermayer wrote: Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- Makefile | 3 +-- configure| 18 -- fftools/f

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

2024-10-28 Thread IndecisiveTurtle
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 running on my Ryzen 5 4600H, while it takes about 30 seconds on my NVIDIA