[FFmpeg-devel] [PATCH] avcodec/ffv1: Implement 2D RLE for remap

2025-03-20 Thread Michael Niedermayer
This performs about as good as the non LRU system for 16bit and better than then the LRU system for 16 converted to 32. So its basically performing best in all cases we have atm making the LRU system unneeded. Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/ff

Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenccenc: add support for CENC AV1 encryption

2025-03-20 Thread Andreas Rheinhardt
James Almer: > On 3/20/2025 11:55 PM, Andreas Rheinhardt wrote: >> Duplicating .o files is meant for small stuff, not for gigantic things >> like cbs_av1.o (whose .text is 86519B here). > > This feature requires complete frame and tile group parsing, which in > turn requires complete sequence head

Re: [FFmpeg-devel] [PATCH] tests: Fix enhanced-flv-hevc-hdr10 on big endian systems

2025-03-20 Thread Zhao Zhili
> On Mar 21, 2025, at 05:50, James Almer wrote: > > On 3/20/2025 10:17 AM, Zhao Zhili wrote: >> From: Zhao Zhili >> hevc decoder output native endian yuv420p10. yuv420p10 is alias of >> yuv420p10le on little endian system, and yuv420p10be on big endian >> system. >> --- >> tests/fate/flvenc.

Re: [FFmpeg-devel] [PATCH] RISC-V:update ff_get_cpu_flags_riscv for RVV

2025-03-20 Thread Rémi Denis-Courmont
Hi, Le 21 mars 2025 04:12:14 GMT+02:00, daichengrong a écrit : > >在 2025/3/20 19:17:21, Rémi Denis-Courmont : >> Hi, >> >> Le 20 mars 2025 11:27:39 GMT+02:00, daichengrong >> a écrit : > Availability of RVV and ZVBB should be determined with dl_hwcap. No. That's completely superfluou

[FFmpeg-devel] [PATCH] rtpdec_mpeg4: Add fmtp parsing of bitrate value

2025-03-20 Thread Marvin Scholz
According to RFC 6416 the audio stream sender can pass the data rate for the audio bitstream as "bitrate=" media format parameter. Signed-off-by: Marvin Scholz --- libavformat/rtpdec_mpeg4.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavformat/rtpdec_mpeg4.c b/libavformat/rtpde

Re: [FFmpeg-devel] [FFmpeg-cvslog] ffbuild: use response files only if ar accepts them

2025-03-20 Thread Gyan Doshi
On 2025-03-20 05:39 am, Ramiro Polla wrote: On Tue, Mar 18, 2025 at 11:06 AM Gyan Doshi wrote: ffmpeg | branch: master | Gyan Doshi | Mon Mar 17 20:57:28 2025 +0530| [740d4009656abeb006e2d43001b59d875c1a7a6a] | committer: Gyan Doshi ffbuild: use response files only if ar accepts them Sorr

Re: [FFmpeg-devel] [FFmpeg-cvslog] ffbuild: use response files only if ar accepts them

2025-03-20 Thread Martin Storsjö
On Thu, 20 Mar 2025, Ramiro Polla wrote: On Tue, Mar 18, 2025 at 11:06 AM Gyan Doshi wrote: ffmpeg | branch: master | Gyan Doshi | Mon Mar 17 20:57:28 2025 +0530| [740d4009656abeb006e2d43001b59d875c1a7a6a] | committer: Gyan Doshi ffbuild: use response files only if ar accepts them Sorry

Re: [FFmpeg-devel] [PATCH] RISC-V:update ff_get_cpu_flags_riscv for RVV

2025-03-20 Thread Rémi Denis-Courmont
Hi, Le 20 mars 2025 11:27:39 GMT+02:00, daichengrong a écrit : >>> Availability of RVV and ZVBB should be determined with dl_hwcap. >> No. That's completely superfluous since we already check for kernel support >> with hwprobe(). >No. If the operating system does not enable dl_hwcap support for

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1: Implement 2D RLE for remap

2025-03-20 Thread Lynne
On 20/03/2025 23:30, Michael Niedermayer wrote: This performs about as good as the non LRU system for 16bit and better than then the LRU system for 16 converted to 32. So its basically performing best in all cases we have atm making the LRU system unneeded. Test on *real* 32-bit content, please

Re: [FFmpeg-devel] [PATCH v5] Mark C globals with small code model

2025-03-20 Thread Pranav Kant via ffmpeg-devel
Patch version v5: - Uses two new macros DECLARE_ASM_VAR (used for both external and inline asm) and DECLARE_EXTERNAL_ASM_VAR (used only for external asm) - I intend to remove explicit existing use of attribute_visibility_hidden in follow-up patch and instead use DECLARE_EXTERNAL_ASM_VAR for those v

Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenccenc: add support for CENC AV1 encryption

2025-03-20 Thread James Almer
On 3/20/2025 11:55 PM, Andreas Rheinhardt wrote: Duplicating .o files is meant for small stuff, not for gigantic things like cbs_av1.o (whose .text is 86519B here). This feature requires complete frame and tile group parsing, which in turn requires complete sequence header parsing. The amount

Re: [FFmpeg-devel] [PATCH] tests/checkasm/videodsp: Don't use declare_func_emms

2025-03-20 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patch attached. > > - Andreas > Will apply tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above,

Re: [FFmpeg-devel] [PATCH v8 0/8] Properly decode ogg metadata in ogg/{vorbis, flac, opus} chained bitstreams

2025-03-20 Thread Michael Niedermayer
Hi Romain On Sun, Mar 16, 2025 at 07:59:59PM -0500, Romain Beauxis wrote: > Le dim. 16 mars 2025 à 19:20, Michael Niedermayer > a écrit : > > > > On Sat, Mar 15, 2025 at 07:08:05PM -0500, Romain Beauxis wrote: > > > Hi all! > > > > > > > > > Le jeu. 13 mars 2025 à 08:43, Michael Niedermayer > > >

Re: [FFmpeg-devel] [PATCH] RISC-V:update ff_get_cpu_flags_riscv for RVV

2025-03-20 Thread daichengrong
hi, The reply email was mistakenly classified as spam, resulting in not being seen in time. Late reply. 在 2025/3/15 12:03:09, Rémi Denis-Courmont : Hi, Le 14 mars 2025 17:32:57 GMT+07:00, daichengr...@iscas.ac.cn a écrit : From: daichengrong Availability of RVV and ZVBB should be determi

[FFmpeg-devel] [PATCH] libswresample/riscv:add RVV optimized for conv_flt_to_s16

2025-03-20 Thread daichengrong
From: daichengrong This patch introduces RVV optimized for conv_flt_to_s16. On Banana PI F3, it gets an average improvement of 5% for 2 SAMPLES. --- libswresample/audioconvert.c | 2 + libswresample/riscv/Makefile | 3 ++ libswresample/riscv/audio_convert_init.c | 5

Re: [FFmpeg-devel] [PATCH] swscale/tests/swscale: Fix potential buffer overflow

2025-03-20 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patch attached > > - Andreas > Will apply this patch tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit li

Re: [FFmpeg-devel] [PATCH] avcodec/webvttdec: update documentation

2025-03-20 Thread Andreas Rheinhardt
Leon Grutters: > The previous link lead to a 404 page as that page doesn't exist anymore. > > Signed-off-by: Leon Grutters > --- > libavcodec/webvttdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/webvttdec.c b/libavcodec/webvttdec.c > index 35bdbe805d..

Re: [FFmpeg-devel] [PATCH] avcodec/webvttdec: strip classes

2025-03-20 Thread Andreas Rheinhardt
Leon Grutters: > If a supported tag has a class, e.g "" it is ignored entirely; > so for example "Hello" would be converted to "Hello{\i0}" > instead of the intended "{\i1}Hello{\i0}". > > Signed-off-by: Leon Grutters > --- > libavcodec/webvttdec.c | 51 +-

Re: [FFmpeg-devel] [PATCH] avutil/csp: Improve enum range comparisons

2025-03-20 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patch attached. > > - Andreas > Will apply this patch tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit l

[FFmpeg-devel] [PATCH 2/2] avformat/movenccenc: add support for CENC AV1 encryption

2025-03-20 Thread James Almer
Signed-off-by: James Almer --- configure| 2 +- libavformat/Makefile | 1 + libavformat/cbs.c| 1 + libavformat/cbs_av1.c| 1 + libavformat/movenc.c | 13 ++- libavformat/movenccenc.c | 223 ++- libavformat/movenccen

[FFmpeg-devel] [PATCH 1/2] avcodec/cbs_av1: also store a pointer to the start of the tile group data

2025-03-20 Thread James Almer
This will be useful a following commit, where the offset of the Tile Group inside a Frame OBU needs to be known. Signed-off-by: James Almer --- libavcodec/cbs_av1.c | 91 ++-- libavcodec/cbs_av1.h | 4 ++ libavcodec/cbs_av1_syntax_template

Re: [FFmpeg-devel] [PATCH] avcodec/webvttdec: strip classes

2025-03-20 Thread Leon Grutters
On 3/20/25 9:02 AM, Andreas Rheinhardt wrote: Leon Grutters: If a supported tag has a class, e.g "" it is ignored entirely; so for example "Hello" would be converted to "Hello{\i0}" instead of the intended "{\i1}Hello{\i0}". Signed-off-by: Leon Grutters --- libavcodec/webvttdec.c | 51 +++