Re: [libav-devel] [PATCH 3/5] configure: Drop require() helper function in favor of require2()

2016-09-05 Thread Luca Barbato
On 05/09/16 20:31, Diego Biurrun wrote: > The latter does everything the former can do, but also handles > multiple header #includes. > --- > configure | 10 +- > 1 file changed, 1 insertion(+), 9 deletions(-) > OK. ___ libav-devel mailing

Re: [libav-devel] [PATCH 2/5] configure: Drop check_lib() helper function in favor of check_lib2()

2016-09-05 Thread Luca Barbato
On 05/09/16 20:31, Diego Biurrun wrote: > The latter does everything the former can do, but also handles > multiple header #includes. > --- > configure | 42 +- > 1 file changed, 17 insertions(+), 25 deletions(-) > Fine for me.

Re: [libav-devel] [PATCH 1/5] build: Fix directory dependencies of tests/pixfmts.mak target

2016-09-05 Thread Luca Barbato
On 05/09/16 20:31, Diego Biurrun wrote: > --- > tests/fate/filter-video.mak | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak > index d931548..82d0a62 100644 > --- a/tests/fate/filter-video.mak > +++

Re: [libav-devel] [PATCH 9/9] audiodsp/x86: yasmify vector_clipf_sse

2016-09-05 Thread James Almer
On 9/5/2016 11:40 AM, James Almer wrote: > On 9/5/2016 10:15 AM, Henrik Gramner wrote: >> On Mon, Sep 5, 2016 at 1:02 PM, Anton Khirnov wrote: +cglobal vector_clipf, 3, 3, 6, dst, src, len, min, max +%if ARCH_X86_32 +VBROADCASTSS m0, minm +

Re: [libav-devel] [PATCH 1/2] avcodec: bump minor version

2016-09-05 Thread Sean McGovern
On Mon, Sep 5, 2016 at 8:56 PM, Martin Storsjö wrote: > On Mon, 5 Sep 2016, Sean McGovern wrote: > > --- >> libavcodec/version.h |2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> > > Please change the commit message to say micro, not minor > > Otherwise it seems ok.

Re: [libav-devel] [PATCH 1/2] avcodec: bump minor version

2016-09-05 Thread Martin Storsjö
On Mon, 5 Sep 2016, Sean McGovern wrote: --- libavcodec/version.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Please change the commit message to say micro, not minor Otherwise it seems ok. // Martin ___ libav-devel mailing list

Re: [libav-devel] [PATCH 2/2] Update Changelog for v9.20

2016-09-05 Thread Diego Biurrun
On Mon, Sep 05, 2016 at 02:50:28PM -0400, Sean McGovern wrote: > --- > Changelog |3 +++ > RELEASE |2 +- > 2 files changed, 4 insertions(+), 1 deletion(-) both OK I'd squash it all together, no need for two commits IMO. Diego ___

Re: [libav-devel] [PATCH 1/2] avcodec: bump minor version

2016-09-05 Thread Janne Grunau
On 2016-09-05 14:50:27 -0400, Sean McGovern wrote: > --- > libavcodec/version.h |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/version.h b/libavcodec/version.h > index 348ce99..60e4d04 100644 > --- a/libavcodec/version.h > +++ b/libavcodec/version.h > @@

[libav-devel] [PATCH 2/2] Update Changelog for v9.20

2016-09-05 Thread Sean McGovern
--- Changelog |3 +++ RELEASE |2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 17b84b1..1ae4f2b 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,8 @@ Releases are sorted from youngest to oldest. +version 9.20: + - avcodec: bump minor

[libav-devel] [PATCH 1/2] avcodec: bump minor version

2016-09-05 Thread Sean McGovern
--- libavcodec/version.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/version.h b/libavcodec/version.h index 348ce99..60e4d04 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -28,7 +28,7 @@ #define LIBAVCODEC_VERSION_MAJOR 54 #define

[libav-devel] [PATCH 3/5] configure: Drop require() helper function in favor of require2()

2016-09-05 Thread Diego Biurrun
The latter does everything the former can do, but also handles multiple header #includes. --- configure | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/configure b/configure index e889487..0e65a57 100755 --- a/configure +++ b/configure @@ -1084,14 +1084,6 @@

[libav-devel] [PATCH 4/5] configure: Simplify clock_gettime() test

2016-09-05 Thread Diego Biurrun
--- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 0e65a57..1484814 100755 --- a/configure +++ b/configure @@ -4456,7 +4456,8 @@ check_func ${malloc_prefix}memalign&& enable memalign check_func

[libav-devel] [PATCH 5/5] [RFC] configure: more fine-grained link-time dependency settings

2016-09-05 Thread Diego Biurrun
Previously all external library dependencies were added as link-time dependencies to all components. This adds bogus dependencies to some components, so only add dependencies to components if said components actually make use of a dependency. --- This can still be improved a bit I guess. Better

[libav-devel] [PATCH 1/5] build: Fix directory dependencies of tests/pixfmts.mak target

2016-09-05 Thread Diego Biurrun
--- tests/fate/filter-video.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index d931548..82d0a62 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -117,7 +117,7 @@

[libav-devel] [PATCH 2/5] configure: Drop check_lib() helper function in favor of check_lib2()

2016-09-05 Thread Diego Biurrun
The latter does everything the former can do, but also handles multiple header #includes. --- configure | 42 +- 1 file changed, 17 insertions(+), 25 deletions(-) diff --git a/configure b/configure index ea2b131..e889487 100755 --- a/configure +++

[libav-devel] Libav Sprint Pelhřimov

2016-09-05 Thread Alexandra Hájková
I would like to organise Libav sprint in a month, there's just one date selected, 30/9(Fri) - 2(3)/10, please follow the link and add yourself to the poll if you're interested in participating: http://doodle.com/poll/52vfbx6ct3hy6vif Best Regards, Alexandra

Re: [libav-devel] Release 9.19 has hit a slight snag

2016-09-05 Thread Diego Biurrun
On Mon, Sep 05, 2016 at 05:26:18PM +0200, Sean McGovern wrote: > > After committing the patch to bump RELEASE and the Changelog, it was > discovered that a some of the FATE nodes on https://fate.libav.org/v9/ had > not reported since late 2014 where they were all green. > > When they were

[libav-devel] Release 9.19 has hit a slight snag

2016-09-05 Thread Sean McGovern
Hi, After committing the patch to bump RELEASE and the Changelog, it was discovered that a some of the FATE nodes on https://fate.libav.org/v9/ had not reported since late 2014 where they were all green. When they were re-enabled (thanks, Diego), some of the tests from vsynth* and lavf* are now

Re: [libav-devel] [PATCH 9/9] audiodsp/x86: yasmify vector_clipf_sse

2016-09-05 Thread James Almer
On 9/5/2016 8:02 AM, Anton Khirnov wrote: > --- > libavcodec/x86/Makefile | 1 - > libavcodec/x86/audiodsp.asm | 42 +++ > libavcodec/x86/audiodsp_mmx.c | 58 > --- > 3 files changed, 42 insertions(+), 59 deletions(-) >

Re: [libav-devel] [PATCH 9/9] audiodsp/x86: yasmify vector_clipf_sse

2016-09-05 Thread James Almer
On 9/5/2016 10:15 AM, Henrik Gramner wrote: > On Mon, Sep 5, 2016 at 1:02 PM, Anton Khirnov wrote: >> > +cglobal vector_clipf, 3, 3, 6, dst, src, len, min, max >> > +%if ARCH_X86_32 >> > +VBROADCASTSS m0, minm >> > +VBROADCASTSS m1, maxm >> > +%else >> > +

Re: [libav-devel] [PATCH 5/9] audiodsp/x86: sign extend the order argument to scalarproduct_int16 on 64bit

2016-09-05 Thread Henrik Gramner
On Mon, Sep 5, 2016 at 1:02 PM, Anton Khirnov wrote: > CC: libav-sta...@libav.org > --- > libavcodec/x86/audiodsp.asm | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavcodec/x86/audiodsp.asm b/libavcodec/x86/audiodsp.asm > index dc38ada..0e3019c 100644 > ---

Re: [libav-devel] [PATCH 9/9] audiodsp/x86: yasmify vector_clipf_sse

2016-09-05 Thread Henrik Gramner
On Mon, Sep 5, 2016 at 1:02 PM, Anton Khirnov wrote: > +shl lenq, 2 You could also skip this shift and just use 4*lenq instead in the memory operands, multiplying by 2, 4, or 8 in memory args is free. ___ libav-devel mailing list

Re: [libav-devel] [PATCH 9/9] audiodsp/x86: yasmify vector_clipf_sse

2016-09-05 Thread Henrik Gramner
On Mon, Sep 5, 2016 at 1:02 PM, Anton Khirnov wrote: > +cglobal vector_clipf, 3, 3, 6, dst, src, len, min, max > +%if ARCH_X86_32 > +VBROADCASTSS m0, minm > +VBROADCASTSS m1, maxm > +%else > +VBROADCASTSS m0, m0 > +VBROADCASTSS m1, m1 > +%endif This will fail

[libav-devel] [PATCH] vpx: Support high bitdepth encoding

2016-09-05 Thread Luca Barbato
--- Consider that tentative since I have a plane to take, testing welcome :) libavcodec/libvpx.c| 6 ++ libavcodec/libvpxenc.c | 12 2 files changed, 18 insertions(+) diff --git a/libavcodec/libvpx.c b/libavcodec/libvpx.c index c65f80d..98cae0b 100644 ---

[libav-devel] [PATCH] libvpx: Support additional pixel format

2016-09-05 Thread Luca Barbato
As discussed in the ml, the high bitdept support in vpx allows to specify the number of bits used. Reported-by: Harfe Leier --- libavcodec/libvpx.c| 28 +++- libavcodec/libvpx.h| 2 +- libavcodec/libvpxdec.c | 2 +- 3 files changed, 25

[libav-devel] [PATCH] configure: Don't silently disable explicitly-enabled VAAPI

2016-09-05 Thread Mark Thompson
--- On 05/09/16 12:10, Diego Biurrun wrote: > Module: libav > Branch: master > Commit: 2610c9528f86286e4c6e174411a26ff5b4815cde > > Author:Diego Biurrun > Committer: Diego Biurrun > Date: Tue Mar 17 13:12:41 2015 +0100 > > configure: Move initial

[libav-devel] [PATCH 3/9] blockdsp/x86: yasmify

2016-09-05 Thread Anton Khirnov
--- libavcodec/x86/Makefile| 3 +- libavcodec/x86/blockdsp.asm| 56 +++ libavcodec/x86/blockdsp.c | 118 - libavcodec/x86/blockdsp_init.c | 64 ++ 4 files changed, 122 insertions(+), 119 deletions(-)

[libav-devel] [PATCH 8/9] audiodsp: reorder arguments for vector_clipf

2016-09-05 Thread Anton Khirnov
This will make the x86 asm simpler. ARM conversion by Martin Storsjö and Janne Grunau --- libavcodec/ac3enc_float.c | 2 +- libavcodec/arm/audiodsp_init_neon.c | 3 +-- libavcodec/arm/audiodsp_neon.S | 5 ++--- libavcodec/audiodsp.c

[libav-devel] [PATCH 2/9] checkasm: add a test for blockdsp

2016-09-05 Thread Anton Khirnov
--- tests/checkasm/Makefile | 1 + tests/checkasm/blockdsp.c | 68 +++ tests/checkasm/checkasm.c | 3 +++ tests/checkasm/checkasm.h | 1 + 4 files changed, 73 insertions(+) create mode 100644 tests/checkasm/blockdsp.c diff --git

[libav-devel] [PATCH 7/9] audiodsp: fix vector_clipf documentation

2016-09-05 Thread Anton Khirnov
The x86 version processes 16 floats per iteration, so len must be a multiple of 16. --- libavcodec/audiodsp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/audiodsp.h b/libavcodec/audiodsp.h index 58205a1..e48cdb0 100644 --- a/libavcodec/audiodsp.h +++

[libav-devel] [PATCH 9/9] audiodsp/x86: yasmify vector_clipf_sse

2016-09-05 Thread Anton Khirnov
--- libavcodec/x86/Makefile | 1 - libavcodec/x86/audiodsp.asm | 42 +++ libavcodec/x86/audiodsp_mmx.c | 58 --- 3 files changed, 42 insertions(+), 59 deletions(-) delete mode 100644 libavcodec/x86/audiodsp_mmx.c diff

[libav-devel] [PATCH 1/9] blockdsp: drop the high_bit_depth parameter

2016-09-05 Thread Anton Khirnov
It has no effect, since the code is supposed to operate the same way for any bit depth. --- libavcodec/arm/blockdsp_arm.h | 2 +- libavcodec/arm/blockdsp_init_arm.c | 4 ++-- libavcodec/arm/blockdsp_init_neon.c | 8 +++- libavcodec/blockdsp.c | 10 --

[libav-devel] [PATCH 6/9] checkasm: add tests for audiodsp

2016-09-05 Thread Anton Khirnov
--- tests/checkasm/Makefile | 1 + tests/checkasm/audiodsp.c | 139 ++ tests/checkasm/checkasm.c | 3 + tests/checkasm/checkasm.h | 1 + 4 files changed, 144 insertions(+) create mode 100644 tests/checkasm/audiodsp.c diff --git

[libav-devel] [PATCH 4/9] audiodsp/x86: fix ff_vector_clip_int32_sse2

2016-09-05 Thread Anton Khirnov
This version, which is the only one doing two processing cycles per loop iteration, computes the load/store indices incorrectly for the second cycle. CC: libav-sta...@libav.org --- libavcodec/x86/audiodsp.asm | 36 ++-- 1 file changed, 18 insertions(+), 18

[libav-devel] [PATCH 5/9] audiodsp/x86: sign extend the order argument to scalarproduct_int16 on 64bit

2016-09-05 Thread Anton Khirnov
CC: libav-sta...@libav.org --- libavcodec/x86/audiodsp.asm | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/x86/audiodsp.asm b/libavcodec/x86/audiodsp.asm index dc38ada..0e3019c 100644 --- a/libavcodec/x86/audiodsp.asm +++ b/libavcodec/x86/audiodsp.asm @@ -26,6 +26,7 @@ SECTION

Re: [libav-devel] [PATCH 1/3] configure: Move initial VAAPI check to a more sensible place

2016-09-05 Thread Janne Grunau
On 2016-09-03 14:19:14 +0200, Diego Biurrun wrote: > --- > configure | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/configure b/configure > index 660b062..6375161 100755 > --- a/configure > +++ b/configure > @@ -4583,7 +4583,6 @@ disabled zlib || check_lib zlib.h

Re: [libav-devel] [PATCH 2/3] configure: Simplify libopenjpeg check

2016-09-05 Thread Janne Grunau
On 2016-09-03 14:19:15 +0200, Diego Biurrun wrote: > --- > configure | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/configure b/configure > index 6375161..24d59a4 100755 > --- a/configure > +++ b/configure > @@ -4618,8 +4618,8 @@ enabled libopencore_amrnb && require

Re: [libav-devel] [PATCH 3/3] configure: Fix --disable-pod2man / --disable-texi2html

2016-09-05 Thread Janne Grunau
On 2016-09-03 14:19:16 +0200, Diego Biurrun wrote: > --- > configure | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/configure b/configure > index 24d59a4..4462f37 100755 > --- a/configure > +++ b/configure > @@ -113,6 +113,8 @@ Program options: > > Component