[FFmpeg-devel] [PATCH] Fix static linking openssl library

2017-06-10 Thread atopilski
From: topilski --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 4ec8f21..c92dd1f 100755 --- a/configure +++ b/configure @@ -5942,6 +5942,7 @@ enabled omx && { check_header OMX_Core.h || die "ERROR: OpenMAX IL enabled openssl

Re: [FFmpeg-devel] [PATCH] avcodec/vp9: ipred_dr_16x16_16 avx2 implementation

2017-06-10 Thread gh0st
Yes, you are right, I'll send a patch with this fixed, thanks. On Sat, Jun 10, 2017 at 5:35 AM, Ivan Kalvachev wrote: > On 6/9/17, Ilia Valiakhmetov wrote: > > Signed-off-by: Ilia Valiakhmetov > > --- > > libavcodec/x86/vp9dsp_init_16bpp.c| 2 ++ > > libavcodec/x86/vp9intrapred_16bpp.asm

[FFmpeg-devel] [PATCH] avcodec/vp9: ipred_dr_16x16_16 avx2 implementation

2017-06-10 Thread Ilia Valiakhmetov
Signed-off-by: Ilia Valiakhmetov --- libavcodec/x86/vp9dsp_init_16bpp.c| 2 ++ libavcodec/x86/vp9intrapred_16bpp.asm | 56 +++ 2 files changed, 58 insertions(+) diff --git a/libavcodec/x86/vp9dsp_init_16bpp.c b/libavcodec/x86/vp9dsp_init_16bpp.c index d1b8fc

Re: [FFmpeg-devel] [WIP][PATCH] Opus Piramid Vector Quantization Search in x86 SIMD asm

2017-06-10 Thread James Darnley
On 2017-06-09 13:41, Ivan Kalvachev wrote: > On 6/9/17, Michael Niedermayer wrote: >> seems this breaks build with mingw64, didnt investigate but it >> fails with these errors: >> >> libavcodec/libavcodec.a(opus_pvq_search.o):src/libavcodec/x86/opus_pvq_search.asm:(.text+0x2d): >> relocation trunc

Re: [FFmpeg-devel] [PATCH] fate: add test for -time_base option

2017-06-10 Thread Michael Niedermayer
On Fri, Jun 09, 2017 at 03:10:56PM -0700, Michael Bradshaw wrote: > Hi, > > Attached patch adds a FATE test for the -time_base option, as > promised[1] (months ago). This is my first FATE patch, so please be > sure to check for stupid mistakes and whatnot. I'm happy to revise it > as needed. > >

Re: [FFmpeg-devel] [PATCH] avcodec/fft_template: Fix multiple runtime error: signed integer overflow: -1943918714 - 1935113003 cannot be represented in type 'int'

2017-06-10 Thread wm4
On Sat, 10 Jun 2017 02:50:11 +0300 Ivan Kalvachev wrote: > On 6/9/17, wm4 wrote: > > On Fri, 9 Jun 2017 00:10:49 +0200 > > Michael Niedermayer wrote: > > > >> On Sat, May 27, 2017 at 12:24:16PM +0200, wm4 wrote: > >> > On Sat, 27 May 2017 03:56:42 +0200 > >> > Michael Niedermayer wrote: >

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/htmlsubtitles: Protect very slow redundant sscanf() calls by optimized use of strchr()

2017-06-10 Thread wm4
On Fri, 9 Jun 2017 19:39:36 +0200 Michael Niedermayer wrote: > On Fri, Jun 09, 2017 at 04:32:41PM +0200, wm4 wrote: > > On Thu, 8 Jun 2017 23:53:55 +0200 > > Michael Niedermayer wrote: > > > > > Fixes Timeout > > > Fixes: 2127/clusterfuzz-testcase-minimized-6595787859427328 > > > > > > Sign

Re: [FFmpeg-devel] [PATCH] Fix static linking openssl library

2017-06-10 Thread Ricardo Constantino
On 10 June 2017 at 09:13, wrote: > From: topilski > > --- > configure | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configure b/configure > index 4ec8f21..c92dd1f 100755 > --- a/configure > +++ b/configure > @@ -5942,6 +5942,7 @@ enabled omx && { check_header > OMX_Core

[FFmpeg-devel] [WIP] [PATCH 0/5] sse2/avx functions for 8-bit simple_idct

2017-06-10 Thread James Darnley
So here is my second work in progress patch set. These are the functions from the second half of my previous. With Ronald's rounding contribution I am much closer to finishing. As I mentioned on IRC I think the speed of decoding an MPEG2 HD sample has increased from 215 to 235 fps. I still have

[FFmpeg-devel] [PATCH 3/5] more cleanup

2017-06-10 Thread James Darnley
--- libavcodec/x86/simple_idct10_template.asm | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavcodec/x86/simple_idct10_template.asm b/libavcodec/x86/simple_idct10_template.asm index c0d1637ca2..3f398985a5 100644 --- a/libavcodec/x86/simple_idct10_template.

[FFmpeg-devel] [PATCH 1/5] avcodec/x86: cleanup simple_idct10

2017-06-10 Thread James Darnley
Use named arguments for the functions so we can remove a define. The stride/linesize argument is now ptrdiff_t type so we no longer need to sign extend the register. --- libavcodec/x86/proresdsp.asm | 2 +- libavcodec/x86/simple_idct10.asm | 8 ++-- libavcodec/x86/simple_i

[FFmpeg-devel] [PATCH 2/5] avcodec/x86: add x86-64 8-bit simple_idct function

2017-06-10 Thread James Darnley
Rounding contributed by Ronald S. Bultje --- libavcodec/tests/x86/dct.c | 2 ++ libavcodec/x86/idctdsp_init.c| 19 +++ libavcodec/x86/simple_idct.h | 3 +++ libavcodec/x86/simple_idct10.asm | 8 4 files changed, 32 insertions(+) diff --git a/libavcodec/te

[FFmpeg-devel] [PATCH 4/5] avcodec/x86: add x86-64 8-bit simple_idct put function

2017-06-10 Thread James Darnley
--- libavcodec/x86/idctdsp_init.c| 2 ++ libavcodec/x86/simple_idct.h | 3 +++ libavcodec/x86/simple_idct10.asm | 23 +++ 3 files changed, 28 insertions(+) diff --git a/libavcodec/x86/idctdsp_init.c b/libavcodec/x86/idctdsp_init.c index 4b2145e478..1826d01e0e 100644

[FFmpeg-devel] [PATCH 5/5] avcodec/x86: add x86-64 8-bit simple_idct add function

2017-06-10 Thread James Darnley
--- libavcodec/x86/idctdsp_init.c| 2 ++ libavcodec/x86/simple_idct.h | 3 ++ libavcodec/x86/simple_idct10.asm | 61 3 files changed, 66 insertions(+) diff --git a/libavcodec/x86/idctdsp_init.c b/libavcodec/x86/idctdsp_init.c index 1826d01e0e..ca

Re: [FFmpeg-devel] [PATCH] Fix static linking openssl library

2017-06-10 Thread Alexandr Topilski
Hi, on my machine i have built openssl libraries in static mode only, after that i want to build ffmpeg library with https protocol support and configuration failed (undefined reference to 'dlopen') in check_lib openssl because for linking needed dl library, if linked .so libraries first check(chec

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/htmlsubtitles: Protect very slow redundant sscanf() calls by optimized use of strchr()

2017-06-10 Thread Michael Niedermayer
On Sat, Jun 10, 2017 at 01:36:29PM +0200, wm4 wrote: > On Fri, 9 Jun 2017 19:39:36 +0200 > Michael Niedermayer wrote: > > > On Fri, Jun 09, 2017 at 04:32:41PM +0200, wm4 wrote: > > > On Thu, 8 Jun 2017 23:53:55 +0200 > > > Michael Niedermayer wrote: > > > > > > > Fixes Timeout > > > > Fixes:

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/htmlsubtitles: Protect very slow redundant sscanf() calls by optimized use of strchr()

2017-06-10 Thread Ronald S. Bultje
Hi, On Fri, Jun 9, 2017 at 1:39 PM, Michael Niedermayer wrote: > If we want to make ff_htmlmarkup_to_ass() not go into near infinite > loops What's a near-infinite loop? Is it non-infinite loop, i.e. just a loop? Or is there special something special about it? :-). "Fix [..] near-infinite loop

Re: [FFmpeg-devel] [PATCH] fate: add test for -time_base option

2017-06-10 Thread James Almer
On 6/9/2017 7:10 PM, Michael Bradshaw wrote: > Hi, > > Attached patch adds a FATE test for the -time_base option, as > promised[1] (months ago). This is my first FATE patch, so please be > sure to check for stupid mistakes and whatnot. I'm happy to revise it > as needed. > > Thanks, > > --Michae

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/htmlsubtitles: Protect very slow redundant sscanf() calls by optimized use of strchr()

2017-06-10 Thread Uoti Urpala
On Sat, 2017-06-10 at 16:18 +0200, Michael Niedermayer wrote: > So we are guranteed that anyone who wants to exploit this has the > ability to do so as long as they can use the search mask and are able > to remux the data into whatever format they need. > And i belive this publication of issues is

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/htmlsubtitles: Protect very slow redundant sscanf() calls by optimized use of strchr()

2017-06-10 Thread Michael Niedermayer
On Sat, Jun 10, 2017 at 11:14:45AM -0400, Ronald S. Bultje wrote: > Hi, > > On Fri, Jun 9, 2017 at 1:39 PM, Michael Niedermayer > wrote: > > > If we want to make ff_htmlmarkup_to_ass() not go into near infinite > > loops > > > What's a near-infinite loop? Is it non-infinite loop, i.e. just a l

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/htmlsubtitles: Protect very slow redundant sscanf() calls by optimized use of strchr()

2017-06-10 Thread Michael Niedermayer
On Sat, Jun 10, 2017 at 11:31:42PM +0300, Uoti Urpala wrote: > On Sat, 2017-06-10 at 16:18 +0200, Michael Niedermayer wrote: > > So we are guranteed that anyone who wants to exploit this has the > > ability to do so as long as they can use the search mask and are able > > to remux the data into wha

Re: [FFmpeg-devel] [PATCH] avcodec/fft_template: Fix multiple runtime error: signed integer overflow: -1943918714 - 1935113003 cannot be represented in type 'int'

2017-06-10 Thread Michael Niedermayer
On Sat, May 27, 2017 at 12:21:25PM +0200, Michael Niedermayer wrote: > Fixes: 1735/clusterfuzz-testcase-minimized-5350472347025408 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael Niedermayer > --- > libavcodec/ff

Re: [FFmpeg-devel] [PATCH] avcodec/fft_template: Fix multiple runtime error: signed integer overflow: -1943918714 - 1935113003 cannot be represented in type 'int'

2017-06-10 Thread Ivan Kalvachev
On 6/10/17, Ronald S. Bultje wrote: > Hi, > > On Thu, Jun 8, 2017 at 8:57 PM, Michael Niedermayer > wrote: > >> On Thu, Jun 08, 2017 at 06:35:07PM -0400, Ronald S. Bultje wrote: >> > Hi, >> > >> > On Thu, Jun 8, 2017 at 6:10 PM, Michael Niedermayer >> >> > wrote: >> > >> > > Signed value in >> >

[FFmpeg-devel] [PATCH] Add support for RockChip Media Process Platform This adds hardware decoding for h264 / HEVC / VP8 using MPP Rockchip API. Will return frames holding a av_drmprime struct that al

2017-06-10 Thread LongChair .
From: LongChair --- Changelog | 1 + configure | 12 ++ libavcodec/Makefile| 4 + libavcodec/allcodecs.c | 6 + libavcodec/drmprime.h | 17 ++ libavcodec/rkmppdec.c | 522 + libavutil/pixdesc.c| 4 + li