Re: [FFmpeg-devel] [PATCH] lavf/mp3dec: increase probe score of buffers entirely composed of valid packets

2019-03-16 Thread Michael Niedermayer
On Sat, Mar 16, 2019 at 05:24:46AM -0500, Rodger Combs wrote: > Fixes some files misdetecting as MPEG PS > --- > libavformat/mp3dec.c | 4 ++-- If MPEG PS misdetects a file, i would first try to fix the mpeg ps probe to not misdetect it and produce a lower score for whatever makes this file not

Re: [FFmpeg-devel] [PATCH] libavcodec Adding ff_v210_planar_unpack AVX2

2019-03-16 Thread Mike Stoner
Hello, I resent my AVX2 patch for v210 unpacking.  My first attempt didn't get picked up by the Patchwork list for some reason. I installed Linux on a Broadwell laptop to utilize James Darnley's checkasm patch for v210 decode.  The results are below.   AVX2 gets a nice boost from replacing

[FFmpeg-devel] [PATCH] avcodec/dxtory: Check slice sizes before allocating image

2019-03-16 Thread Michael Niedermayer
Fixes: Timeout (26sec -> 2sec) Fixes: 13612/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DXTORY_fuzzer-5676845977042944 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/dxtory.c | 10

[FFmpeg-devel] [PATCH 5/5] aarch64/opusdsp: implement NEON accerelated postfilter and deemphasis

2019-03-16 Thread Lynne
153372 UNITS in postfilter_c,   65536 runs,  0 skips 73164 UNITS in postfilter_neon,   65536 runs,  0 skips -> 2.1x speedup 80591 UNITS in deemphasis_c,  131072 runs,  0 skips 43969 UNITS in deemphasis_neon,  131072 runs,  0 skips -> 1.83x speedup Total decoder speedup: ~15% on a

[FFmpeg-devel] [PATCH 4/5] x86/opusdsp: implement FMA3 accelerated postfilter and deemphasis

2019-03-16 Thread Lynne
58893 decicycles in deemphasis_c,  130548 runs,    524 skips 9475 decicycles in deemphasis_fma3,  130686 runs,    386 skips -> 6.21x speedup 24866 decicycles in postfilter_c,   65386 runs,    150 skips 5268 decicycles in postfilter_fma3,   65505 runs, 31 skips -> 4.72x speedup Total decoder

[FFmpeg-devel] [PATCH 3/5] opusdsp: create and move deemphasis and postfiltering from opus_celt

2019-03-16 Thread Lynne
Nothing else changed. >From 5bf6dc93339a231bd82f09cc6a2b9becb5af0f4a Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 15 Mar 2019 14:35:03 + Subject: [PATCH 3/5] opusdsp: create and move deemphasis and postfiltering from opus_celt --- libavcodec/Makefile| 3 ++- libavcodec/opus_celt.c

Re: [FFmpeg-devel] [PATCH 1/5] x86/opus_dsp: rename to celt_pvq

2019-03-16 Thread Lynne
16 Mar 2019, 16:26 by d...@lynne.ee: > Its only used in the encoder and in CELT's PVQ. > > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel >

[FFmpeg-devel] [PATCH 2/5] celt_pvq_init: only build when CONFIG_OPUS_ENCODER is enabled

2019-03-16 Thread Lynne
The entire function was defined away before. >From c547198da31bd748d5f9c9eddbe6bf3b1831fdfc Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 15 Mar 2019 14:32:08 + Subject: [PATCH 2/5] celt_pvq_init: only build when CONFIG_OPUS_ENCODER is enabled The entire function was defined away before.

[FFmpeg-devel] [PATCH 1/5] x86/opus_dsp: rename to celt_pvq

2019-03-16 Thread Lynne
Its only used in the encoder and in CELT's PVQ. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] libavcodec Adding ff_v210_planar_unpack AVX2

2019-03-16 Thread Michael Stoner
Replaced VSHUFPS with VPBLENDD to relieve port 5 bottleneck AVX2 is 1.4x faster than AVX --- libavcodec/v210dec.c | 10 +- libavcodec/x86/v210-init.c | 8 + libavcodec/x86/v210.asm| 72 +- 3 files changed, 73 insertions(+), 17 deletions(-)

[FFmpeg-devel] avcodec/proresenc (aw and ks) : use correct bitstream version in frame header

2019-03-16 Thread Martin Vignali
Hello Patch in attach change bitstream version in prores frame header (based on RDD36) 0 for 422 1 for 444 with ou without alpha 001 : Fix for prores_aw (update 444 fate test) 002 : Fix for prores_ks (no fate update because 444 is not tested for ks encoder) Pass fate for me (x86_64 macos)

Re: [FFmpeg-devel] [PATCH] lavf/mp3dec: increase probe score of buffers entirely composed of valid packets

2019-03-16 Thread Carl Eugen Hoyos
Am Sa., 16. März 2019 um 11:25 Uhr schrieb Rodger Combs : > > Fixes some files misdetecting as MPEG PS Please provide such a sample. Thank you, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH] lavf/mp3dec: increase probe score of buffers entirely composed of valid packets

2019-03-16 Thread Rodger Combs
Fixes some files misdetecting as MPEG PS --- libavformat/mp3dec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index ef884934e1..81da0c6090 100644 --- a/libavformat/mp3dec.c +++ b/libavformat/mp3dec.c @@ -100,13 +100,13 @@

[FFmpeg-devel] [PATCH 2/2] lavf/movdec: use a more appropriate error code for bad trun atoms

2019-03-16 Thread Rodger Combs
--- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 0dfee2e7c4..9ed109962f 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -4785,7 +4785,7 @@ static int mov_read_trun(MOVContext *c, AVIOContext *pb,

[FFmpeg-devel] [PATCH 1/2] lavf/movdec: fix demuxing files with 0-entry trun atoms

2019-03-16 Thread Rodger Combs
Regressed in 4a9d32baca3af0d1831f9556a922c7ab5b426b10 --- libavformat/mov.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index a7d444b0ee..0dfee2e7c4 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -4739,6 +4739,8 @@ static int

[FFmpeg-devel] [PATCH] avcodec/truemotion2: Fix integer overflow in tm2_null_res_block()

2019-03-16 Thread Michael Niedermayer
Fixes: signed integer overflow: 638592 - -2122219136 cannot be represented in type 'int' Fixes: 13441/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION2_fuzzer-5732769815068672 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

Re: [FFmpeg-devel] Bug in YUV decoder

2019-03-16 Thread Reto Kromer
Ben Hutchinson wrote: >What is top posting? I'll try to avoid it if I know what it is. Then please "google" it. Thanks! https://ffmpeg.org/contact.html#MailingLists https://en.wikipedia.org/wiki/Posting_style#Top-posting ___ ffmpeg-devel mailing list