[FFmpeg-devel] [PATCH] mips: fix build fail on MIPS R6

2022-11-30 Thread Junxian Zhu
From: Junxian Zhu Add macro define to avoid causing build fail with incompatible assembler code on MIPS R6. Signed-off-by: Junxian Zhu --- libavcodec/mips/cabac.h | 2 ++ libavcodec/mips/compute_antialias_fixed.h | 2 ++ libavutil/mips/generic_macros_msa.h | 6 +++---

[FFmpeg-devel] [PATCH] avcodec/mathops: Optimize generic mid_pred function

2022-11-30 Thread Junxian Zhu
From: Junxian Zhu Rewrite mid_pred function in generic mathops.h, reduce branch jump to improve performance. And because nowadays new version compiler can compile enough short asmbbely code as handwritting in these function, so remove specified optimized mips inline asmbbely mathops.h.

Re: [FFmpeg-devel] [PATCH v2 0/3] Some small ASS conversion fixes

2022-11-30 Thread Oneric
On Sun, Nov 20, 2022 at 01:15:33 +0100, Oneric wrote: > On Sun, Nov 13, 2022 at 20:57:15 +0100, Oneric wrote: > > This fixes colours and font selection for files converted to ASS > > Ping. > > As a reminder v1 and v2 are equivalent and patchwork is buggy and can > thus neither apply v1 or v2 and

[FFmpeg-devel] [PATCH v2] libavfilter/qsvvpp: Use different alignment for YUV420P format

2022-11-30 Thread wenbin . chen-at-intel . com
From: Wenbin Chen When process yuv420 frames, FFmpeg uses same alignment on Y/U/V planes. VPL and MSDK use Y plane's pitch / 2 as U/V planes's pitch, which makes U/V planes 16-bytes aligned. We need to set a separate alignment to meet runtime's behaviour. Now alignment is changed to 16 so that

Re: [FFmpeg-devel] [PATCH v5 2/2] lavc/vaapi_decode: add support for HWACCEL_CAP_RESET_WITHOUT_UNINIT

2022-11-30 Thread Wang, Fei W
On Mon, 2022-11-28 at 13:20 +, Mark Thompson wrote: > On 14/11/2022 01:16, Fei Wang wrote: > > This can fix vp9 decode image corruption when the frame size is > > change, > > but the pervious frames still be referenced. > > > > Surfaces don't need to be bound to vaContext only after VAAPI > >

[FFmpeg-devel] [PATCH] avcodec/mpeg12dec: Check input size

2022-11-30 Thread Michael Niedermayer
Fixes: Timeout Fixes: 53599/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IPU_fuzzer-4950102511058944 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/mpeg12dec.c | 4 1 file changed,

Re: [FFmpeg-devel] [PATCH 3/3] tools/target_dec_fuzzer: Adjust threshold for RSCC

2022-11-30 Thread Michael Niedermayer
On Sun, Nov 27, 2022 at 11:34:35PM +0100, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 53681/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RSCC_fuzzer-6627455180079104 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg >

Re: [FFmpeg-devel] [PATCH v2 07/31] avutil: use av_dict_iterate

2022-11-30 Thread Marvin Scholz
On 27 Nov 2022, at 16:06, James Almer wrote: > On 11/26/2022 11:46 AM, Marvin Scholz wrote: >> --- >> libavutil/opt.c| 12 ++-- >> libavutil/tests/dict.c | 2 +- >> 2 files changed, 7 insertions(+), 7 deletions(-) >> >> diff --git a/libavutil/opt.c b/libavutil/opt.c >> index

[FFmpeg-devel] [PATCH] avcodec/h274: fix include

2022-11-30 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/h274.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h274.h b/libavcodec/h274.h index 807b3a016a..920f6991fb 100644 --- a/libavcodec/h274.h +++ b/libavcodec/h274.h @@ -28,7 +28,7 @@ #ifndef AVCODEC_H274_H

Re: [FFmpeg-devel] [PATCH 2/5] avcodec/wavpack: Fix overflow in k=31

2022-11-30 Thread Paul B Mahol
On 9/11/22, Michael Niedermayer wrote: > Untested with "non fuzzed" samples as i have no such file > Then create it. > Fixes: shift exponent 32 is too large for 32-bit type 'int' > Fixes: > 50930/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WAVPACK_fuzzer-6319201949712384 > > Found-by:

Re: [FFmpeg-devel] [PATCH 3/5] avcodec/wavpack: Check for end of input in wv_unpack_dsd_high()

2022-11-30 Thread Michael Niedermayer
On Sun, Sep 11, 2022 at 04:27:19PM +0200, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 50793/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WAVPACK_fuzzer-4980185027444736 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg >

Re: [FFmpeg-devel] [PATCH 2/5] avcodec/wavpack: Fix overflow in k=31

2022-11-30 Thread Michael Niedermayer
On Sun, Sep 11, 2022 at 04:27:18PM +0200, Michael Niedermayer wrote: > Untested with "non fuzzed" samples as i have no such file > > Fixes: shift exponent 32 is too large for 32-bit type 'int' > Fixes: > 50930/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WAVPACK_fuzzer-6319201949712384 > >

Re: [FFmpeg-devel] [PATCH v2 05/31] avcodec/libvpxenc: use av_dict_iterate

2022-11-30 Thread James Zern
On Sat, Nov 26, 2022 at 6:47 AM Marvin Scholz wrote: > > --- > libavcodec/libvpxenc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > lgtm. > diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c > index 667cffc200..9aa5510c28 100644 > --- a/libavcodec/libvpxenc.c > +++