[FFmpeg-devel] [PATCH] swscale/ppc: disable YUV2RGB AltiVec acceleration

2024-11-18 Thread Sean McGovern
The FATE test 'checkasm-sw_yuv2rgb' currently fails on this platform, in both little- and big-endian configurations. Disable it by default. Add '-DSWS_USE_ALTIVEC_YUV2RGB' to CPPFLAGS to re-enable it. --- libswscale/ppc/yuv2rgb_altivec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libsw

[FFmpeg-devel] [PATCH 11/11] avcodec/codec_desc: remove Intra Only prop for AAC

2024-11-18 Thread James Almer
xHE-AAC is a profile where some frames depend on other key frames, named IPF. By setting the codec as Intra Only, all frames output by decoders and all packets output by encoders/demuxers will be unconditionally flaged as keyframes, which is incorrect. Should fix ticket #11272. Signed-off-by: Jam

Re: [FFmpeg-devel] [PATCH 1/4] lavc/riscv: Move VVC macro to h26x

2024-11-18 Thread Rémi Denis-Courmont
Le sunnuntaina 17. marraskuuta 2024, 15.17.49 EET flow gg a écrit : > > Generally speaking, I think that moving code should be done in dedicated > > patches. > > > > You can branch here. The rest of the byte code is the same in all but one > > cases. > > Updated this. Does not apply to HEAD. --

Re: [FFmpeg-devel] [PATCH] Revert "lavc/rv40dsp: R-V V chroma_mc"

2024-11-18 Thread flow gg
It seems like something overflowed, I'll take a look at it... Rémi Denis-Courmont 于2024年11月18日周一 00:51写道: > This reverts commit 5bc3b7f51308b8027e5468ef60d8336a960193e2. > > put_chroma_mc4, put_chroma_mc8 and avg_chroma_mc8 are confirmed to > break `fate-rv40`. It is probably just luck that avg_

[FFmpeg-devel] [PATCH 2/2] avformat/rpl: Fix check for negative values

2024-11-18 Thread Michael Niedermayer
Fixes: signed integer overflow: 10 * -192326792533340 cannot be represented in type 'int64_t' (aka 'long') Fixes: 378891963/clusterfuzz-testcase-minimized-fuzzer_loadfile_direct-5714338935013376 Found-by: ossfuzz Reported-by: Kacper Michajlow Signed-off-by: Michael Niedermayer --- libavfor

Re: [FFmpeg-devel] [PATCH 2/2] avformat/rpl: Fix check for negative values

2024-11-18 Thread James Almer
On 11/18/2024 4:37 AM, Rémi Denis-Courmont wrote: Hi, Le 18 novembre 2024 05:09:11 GMT+02:00, Michael Niedermayer a écrit : Fixes: signed integer overflow: 10 * -192326792533340 cannot be represented in type 'int64_t' (aka 'long') Fixes: 378891963/clusterfuzz-testcase-minimized-fuzzer_l

Re: [FFmpeg-devel] [PATCH] swscale/ppc: remove AltiVec acceleration for YUV->RGB conversions

2024-11-18 Thread Sean McGovern
Hi Andreas, On Fri, Nov 15, 2024, 14:34 Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Sean McGovern: > > Even on a reasonably modern POWER9 (ppc64le), it does not function > correctly. > > IMO the commit message should contain a bit more information about what > doesn't function

Re: [FFmpeg-devel] [PATCH] swscale/ppc: remove AltiVec acceleration for YUV->RGB conversions

2024-11-18 Thread Sean McGovern
Hi Andrew, On Fri, Nov 15, 2024, 13:44 Andrew Randrianasulu wrote: > чт, 14 нояб. 2024 г., 23:38 Sean McGovern : > > > Even on a reasonably modern POWER9 (ppc64le), it does not function > > correctly. > > > > > I was under impression it was mostly developed and used on older G4/G5 > cpus (big

[FFmpeg-devel] [PATCH] d3d12va_encode_hevc: use base to init VPS/SPS/PPS

2024-11-18 Thread Tong Wu
Patch attached. Tong 0001-d3d12va_encode_hevc-use-base-to-init-VPS-SPS-PPS.patch Description: 0001-d3d12va_encode_hevc-use-base-to-init-VPS-SPS-PPS.patch ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-d

Re: [FFmpeg-devel] [PATCH 1/2] lavc/vaapi_encode: Query surface alignment

2024-11-18 Thread David Rosca
On Tue, Oct 22, 2024 at 5:28 PM David Rosca wrote: > > It needs to create temporary config to query surface attribute. > --- Ping. Thanks, David > libavcodec/vaapi_encode.c | 66 +++ > libavcodec/vaapi_encode.h | 4 +++ > 2 files changed, 70 insertions(+) >

Re: [FFmpeg-devel] [PATCH] libavutil/riscv: Make use of elf_aux_info() on FreeBSD / OpenBSD riscv

2024-11-18 Thread Rémi Denis-Courmont
Le maanantaina 18. marraskuuta 2024, 4.02.39 EET Brad Smith a écrit : > libavutil/riscv: Make use of elf_aux_info() on FreeBSD / OpenBSD riscv > > FreeBSD/OpenBSD riscv have elf_aux_info(). Does OpenBSD use the same HWCAP encoding as Linux and FreeBSD? On real contemporary commercial hardware, t

Re: [FFmpeg-devel] [RFC] infrastructure documentation

2024-11-18 Thread compn
On Sat, 16 Nov 2024 10:12:13 -1000 compn wrote: > Here is a list of things people want documented. gathered from > previous emails and memories: > > 1. Complete list of infrastructure > 2. where servers are hosted (see infra.txt, our Telepoint.bg host) > 3. who has what access (physical and remo

Re: [FFmpeg-devel] [PATCH] swscale/ppc: remove AltiVec acceleration for YUV->RGB conversions

2024-11-18 Thread Andreas Rheinhardt
Sean McGovern: > Hi Andreas, > > > On Fri, Nov 15, 2024, 14:34 Andreas Rheinhardt < > andreas.rheinha...@outlook.com> wrote: > >> Sean McGovern: >>> Even on a reasonably modern POWER9 (ppc64le), it does not function >> correctly. >> >> IMO the commit message should contain a bit more information

Re: [FFmpeg-devel] [PATCH 1/4] lavc/riscv: Move VVC macro to h26x

2024-11-18 Thread flow gg
> Generally speaking, I think that moving code should be done in dedicated > patches. > You can branch here. The rest of the byte code is the same in all but one > cases. Updated this. 于2024年11月17日周日 21:17写道: > From: sunyuechi > > --- > libavcodec/riscv/h26x/asm.S | 127 +++

[FFmpeg-devel] [PATCH] avcodec/mjpegdec: Disallow progressive bayer images

2024-11-18 Thread Michael Niedermayer
Fixes: Null pointer dereference Fixes: sample1.dng Found-by: South East <8billion.peo...@gmail.com> Signed-off-by: Michael Niedermayer --- libavcodec/mjpegdec.c | 4 1 file changed, 4 insertions(+) diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 86ec58713cb..ef4fc075b21 100

Re: [FFmpeg-devel] [PATCH] Fix incorrect enum type used for a local variable

2024-11-18 Thread Marth64
Pushed with white space fix. Thanks. ___ 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 "unsubscribe".

Re: [FFmpeg-devel] [PATCH 01/15] libavformat: Increase probe buffer to 16MB

2024-11-18 Thread Tomas Härdin
tor 2024-11-14 klockan 01:26 +0100 skrev Michael Niedermayer: > On Wed, Nov 13, 2024 at 03:26:40PM +0100, Tomas Härdin wrote: > > ons 2024-11-13 klockan 14:40 +0100 skrev Michael Niedermayer: > > > Hi > > > > > > On Tue, Oct 29, 2024 at 03:44:30PM +0100, Tomas Härdin wrote: > > > > Needs a sample.

[FFmpeg-devel] [PATCH] avfilter/textutils: Add missing time_internal.h

2024-11-18 Thread Zhao Zhili
From: Zhao Zhili This fix build error on Windows with MSVC. We need time_internal.h for gmtime_r and localtime_r. Signed-off-by: Zhao Zhili --- libavfilter/textutils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/textutils.c b/libavfilter/textutils.c index e6b5239b20..eabf84

[FFmpeg-devel] [PATCH 2/4] lavc/vvc_mc: R-V V put_pixels

2024-11-18 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)28.0 ( 2.12x) put_chroma_pixels_8_8