[FFmpeg-devel] [PATCH] checkasm: add test for dcmul_add

2023-11-17 Thread flow gg
From 2785ce57f68dbb2373c951b9432afa73796f7cc1 Mon Sep 17 00:00:00 2001 From: sunyuechi Date: Sat, 18 Nov 2023 10:58:17 +0800 Subject: [PATCH] checkasm: test for dcmul_add --- tests/checkasm/af_afir.c | 141 +++ 1 file changed, 98 insertions(+), 43

[FFmpeg-devel] [PATCH] lavfi/Makefile: fix vf_cropdetect missed edge_common

2023-11-17 Thread Jun Zhao
fix #10664 vf_cropdetect depends on edge_common, it's missing in Makefile Signed-off-by: Jun Zhao --- libavfilter/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/Makefile b/libavfilter/Makefile index 603b532ad0..de51c2a403 100644 ---

[FFmpeg-devel] [PATCH 6/6] lavc/aarch64: new optimization for 8-bit hevc_qpel_bi_hv

2023-11-17 Thread Logan.Lyu
put_hevc_qpel_bi_hv4_8_c: 433.7 put_hevc_qpel_bi_hv4_8_i8mm: 117.9 put_hevc_qpel_bi_hv6_8_c: 803.9 put_hevc_qpel_bi_hv6_8_i8mm: 252.7 put_hevc_qpel_bi_hv8_8_c: 1296.4 put_hevc_qpel_bi_hv8_8_i8mm: 316.2 put_hevc_qpel_bi_hv12_8_c: 2867.4 put_hevc_qpel_bi_hv12_8_i8mm: 669.2

[FFmpeg-devel] [PATCH 5/6] lavc/aarch64: new optimization for 8-bit hevc_qpel_bi_v

2023-11-17 Thread Logan.Lyu
put_hevc_qpel_bi_v4_8_c: 166.1 put_hevc_qpel_bi_v4_8_neon: 61.9 put_hevc_qpel_bi_v6_8_c: 309.4 put_hevc_qpel_bi_v6_8_neon: 75.6 put_hevc_qpel_bi_v8_8_c: 531.1 put_hevc_qpel_bi_v8_8_neon: 78.1 put_hevc_qpel_bi_v12_8_c: 1139.9 put_hevc_qpel_bi_v12_8_neon: 238.1 put_hevc_qpel_bi_v16_8_c: 2063.6

[FFmpeg-devel] [PATCH 4/6] lavc/aarch64: new optimization for 8-bit hevc_epel_bi_hv

2023-11-17 Thread Logan.Lyu
put_hevc_epel_bi_hv4_8_c: 242.9 put_hevc_epel_bi_hv4_8_i8mm: 68.6 put_hevc_epel_bi_hv6_8_c: 402.4 put_hevc_epel_bi_hv6_8_i8mm: 135.9 put_hevc_epel_bi_hv8_8_c: 636.4 put_hevc_epel_bi_hv8_8_i8mm: 145.6 put_hevc_epel_bi_hv12_8_c: 1363.1 put_hevc_epel_bi_hv12_8_i8mm: 324.1 put_hevc_epel_bi_hv16_8_c:

[FFmpeg-devel] [PATCH 3/6] lavc/aarch64: new optimization for 8-bit hevc_epel_bi_v

2023-11-17 Thread Logan.Lyu
put_hevc_epel_bi_v4_8_c: 138.4 put_hevc_epel_bi_v4_8_neon: 33.7 put_hevc_epel_bi_v6_8_c: 302.9 put_hevc_epel_bi_v6_8_neon: 46.7 put_hevc_epel_bi_v8_8_c: 408.7 put_hevc_epel_bi_v8_8_neon: 48.7 put_hevc_epel_bi_v12_8_c: 779.4 put_hevc_epel_bi_v12_8_neon: 139.7 put_hevc_epel_bi_v16_8_c: 1344.9

[FFmpeg-devel] [PATCH 2/6] lavc/aarch64: new optimization for 8-bit hevc_epel_bi_h

2023-11-17 Thread Logan.Lyu
put_hevc_epel_bi_h4_8_c: 96.0 put_hevc_epel_bi_h4_8_neon: 36.3 put_hevc_epel_bi_h6_8_c: 288.3 put_hevc_epel_bi_h6_8_neon: 59.3 put_hevc_epel_bi_h8_8_c: 358.5 put_hevc_epel_bi_h8_8_neon: 61.5 put_hevc_epel_bi_h12_8_c: 759.8 put_hevc_epel_bi_h12_8_neon: 159.5 put_hevc_epel_bi_h16_8_c: 1307.0

[FFmpeg-devel] [PATCH 1/6] lavc/aarch64: new optimization for 8-bit hevc_pel_bi_pixels

2023-11-17 Thread Logan.Lyu
put_hevc_pel_bi_pixels4_8_c: 54.7 put_hevc_pel_bi_pixels4_8_neon: 43.0 put_hevc_pel_bi_pixels6_8_c: 94.7 put_hevc_pel_bi_pixels6_8_neon: 37.0 put_hevc_pel_bi_pixels8_8_c: 171.0 put_hevc_pel_bi_pixels8_8_neon: 24.0 put_hevc_pel_bi_pixels12_8_c: 354.0 put_hevc_pel_bi_pixels12_8_neon: 68.7

Re: [FFmpeg-devel] [PATCH] cherrypick ab7926341 into 4.2

2023-11-17 Thread Michael Niedermayer
On Fri, Nov 17, 2023 at 07:11:13AM +0200, Martin Storsjö wrote: > On Thu, 16 Nov 2023, Michael Niedermayer wrote: > > > On Thu, Nov 16, 2023 at 02:35:58PM -0800, Reed Weichler wrote: > > > pretty self-explanatory. > > > i guess they forgot to cherrypick it when it was first committed. > > > here

[FFmpeg-devel] [PATCH] avformat/mov: Fix MSAN issue with stsd_id

2023-11-17 Thread Michael Niedermayer
From: Thomas Guilbert Fixes: use of uninitialized value Fixes: bbb-320x240-2video-2audio.mp4 Signed-off-by: Michael Niedermayer --- libavformat/mov.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index e8efccf6ebf..2977d4e55eb 100644 ---

[FFmpeg-devel] [PATCH v3] avcodec/decode: guard against NULL hw_frames_ctx

2023-11-17 Thread Dmitry Rogozhkin
Guard against segfault running VLC decoding under msys2 [1]: Thread 33 received signal SIGSEGV, Segmentation fault. [Switching to Thread 37728.0xadd0] ff_hwaccel_frame_priv_alloc (avctx=0x6447b00, hwaccel_picture_private=0x65dfd00) at libavcodec/decode.c:1848 1848frames_ctx =

Re: [FFmpeg-devel] [PATCH v2] avcodec/decode: guard against NULL hw_frames_ctx

2023-11-17 Thread Rogozhkin, Dmitry V
On Tue, 2023-11-14 at 11:14 -0800, Dmitry Rogozhkin wrote: > Guard against segfault running VLC decoding under msys2 [1]: > > Thread 33 received signal SIGSEGV, Segmentation fault. > [Switching to Thread 37728.0xadd0] > ff_hwaccel_frame_priv_alloc (avctx=0x6447b00, >

[FFmpeg-devel] [PATCH] avformat/hlsenc: remove unnessecery av_dict_free operations

2023-11-17 Thread Steven Liu
The option will be freed at the end of the hls_window function, And will go to fail label call av_dict_free if every open operation return failed. Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c

[FFmpeg-devel] [PATCH 2/2] lavc/cbs_h265: Add pps_multilayer_extension support

2023-11-17 Thread Jun Zhao
Add pps_multilayer_extensio support. Signed-off-by: Jun Zhao --- libavcodec/cbs_h265.h | 28 libavcodec/cbs_h265_syntax_template.c | 48 ++- 2 files changed, 75 insertions(+), 1 deletion(-) diff --git a/libavcodec/cbs_h265.h

[FFmpeg-devel] [PATCH 1/2] lavc/cbs_h265: Add sps_multilayer_extension support

2023-11-17 Thread Jun Zhao
Add sps_multilayer_extensio support. Signed-off-by: Jun Zhao --- libavcodec/cbs_h265.h | 3 +++ libavcodec/cbs_h265_syntax_template.c | 12 +++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/libavcodec/cbs_h265.h b/libavcodec/cbs_h265.h index

[FFmpeg-devel] [PATCH] vulkan_decode: fix the print format of VkDeviceSize

2023-11-17 Thread Jun Zhao
VkDeviceSize represents device memory size and offset values as uint64_t in Spec. Signed-off-by: Jun Zhao --- libavcodec/vulkan_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vulkan_video.c b/libavcodec/vulkan_video.c index 236aa124bb..5fa8292b28 100644

Re: [FFmpeg-devel] [PATCH 08/24] fftools/ffmpeg_filter: remove an unnecessary sub2video_push_ref() call

2023-11-17 Thread Anton Khirnov
Quoting Nicolas George (2023-11-17 10:44:22) > Anton Khirnov (12023-11-09): > > I am obviously not proposing that, given the amount of patches I sent so > > far to keep sub2video working. > > Ok, sorry. > > > > > > I can suggest this: have demuxer code emit virtual subtitles packets to > > >

Re: [FFmpeg-devel] [PATCH] ffmpeg CLI multithreading

2023-11-17 Thread Anton Khirnov
Quoting Michael Niedermayer (2023-11-11 21:10:34) > On Sat, Nov 04, 2023 at 08:56:09AM +0100, Anton Khirnov wrote: > > Hi, > > after ~2 years of work and ~700+ preparatory commits, here is finally > > the first "fully functional" version of multithreaded ffmpeg CLI. In > > quotes because due to

Re: [FFmpeg-devel] [PATCH 08/24] fftools/ffmpeg_filter: remove an unnecessary sub2video_push_ref() call

2023-11-17 Thread Nicolas George
Anton Khirnov (12023-11-09): > I am obviously not proposing that, given the amount of patches I sent so > far to keep sub2video working. Ok, sorry. > > > I can suggest this: have demuxer code emit virtual subtitles packets to > > trigger the sending of the heartbeat frames. > > That's what

Re: [FFmpeg-devel] [PATCH 1/2] tools/general_assembly: make the script executable

2023-11-17 Thread Anton Khirnov
Will push the set soon if nobody objects. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject

[FFmpeg-devel] [ANNOUNCE] upcoming vote: extra members for GA v2

2023-11-17 Thread Anton Khirnov
Hi all, as the previous thread got a bit too big and...lively, I'm starting a new one, that will hopefully be smaller and calmer. The vote will start on Monday 2023-11-20 and will run for a week (after which we will continue with TC and CC elections). The voter list will be the one in [1] minus

[FFmpeg-devel] [PATCH v3 5/5] fate/h264: move mp4toannexb_ticket5927 test to fate-h264

2023-11-17 Thread Zhao Zhili
From: Zhao Zhili --- tests/fate/ffmpeg.mak | 6 +- tests/fate/h264.mak | 6 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak index 835770a924..a3e2bb37be 100644 --- a/tests/fate/ffmpeg.mak +++ b/tests/fate/ffmpeg.mak @@

[FFmpeg-devel] [PATCH v3 1/5] avcodec/h264_mp4toannexb_bsf: refactor start_code_size handling

2023-11-17 Thread Zhao Zhili
From: Zhao Zhili start_code_size depends on whether PS comes from out-of-band or in-band. Make the code more readable. --- libavcodec/h264_mp4toannexb_bsf.c | 34 --- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/libavcodec/h264_mp4toannexb_bsf.c

[FFmpeg-devel] [PATCH v3 2/5] avcodec/h264_mp4toannexb_bsf: remove pass padding size as argument

2023-11-17 Thread Zhao Zhili
From: Zhao Zhili It's a fixed value. There is no use case to change that. --- libavcodec/h264_mp4toannexb_bsf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/h264_mp4toannexb_bsf.c b/libavcodec/h264_mp4toannexb_bsf.c index 7dce1ae9b6..846671abb6 100644 ---

[FFmpeg-devel] [PATCH v3 3/5] avcodec/h264_mp4toannexb_bsf: fix missing PS before IDR frames

2023-11-17 Thread Zhao Zhili
From: Zhao Zhili If there is a single group of SPS/PPS before an IDR frame, but no SPS/PPS after that, we will miss the chance to reset idr_sps_seen/idr_pps_seen. No SPS/PPS are inserted afterwards. This patch saves in-band SPS/PPS and insert them before IDR frames when necessary. ---

[FFmpeg-devel] [PATCH v3 4/5] avcodec/h264_mp4toannexb_bsf: process new extradata

2023-11-17 Thread Zhao Zhili
From: Zhao Zhili For fate-h264_mp4toannexb_ticket5927 and fate-h264_mp4toannexb_ticket5927_2, they work by accident previously. The sample file has two 'avc1' entries, and video samples use the second one. It means packets should be decoded with new extradata in side data. Before this patch,