Re: [FFmpeg-devel] [PATCH 2/2] lavc/vc1dsp: R-V V mspel_pixels

2024-04-06 Thread flow gg
ping flow gg 于2024年3月8日周五 17:46写道: > Alright, using m8, but for now don't add code to address dependencies in > loops that have a minor impact. Updated in the reply > > Rémi Denis-Courmont 于2024年3月8日周五 17:08写道: > >> >> >> Le 8 mars 2024 02:45:46 GMT+02:00, flow gg a >> écrit : >> >> Isn't it

Re: [FFmpeg-devel] [PATCH 1/4] lavc/vp9dsp: R-V V ipred dc

2024-04-06 Thread flow gg
Okay, updated it in the reply and github( https://github.com/hleft/FFmpeg/tree/vp8vp9) Rémi Denis-Courmont 于2024年4月4日周四 04:22写道: > Le torstaina 28. maaliskuuta 2024, 4.44.33 EEST flow gg a écrit : > > I don't quite understand, I think here 8x8 because zve64x is not suitable > > for sharing, it

Re: [FFmpeg-devel] [PATCH 1/3] lavu/hwcontext_vaapi: Add a new quirk

2024-04-06 Thread Xiang, Haihao
On Wo, 2024-04-03 at 20:21 +0100, Mark Thompson wrote: > On 28/03/2024 02:17, Xiang, Haihao wrote: > > From: Haihao Xiang > > > > libva2 doesn't require a fixed surface-array any more, but some > > driver/hardware combinations which rely on this are still used. To > > reduce the impact to users,

[FFmpeg-devel] [PATCH] avcodec/vvc/ps: reset sps_id_used on PS uninit

2024-04-06 Thread James Almer
Signed-off-by: James Almer --- libavcodec/vvc/ps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/vvc/ps.c b/libavcodec/vvc/ps.c index 3c71c34bae..83ee75fb62 100644 --- a/libavcodec/vvc/ps.c +++ b/libavcodec/vvc/ps.c @@ -912,6 +912,7 @@ void ff_vvc_ps_uninit(VVCParamSets *ps)

Re: [FFmpeg-devel] [PATCH v2] lavc/vvc: Error if SPS ID is duplicated within CVS

2024-04-06 Thread Nuo Mi
On Sat, Apr 6, 2024 at 9:46 PM Frank Plowman wrote: > Key line from the spec is: > > "All SPS NAL units with a particular value of sps_seq_parameter_set_id > in a CVS shall have the same content." > > Prior to this patch, the VVC decoder's behaviour on encountering a > duplicated SPS ID (within

[FFmpeg-devel] [PATCH] lavf/vsrc_ddagrab: WinAPI functions must be called as stdcall in x86_32

2024-04-06 Thread Vadim Guchenko
Now I get Access Violation when using ddagrab filter in ffmpeg compiled for x86_32 architecture. More information here: https://trac.ffmpeg.org/ticket/10914 diff --git a/libavfilter/vsrc_ddagrab.c b/libavfilter/vsrc_ddagrab.c --- a/libavfilter/vsrc_ddagrab.c +++ b/libavfilter/vsrc_ddagrab.c @@

Re: [FFmpeg-devel] [PATCH 01/11] avcodec: add avcodec_get_supported_config()

2024-04-06 Thread Michael Niedermayer
On Fri, Apr 05, 2024 at 08:57:11PM +0200, Niklas Haas wrote: > From: Niklas Haas > > This replaces the myriad of existing lists in AVCodec by a unified API > call, allowing us to (ultimately) trim down the sizeof(AVCodec) quite > substantially, while also making this more trivially extensible. >

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/options_table: map IPT-C2, YCgCo-R variants in colorspace

2024-04-06 Thread Michael Niedermayer
On Wed, Apr 03, 2024 at 07:04:20PM +, Jan Ekström wrote: > ffmpeg | branch: master | Jan Ekström | Fri Mar 29 > 00:52:53 2024 +0200| [06c53efd233340762535957ad765ed4d9aafcddd] | committer: > Jan Ekström > > avcodec/options_table: map IPT-C2, YCgCo-R variants in colorspace > > >

[FFmpeg-devel] [PATCH] avformat/lc3: Add file format for LC3/LC3plus transport

2024-04-06 Thread Antoine Soulier via ffmpeg-devel
From: Antoine SOULIER A file format is described in Bluetooth SIG LC3 and ETSI TS 103 634, for test purpose. This is the format implemented here. --- Changelog| 1 + doc/muxers.texi | 6 ++ libavformat/Makefile | 2 + libavformat/allformats.c | 2 +

Re: [FFmpeg-devel] [PATCH] avcodec/libx264: bump minimum required version to 160

2024-04-06 Thread Michael Niedermayer
On Fri, Apr 05, 2024 at 07:44:52PM +0200, Niklas Haas wrote: > From: Niklas Haas > > This version is four years old, and present in Debian oldstable, Ubuntu > 22.04 and Leap 15.1. Ubuntu 20.04 has general support till 2025-05-29 Ubuntu 18.04 has security support (ESM) till 2028-04 thx [...]

Re: [FFmpeg-devel] [PATCH 1/2] libavformat/hls.c: support in-stream ID3 metadata update.

2024-04-06 Thread Romain Beauxis
On Sun, Mar 31, 2024, 12:46 Romain Beauxis wrote: > > > On Sun, Mar 31, 2024, 05:52 Liu Steven wrote: > >> >> >> > On Mar 29, 2024, at 06:51, Romain Beauxis wrote: >> > >> > On Mon, Mar 25, 2024, 19:58 Romain Beauxis >> wrote: >> > >> >> This patch adds support for updating HLS metadata

[FFmpeg-devel] [PATCH v4 5/5] avcodec/ac3: Implement sum_square_butterfly_float for aarch64 NEON

2024-04-06 Thread Geoff Hill
Signed-off-by: Geoff Hill --- libavcodec/aarch64/ac3dsp_init_aarch64.c | 5 libavcodec/aarch64/ac3dsp_neon.S | 30 tests/checkasm/ac3dsp.c | 26 3 files changed, 61 insertions(+) diff --git

[FFmpeg-devel] [PATCH v4 4/5] avcodec/ac3: Implement sum_square_butterfly_int32 for aarch64 NEON

2024-04-06 Thread Geoff Hill
Signed-off-by: Geoff Hill --- libavcodec/aarch64/ac3dsp_init_aarch64.c | 5 + libavcodec/aarch64/ac3dsp_neon.S | 23 tests/checkasm/ac3dsp.c | 27 3 files changed, 55 insertions(+) diff --git

[FFmpeg-devel] [PATCH v4 3/5] avcodec/ac3: Implement ac3_extract_exponents for aarch64 NEON

2024-04-06 Thread Geoff Hill
Signed-off-by: Geoff Hill --- libavcodec/aarch64/ac3dsp_init_aarch64.c | 2 ++ libavcodec/aarch64/ac3dsp_neon.S | 14 + tests/checkasm/ac3dsp.c | 38 3 files changed, 54 insertions(+) diff --git

[FFmpeg-devel] [PATCH v4 2/5] avcodec/ac3: Implement ac3_exponent_min for aarch64 NEON

2024-04-06 Thread Geoff Hill
Signed-off-by: Geoff Hill --- libavcodec/aarch64/ac3dsp_init_aarch64.c | 2 ++ libavcodec/aarch64/ac3dsp_neon.S | 16 + tests/checkasm/ac3dsp.c | 41 3 files changed, 59 insertions(+) diff --git

[FFmpeg-devel] [PATCH v4 1/5] avcodec/ac3: Implement float_to_fixed24 for aarch64 NEON

2024-04-06 Thread Geoff Hill
Signed-off-by: Geoff Hill --- libavcodec/aarch64/Makefile | 2 ++ libavcodec/aarch64/ac3dsp_init_aarch64.c | 36 libavcodec/aarch64/ac3dsp_neon.S | 36 libavcodec/ac3dsp.c | 4 ++- libavcodec/ac3dsp.h

[FFmpeg-devel] [PATCH v4 0/5] avcodec/ac3: Add aarch64 NEON DSP

2024-04-06 Thread Geoff Hill
Thanks Martin for your review and testing. Here's v4 with the following changes: * Use fmal in sum_square_butterfly_float loop. Faster. * Removed redundant loop bound zero checks in extract_exponents, sum_square_bufferfly_int32 and sum_square_bufferfly_float. * Fixed

[FFmpeg-devel] [PATCH v2] lavc/vvc: Error if SPS ID is duplicated within CVS

2024-04-06 Thread Frank Plowman
Key line from the spec is: "All SPS NAL units with a particular value of sps_seq_parameter_set_id in a CVS shall have the same content." Prior to this patch, the VVC decoder's behaviour on encountering a duplicated SPS ID (within the entire bitstream, not restricted to a CVS) was simply to

Re: [FFmpeg-devel] [PATCH] lavc/vvc: Error if SPS ID is duplicated within CVS

2024-04-06 Thread Nuo Mi
Hi Frank, Thank you for the patch. On Thu, Apr 4, 2024 at 3:01 AM Frank Plowman wrote: > Key line from the spec is: > > "All SPS NAL units with a particular value of sps_seq_parameter_set_id > in a CVS shall have the same content." > > Prior to this patch, the VVC decoder's behaviour on

[FFmpeg-devel] [PATCH] avcodec/h264dec: Remove unused coded_picture_number

2024-04-06 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/h264_slice.c | 1 - libavcodec/h264dec.h| 1 - 2 files changed, 2 deletions(-) diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index 4b01c54147..f61af0d6d7 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@

Re: [FFmpeg-devel] [PATCH 08/11] fftools/opt_common: switch to avcodec_get_supported_config()

2024-04-06 Thread Niklas Haas
On Fri, 05 Apr 2024 16:36:50 -0300 James Almer wrote: > On 4/5/2024 3:57 PM, Niklas Haas wrote: > > From: Niklas Haas > > > > While rewriting this macro, I decided to make it a bit more flexible so > > it can work for all of the fields (including future fields) in a more > > generic way. > >

Re: [FFmpeg-devel] [PATCH] lavf/matroskaenc: sort options by name

2024-04-06 Thread Stefano Sabatini
On date Saturday 2024-04-06 13:25:49 +0200, Andreas Rheinhardt wrote: > Stefano Sabatini: > > --- > > libavformat/matroskaenc.c | 12 ++-- > > 1 file changed, 6 insertions(+), 6 deletions(-) > > [...] > See https://ffmpeg.org/pipermail/ffmpeg-devel/2024-February/320849.html >

Re: [FFmpeg-devel] [PATCH] lavf/matroskaenc: sort options by name

2024-04-06 Thread Andreas Rheinhardt
Stefano Sabatini: > --- > libavformat/matroskaenc.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c > index 566e9f4981..8ebe6e4334 100644 > --- a/libavformat/matroskaenc.c > +++

[FFmpeg-devel] [PATCH] avcodec/hevcdec: fix segfault on invalid film grain metadata

2024-04-06 Thread Niklas Haas
From: Niklas Haas Invalid input files may contain film grain metadata which survives ff_h274_film_grain_params_supported() but does not pass av_film_grain_params_select(), leading to a SIGSEGV on hevc_frame_end(). Fix this by duplicating the av_film_grain_params_select() check at frame init

[FFmpeg-devel] [PATCH] lavf/matroskaenc: sort options by name

2024-04-06 Thread Stefano Sabatini
--- libavformat/matroskaenc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 566e9f4981..8ebe6e4334 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -3500,20 +3500,20 @@ static

[FFmpeg-devel] [PATCH 5/7] doc/muxers: add kvag

2024-04-06 Thread Stefano Sabatini
--- doc/muxers.texi | 8 1 file changed, 8 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 6b85befb43..6eea856a40 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2717,6 +2717,14 @@ This muxer accepts a single @samp{jacosub} subtitles stream. For more

[FFmpeg-devel] [PATCH 7/7] doc/muxers: add lrc

2024-04-06 Thread Stefano Sabatini
--- doc/muxers.texi | 25 + 1 file changed, 25 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 6eea856a40..3928ebc549 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2725,6 +2725,31 @@ games such as "Real War", and "Real War: Rogue States".

[FFmpeg-devel] [PATCH 4/7] doc/muxers: add jacosub

2024-04-06 Thread Stefano Sabatini
--- doc/muxers.texi | 8 1 file changed, 8 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 29b6fa1427..6b85befb43 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2709,6 +2709,14 @@ Corporation), to store internally developed codecs. This muxer accepts a single

[FFmpeg-devel] [PATCH 4/7] doc/muxers: add jacosub

2024-04-06 Thread Stefano Sabatini
--- doc/muxers.texi | 8 1 file changed, 8 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 29b6fa1427..6b85befb43 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2709,6 +2709,14 @@ Corporation), to store internally developed codecs. This muxer accepts a single

[FFmpeg-devel] [PATCH 3/7] doc/muxers: add ivf

2024-04-06 Thread Stefano Sabatini
--- doc/muxers.texi | 9 + 1 file changed, 9 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index d8a1f83309..29b6fa1427 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2700,6 +2700,15 @@ computer-generated compositions. This muxer accepts a single audio stream

[FFmpeg-devel] [PATCH 2/2] avcodec/mpegvideo_enc: Remove custom plane copying code

2024-04-06 Thread Andreas Rheinhardt
It caused errors (see e.g. a066b8a809fa6d8b31398d41787822803f8762f2) and would not support negative linesizes (this is currently impossible to trigger as avcodec_default_get_buffer2() (used internally by ff_encode_alloc_frame()) does not use negative linesizes at all). Signed-off-by: Andreas

[FFmpeg-devel] [PATCH 1/2] avcodec/mpegvideo_enc: Reject input incompatible with chroma subsampling

2024-04-06 Thread Andreas Rheinhardt
Fixes ticket #10952. Discovered by: Zeng Yunxiang Signed-off-by: Andreas Rheinhardt --- I am pretty sure that a lot of other encoders don't handle this well either. Maybe we should handle this more generically in ff_encode_preinit? libavcodec/mpegvideo_enc.c | 12 1 file changed,

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: use a slash separator even in win32

2024-04-06 Thread Marton Balint
On Sun, 31 Mar 2024, Marton Balint wrote: We don't know if the protocol used is referring to a local file or a remote resource, so it is better to simply use slash as separator which works all the time. (well, except in very special cases when the user specified a \\?\ path) Fixes ticket

Re: [FFmpeg-devel] [PATCH] avfilter/buffersrc: never override channel count in av_buffersrc_add_frame_flags

2024-04-06 Thread Marton Balint
On Sun, 31 Mar 2024, Marton Balint wrote: Overriding unknown layouts with the negotiated layout is OK, but the number of channels should match with what was negotiated. Will apply. Regards, Marton Signed-off-by: Marton Balint --- libavfilter/buffersrc.c | 2 +- 1 file changed, 1

Re: [FFmpeg-devel] [PATCH] avfilter/buffersrc: fix overriding unknown channel layouts with negotiated one

2024-04-06 Thread Marton Balint
On Sat, 30 Mar 2024, James Almer wrote: On 3/29/2024 7:01 PM, Marton Balint wrote: On Sat, 23 Mar 2024, Marton Balint wrote: Fixes ffplay playback of unknown layouts, when SDL directly supports the audio format, such as: ffplay -f lavfi anullsrc=cl=2C,aformat=s16 Without the

Re: [FFmpeg-devel] [PATCH 2/2] avformat/lc3: Add file format for LC3/LC3plus transport

2024-04-06 Thread Stefano Sabatini
On date Thursday 2024-04-04 22:57:34 +, ffmpeg-devel Mailing List wrote: > From: Antoine SOULIER > > A file format is described in Bluetooth SIG LC3 and ETSI TS 103 634, for > test purpose. This is the format implemented here. > --- > Changelog| 1 + > doc/muxers.texi

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/liblc3dec: Retrieve duration of the last packet from the demux

2024-04-06 Thread Stefano Sabatini
On date Thursday 2024-04-04 22:57:33 +, ffmpeg-devel Mailing List wrote: > From: Antoine SOULIER > > Use the packet duration field to invalid last samples of the last frame. > --- > libavcodec/liblc3dec.c | 12 +++- > 1 file changed, 3 insertions(+), 9 deletions(-) Will apply this

Re: [FFmpeg-devel] [PATCH v4 0/4] Fix some active sequences in subtitles

2024-04-06 Thread Stefano Sabatini
On date Wednesday 2024-04-03 21:50:29 +0200, Oneric wrote: > On Mon, 19 Feb 2024 Oneric wrote: > > avcodec/webvttdec: honour bidi marks > > avcodec/{ass,webvttdec}: fix handling of backslashes > > avcodec/{ass,webvttdec}: more portable curly brace escapes > > avocdec/ass: simplify