[FFmpeg-devel] [PATCH 2/2] avcodec/amd: fix pict_type, match it with amf & ffmpeg. add sps pps when frame->keyframe

2023-11-15 Thread reito via ffmpeg-devel
The frame->key_frame currently doesn't set extra header into frames when using amf encoders. The frame->pict_type is not set to amf picture type, now we force it. Signed-off-by: reito --- libavcodec/amfenc.c | 52 + 1 file changed, 52 insertions(+) di

[FFmpeg-devel] [PATCH 1/2] avcodec/qsv: add sps pps header when frame->key_frame is true

2023-11-15 Thread Zhongwei Wang via ffmpeg-devel
The key_frame currently doesn't set extra header into frames when using qsv encoders. Signed-off-by: reito --- libavcodec/qsvenc.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index a0144b0760..2bd85a2f91 100644 --

Re: [FFmpeg-devel] [PATCH] af_afir: RISC-V V fcmul_add

2023-11-15 Thread flow gg
Okay, I have modified them to 64 and added some descriptions. Rémi Denis-Courmont 于2023年11月15日周三 23:06写道: > Le keskiviikkona 15. marraskuuta 2023, 10.59.55 EET flow gg a écrit : > > Okay, I have updated these issues in the patch. > > It does not assemble but I can fix it locally. The narrowing s

Re: [FFmpeg-devel] [PATCH v2 0/6] WebRTC sub-second live streaming support

2023-11-15 Thread Michael Niedermayer
On Tue, Nov 14, 2023 at 01:59:48PM +0100, Michael Riedl wrote: > On 11/14/23 11:05, Tomas Härdin wrote: > > This patchset is missing tests. I know that we for some reason don't > > really have tests for protocols, but I feel the issue is worthwhile to > > bring up. I've worked a bit with WebRTC rec

[FFmpeg-devel] [PATCH] lavc/llviddsp: R-V V add_bytes

2023-11-15 Thread Rémi Denis-Courmont
add_bytes_c: 2077.2 add_bytes_rvv_i32: 105.0 --- libavcodec/lossless_videodsp.c | 2 ++ libavcodec/lossless_videodsp.h | 1 + libavcodec/riscv/Makefile| 2 ++ libavcodec/riscv/llviddsp_init.c | 38 libavcodec/riscv/llviddsp_rvv.S | 36 +

[FFmpeg-devel] [PATCH] lavc/flacdsp: R-V V LPC16 function

2023-11-15 Thread Rémi Denis-Courmont
In this case, the inner loop computing the scalar product can be reduced to just one multiplication and one sum even with 128-bit vectors. The result is a lot simpler, but also brings more modest performance gains: flac_lpc_16_13_c: 15241.0 flac_lpc_16_13_rvv_i32: 11230.0 flac_lpc_16_16_c:

Re: [FFmpeg-devel] [PATCHv3] checkasm/flacdsp: add LPC test

2023-11-15 Thread James Almer
On 11/15/2023 4:24 PM, Rémi Denis-Courmont wrote: --- tests/checkasm/flacdsp.c | 32 1 file changed, 32 insertions(+) diff --git a/tests/checkasm/flacdsp.c b/tests/checkasm/flacdsp.c index 51a0e0060b..b308237db1 100644 --- a/tests/checkasm/flacdsp.c +++ b/test

[FFmpeg-devel] [PATCHv3] checkasm/flacdsp: add LPC test

2023-11-15 Thread Rémi Denis-Courmont
--- tests/checkasm/flacdsp.c | 32 1 file changed, 32 insertions(+) diff --git a/tests/checkasm/flacdsp.c b/tests/checkasm/flacdsp.c index 51a0e0060b..b308237db1 100644 --- a/tests/checkasm/flacdsp.c +++ b/tests/checkasm/flacdsp.c @@ -54,6 +54,28 @@ static void ch

Re: [FFmpeg-devel] [PATCH 1/2] checkasm/flacdsp: add LPC test

2023-11-15 Thread James Almer
On 11/15/2023 4:19 PM, Rémi Denis-Courmont wrote: Le keskiviikkona 15. marraskuuta 2023, 21.14.26 EET James Almer a écrit : On 11/15/2023 3:02 PM, Rémi Denis-Courmont wrote: --- tests/checkasm/flacdsp.c | 32 1 file changed, 32 insertions(+) diff --git a/

Re: [FFmpeg-devel] [PATCH 1/2] checkasm/flacdsp: add LPC test

2023-11-15 Thread Rémi Denis-Courmont
Le keskiviikkona 15. marraskuuta 2023, 21.14.26 EET James Almer a écrit : > On 11/15/2023 3:02 PM, Rémi Denis-Courmont wrote: > > --- > > > > tests/checkasm/flacdsp.c | 32 > > 1 file changed, 32 insertions(+) > > > > diff --git a/tests/checkasm/flacdsp.c b/tes

Re: [FFmpeg-devel] [PATCH 1/2] checkasm/flacdsp: add LPC test

2023-11-15 Thread James Almer
On 11/15/2023 3:02 PM, Rémi Denis-Courmont wrote: --- tests/checkasm/flacdsp.c | 32 1 file changed, 32 insertions(+) diff --git a/tests/checkasm/flacdsp.c b/tests/checkasm/flacdsp.c index 51a0e0060b..4d69cbe507 100644 --- a/tests/checkasm/flacdsp.c +++ b/test

Re: [FFmpeg-devel] [PATCH v6] avcodec/cbs_vp8: Add support for VP8 codec bitstream

2023-11-15 Thread Ronald S. Bultje
Hi, On Sun, Nov 12, 2023 at 8:53 PM Dai, Jianhui J < jianhui.j.dai-at-intel@ffmpeg.org> wrote: > TESTS: ffmpeg -i fate-suite/vp8/frame_size_change.webm -vcodec copy > -bsf:v trace_headers -f null - > (I've merged this already.) I don't think a fate test was added to prevent regressions. Wou

[FFmpeg-devel] [PATCH 2/2] lavc/flacdsp: R-V V LPC32

2023-11-15 Thread Rémi Denis-Courmont
The entire set of 32 coefficients and corresponding past 32 samples can fit in a single vector (with LMUL=8) exactly, but... since widening double the needed vector sizes, we still end up too short with 128-bit vectors. This adds a very simple version for future 256+-bit hardware, and for pred_orde

[FFmpeg-devel] [PATCH 1/2] checkasm/flacdsp: add LPC test

2023-11-15 Thread Rémi Denis-Courmont
--- tests/checkasm/flacdsp.c | 32 1 file changed, 32 insertions(+) diff --git a/tests/checkasm/flacdsp.c b/tests/checkasm/flacdsp.c index 51a0e0060b..4d69cbe507 100644 --- a/tests/checkasm/flacdsp.c +++ b/tests/checkasm/flacdsp.c @@ -54,6 +54,28 @@ static void ch

[FFmpeg-devel] [PATCH] riscv: fix builds without Zbb support

2023-11-15 Thread Rémi Denis-Courmont
--- libavutil/riscv/asm.S | 5 + 1 file changed, 5 insertions(+) diff --git a/libavutil/riscv/asm.S b/libavutil/riscv/asm.S index 6ca74f263a..0a9e2e0d3f 100644 --- a/libavutil/riscv/asm.S +++ b/libavutil/riscv/asm.S @@ -92,6 +92,11 @@ shnadd 3, \rd, \rs1, \rs2 .endm #endif

Re: [FFmpeg-devel] [PATCH v6] fftools/ffplay: add hwaccel decoding support

2023-11-15 Thread Zhao Zhili
Regarding to build error target Windows gpl-shared https://github.com/BtbN/FFmpeg-Builds/actions/runs/6877007331/job/18704121033#step:5:11349 I have sent an MR to libplacebo https://github.com/haasn/libplacebo/pull/222 ___ ffmpeg-devel mailing list ff

Re: [FFmpeg-devel] [PATCH] checkasm/flacdsp: add LPC test

2023-11-15 Thread Rémi Denis-Courmont
Le keskiviikkona 15. marraskuuta 2023, 18.21.34 EET Rémi Denis-Courmont a écrit : > --- > tests/checkasm/flacdsp.c | 28 > 1 file changed, 28 insertions(+) > > diff --git a/tests/checkasm/flacdsp.c b/tests/checkasm/flacdsp.c > index 51a0e0060b..589a3fe834 100644 > --

[FFmpeg-devel] [PATCH] checkasm/flacdsp: add LPC test

2023-11-15 Thread Rémi Denis-Courmont
--- tests/checkasm/flacdsp.c | 28 1 file changed, 28 insertions(+) diff --git a/tests/checkasm/flacdsp.c b/tests/checkasm/flacdsp.c index 51a0e0060b..589a3fe834 100644 --- a/tests/checkasm/flacdsp.c +++ b/tests/checkasm/flacdsp.c @@ -54,6 +54,27 @@ static void check_

Re: [FFmpeg-devel] [PATCH v3] avcodec/vp8: Export `vp8_token_update_probs` variable

2023-11-15 Thread Ronald S. Bultje
Hi, On Mon, Nov 13, 2023 at 8:43 AM Ronald S. Bultje wrote: > Hi, > > On Mon, Nov 13, 2023 at 2:55 AM Dai, Jianhui J < > jianhui.j.dai-at-intel@ffmpeg.org> wrote: > >> Oh, this is the preceding patch of: >> `[FFmpeg-devel,v6] avcodec/cbs_vp8: Add support for VP8 codec bitstream` >> >> Probab

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

2023-11-15 Thread Rogozhkin, Dmitry V
On Tue, 2023-11-14 at 19:32 +0100, Hendrik Leppkes wrote: > On Tue, Nov 14, 2023 at 7:23 PM Dmitry Rogozhkin > wrote: > > > > Gurd against segfault running VLC decoding under msys2 [1]: > > > > Thread 33 received signal SIGSEGV, Segmentation fault. > > [Switching to Thread 37728.0xadd0] > > ff_h

Re: [FFmpeg-devel] [PATCH] af_afir: RISC-V V fcmul_add

2023-11-15 Thread Rémi Denis-Courmont
Le keskiviikkona 15. marraskuuta 2023, 10.59.55 EET flow gg a écrit : > Okay, I have updated these issues in the patch. It does not assemble but I can fix it locally. The narrowing shift trickery require Zve64x, or rather Zve64f in this case. The performance improvement is much better on newer h

[FFmpeg-devel] [PATCH 2/2] avformat/flvdec: support enhanced flv PacketTypeMetadata

2023-11-15 Thread zhupengfei via ffmpeg-devel
From: Zhu Pengfei <411294...@qq.com> Signed-off-by: Zhu Pengfei <411294...@qq.com> --- libavformat/flvdec.c | 171 ++- 1 file changed, 170 insertions(+), 1 deletion(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index e25b5bd163..46bb0825ca 10

[FFmpeg-devel] [PATCH 1/2] avformat/flvenc: support enhanced flv PacketTypeMetadata

2023-11-15 Thread zhupengfei via ffmpeg-devel
From: Zhu Pengfei <411294...@qq.com> Signed-off-by: Zhu Pengfei <411294...@qq.com> --- libavformat/flvenc.c | 158 +++ 1 file changed, 158 insertions(+) diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index f6d10f331c..615a072928 100644 --- a/liba

[FFmpeg-devel] [PATCH] avformat/rtmpproto: Pass rw_timeout to underlying transport protocol

2023-11-15 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavformat/rtmpproto.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 98718bc6da..a0c6195eb2 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -2635,6 +2635,9 @@ s

[FFmpeg-devel] [PATCH] configure: fix linker error due to missing dependency

2023-11-15 Thread Michael Riedl
Add av1_parser to av1_decoder to fix undefined reference to 'ff_av1_framerate'. To reproduce: ./configure --disable-everything --disable-autodetect --enable-encoder=av1 Signed-off-by: Michael Riedl --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/co

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

2023-11-15 Thread Anton Khirnov
--- tools/general_assembly.pl | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 tools/general_assembly.pl diff --git a/tools/general_assembly.pl b/tools/general_assembly.pl old mode 100644 new mode 100755 -- 2.42.0 ___

[FFmpeg-devel] [PATCH 2/2] tools/general_assembly: update to conform to new rules

2023-11-15 Thread Anton Khirnov
--- tools/general_assembly.pl | 64 ++- 1 file changed, 57 insertions(+), 7 deletions(-) diff --git a/tools/general_assembly.pl b/tools/general_assembly.pl index e59ce0f350..4c3208ccac 100755 --- a/tools/general_assembly.pl +++ b/tools/general_assembly.pl @@ -7

Re: [FFmpeg-devel] [PATCH] af_afir: RISC-V V fcmul_add

2023-11-15 Thread flow gg
Okay, I have updated these issues in the patch. Rémi Denis-Courmont 于2023年11月13日周一 23:35写道: >Hi, > > Le maanantaina 13. marraskuuta 2023, 11.43.01 EET flow gg a écrit : > > Sorry for the long delay in responding. > > No problem. Working with T-Head C910 (or C920?) cores is very tedious. I >

Re: [FFmpeg-devel] [PATCH] af_afir: RISC-V V fcmul_add

2023-11-15 Thread flow gg
Okay, I have updated these issues in the patch. Rémi Denis-Courmont 于2023年11月13日周一 23:35写道: >Hi, > > Le maanantaina 13. marraskuuta 2023, 11.43.01 EET flow gg a écrit : > > Sorry for the long delay in responding. > > No problem. Working with T-Head C910 (or C920?) cores is very tedious. I >