Re: [libav-devel] [PATCH 01/14] maint: Ignore dot dirs

2019-05-13 Thread Diego Biurrun
On Sat, May 04, 2019 at 02:14:14PM +0200, Luca Barbato wrote: > They are usually created by tools and editors. > --- a/.gitignore > +++ b/.gitignore > @@ -29,3 +29,4 @@ > /coverage.info > /lcov/ > /mapfile > +.*/ This ignores dotdirs everywhere, not just in the top-level directory, which seems

Re: [libav-devel] [PATCH 1/2] configure: Try adding -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 for mingw as well

2019-04-16 Thread Diego Biurrun
On Sun, Apr 14, 2019 at 09:33:40PM +0300, Martin Storsjö wrote: > On Sun, 14 Apr 2019, Diego Biurrun wrote: > > On Sat, Apr 13, 2019 at 12:58:40AM +0300, Martin Storsjö wrote: > > > On Fri, 12 Apr 2019, Luca Barbato wrote: > > > > On 11/04/2019 15:35, Martin Storsjö w

Re: [libav-devel] [PATCH 1/2] configure: Try adding -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 for mingw as well

2019-04-14 Thread Diego Biurrun
On Sat, Apr 13, 2019 at 12:58:40AM +0300, Martin Storsjö wrote: > On Fri, 12 Apr 2019, Luca Barbato wrote: > > On 11/04/2019 15:35, Martin Storsjö wrote: > > > On Wed, 10 Apr 2019, Luca Barbato wrote: > > > > On 10/04/2019 10:48, Martin Storsjö wrote: > > > > > Mingw headers have got header inline

Re: [libav-devel] [v2] the great lavf-tests cleanup

2019-02-13 Thread Diego Biurrun
On Mon, Feb 04, 2019 at 11:47:21AM +0100, Diego Biurrun wrote: > The patchset is considerably cleaned up compared to the initial > version. Vittorio's complaints about inadequate naming should be > addressed now and all the changes are much more straightforward > and minimal.

Re: [libav-devel] [PATCH] Unbreak travis on macos

2019-02-13 Thread Diego Biurrun
On Tue, Feb 12, 2019 at 01:53:08PM +0100, Luca Barbato wrote: > --- a/.travis.yml > +++ b/.travis.yml > @@ -19,7 +19,7 @@ cache: > before_install: > - - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update --all; fi > + - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi Should be OK.

[libav-devel] [PATCH 08/11] tests: Convert lavf image tests away from legacy test scripts

2019-02-04 Thread Diego Biurrun
Rename some tests in the process for consistency and simplicity. --- tests/Makefile| 1 + tests/fate-run.sh | 11 tests/fate/avformat.mak | 13 -- tests/fate/lavf-image.mak | 25 ++ tests/lavf-regression.sh | 65

[libav-devel] [PATCH 05/11] tests: Use a predefined function for lavf-rm test

2019-02-04 Thread Diego Biurrun
--- tests/lavf-regression.sh | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index 326319c6db..4161e375ee 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -15,7 +15,8 @@ do_lavf() {

[libav-devel] [PATCH 09/11] tests: Convert lavf pixfmt conversion tests away from legacy test scripts

2019-02-04 Thread Diego Biurrun
Also split monolithic lavf-pixfmt test into individual tests. --- tests/Makefile| 1 + tests/fate-run.sh | 11 +++ tests/fate/avformat.mak | 1 - tests/fate/pixfmt.mak | 28 tests/lavf-regression.sh | 16

[libav-devel] [PATCH 04/11] tests: Enable CRC test for yuv4mpeg

2019-02-04 Thread Diego Biurrun
--- tests/lavf-regression.sh | 2 +- tests/ref/lavf/yuv4mpeg | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index 6a8919bdc2..326319c6db 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -130,7 +130,7

[libav-devel] [PATCH 02/11] tests: Unify output directory creation

2019-02-04 Thread Diego Biurrun
--- tests/Makefile| 5 +++-- tests/fate-run.sh | 2 -- tests/lavf-regression.sh | 1 - tests/regression-funcs.sh | 3 --- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index c3dd5879bf..8d9a42433f 100644 --- a/tests/Makefile

[libav-devel] [PATCH 06/11] tests: Convert image2pipe tests away from legacy test scripts

2019-02-04 Thread Diego Biurrun
--- tests/Makefile | 1 + tests/fate-run.sh | 45 ++ tests/fate/avformat.mak| 3 --- tests/fate/lavf-image2pipe.mak | 12 +++ tests/lavf-regression.sh | 19 -- tests/ref/lavf/pbmpipe

[libav-devel] [PATCH 03/11] tests: Drop duplicate variable declaration

2019-02-04 Thread Diego Biurrun
--- tests/fate-run.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/fate-run.sh b/tests/fate-run.sh index b9b3d9763e..8c6adf11cf 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -162,7 +162,6 @@ video_filter(){ filters=$1 shift label=${test#filter-} -

[libav-devel] [v2] the great lavf-tests cleanup

2019-02-04 Thread Diego Biurrun
I was at FOSDEM and finishing this is what I used to keep myself occupied :) It is currently running through Oracle and I expect it to pass all the instances (an initial Oracle run already turned up a mistake). The patchset is considerably cleaned up compared to the initial version. Vittorio's

[libav-devel] [PATCH 11/11] tests: Add a convenience function for video-only lavf tests

2019-02-04 Thread Diego Biurrun
Rename a test in the process for consistency and simplicity and remove the remnants of the now-unused lavf regression test scripts. --- tests/Makefile | 2 +- tests/fate-run.sh | 8 ++-- tests/fate/avformat.mak| 10 -

[libav-devel] [PATCH 10/11] tests: Convert lavf container tests away from legacy test scripts

2019-02-04 Thread Diego Biurrun
Rename some tests in the process for consistency and simplicity. --- tests/Makefile| 1 + tests/fate-run.sh | 9 + tests/fate/avformat.mak | 14 --- tests/fate/lavf-container.mak | 37 +

[libav-devel] [PATCH 01/11] build: Rename OBJDIRS variable to OUTDIRS

2019-02-04 Thread Diego Biurrun
These directories are not just for object files. --- Makefile| 2 +- avbuild/common.mak | 2 +- avtools/Makefile| 2 +- doc/examples/Makefile | 2 +- tests/Makefile | 2 +- tests/checkasm/Makefile | 2 +- tools/Makefile | 2 +- 7 files changed, 7

[libav-devel] [PATCH 07/11] tests: Convert audio-only lavf tests away from legacy test scripts

2019-02-04 Thread Diego Biurrun
Rename some tests in the process for consistency and simplicity. --- tests/Makefile | 1 + tests/fate-run.sh | 9 ++ tests/fate/avformat.mak| 11 --- tests/fate/lavf-audio.mak | 24 +++

Re: [libav-devel] [PATCH 01/19] libavcodec: vp8 neon optimizations for aarch64

2019-02-04 Thread Diego Biurrun
On Fri, Feb 01, 2019 at 11:12:40AM +0200, Martin Storsjö wrote: > --- a/libavcodec/aarch64/Makefile > +++ b/libavcodec/aarch64/Makefile > @@ -44,6 +44,8 @@ NEON-OBJS-$(CONFIG_MPEGAUDIODSP)+= > aarch64/mpegaudiodsp_neon.o > NEON-OBJS-$(CONFIG_DCA_DECODER) += aarch64/dcadsp_neon.o

Re: [libav-devel] [PATCH 02/19] aarch64: vp8: Fix the include guard

2019-02-04 Thread Diego Biurrun
On Fri, Feb 01, 2019 at 11:12:41AM +0200, Martin Storsjö wrote: > From: Carl Eugen Hoyos > > --- > libavcodec/aarch64/vp8dsp.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) I suggest squashing this into 01/19. The change is OK, obviously. Diego

Re: [libav-devel] Using Co-authored-by instead of Signed-off-by

2019-01-27 Thread Diego Biurrun
On Wed, Jan 09, 2019 at 11:29:16AM +0200, Martin Storsjö wrote: > On Wed, 9 Jan 2019, Luca Barbato wrote: > > > Since the start of the project we used Signed-off-by to signal that a > > patch had been edited. > > I'd like to point out that you might have had this interpretation of it and > used

Re: [libav-devel] [PATCH 1/1] h264/x86: sign extend int stride in deblock functions

2019-01-27 Thread Diego Biurrun
On Sun, Jan 27, 2019 at 11:18:41AM +0100, Janne Grunau wrote: > Fixes checkasm errors after adding the h264 deblock tests. > --- > libavcodec/x86/h264_deblock.asm | 8 > libavcodec/x86/h264_deblock_10bit.asm | 9 + > 2 files changed, 17 insertions(+) Shouldn't some int

Re: [libav-devel] [PATCH 15/20] tests: Split monolithic lavf-pixfmt test into individual tests

2018-09-24 Thread Diego Biurrun
*PLEASE* snip your quotes. On Mon, Sep 24, 2018 at 01:16:46PM +0200, Sean McGovern wrote: > On Thu, Sep 20, 2018, 10:47 Diego Biurrun wrote: > > [...] > > Thank you very much for completing this, Diego. > > Much appreciated, You

Re: [libav-devel] [PATCH 15/20] tests: Split monolithic lavf-pixfmt test into individual tests

2018-09-24 Thread Diego Biurrun
On Mon, Sep 24, 2018 at 08:29:05AM +0200, Luca Barbato wrote: > On 20/09/2018 10:47, Diego Biurrun wrote: > > --- > > YES! :-) This had been a thorn in my side for a loong time... Diego ___ libav-devel mailing list libav-devel@

Re: [libav-devel] [PATCH 16/20] tests: Move do_lavf() to fate-run.sh

2018-09-21 Thread Diego Biurrun
On Fri, Sep 21, 2018 at 05:28:01PM +0200, Vittorio Giovara wrote: > On Fri, Sep 21, 2018 at 2:56 PM, Diego Biurrun wrote: > > On Thu, Sep 20, 2018 at 01:39:20PM +0200, Vittorio Giovara wrote: > > > On Thu, Sep 20, 2018 at 10:47 AM, Diego Biurrun > > wrote: > &g

Re: [libav-devel] [PATCH 16/20] tests: Move do_lavf() to fate-run.sh

2018-09-21 Thread Diego Biurrun
On Thu, Sep 20, 2018 at 01:39:20PM +0200, Vittorio Giovara wrote: > On Thu, Sep 20, 2018 at 10:47 AM, Diego Biurrun wrote: > > --- a/tests/fate-run.sh > > +++ b/tests/fate-run.sh > > -FATE_LAVF-$(call ENCDEC2, MPEG4, MP2, NUT)+= nut > > FAT

Re: [libav-devel] [PATCH 02/20] tests: Enable CRC test for yuv4mpeg

2018-09-20 Thread Diego Biurrun
On Thu, Sep 20, 2018 at 01:29:01PM +0200, Vittorio Giovara wrote: > On Thu, Sep 20, 2018 at 10:47 AM, Diego Biurrun wrote: > > --- a/tests/lavf-regression.sh > > +++ b/tests/lavf-regression.sh > > @@ -130,7 +130,7 @@ fi > > if [ -n "$do_y4m" ] ; then > >

[libav-devel] [PATCH 14/20] tests: Move lavf pixfmt conversion tests to fate-run.sh

2018-09-20 Thread Diego Biurrun
--- tests/fate-run.sh| 17 +++ tests/fate/avformat.mak | 3 ++ tests/lavf-regression.sh | 17 --- tests/ref/lavf/pixfmt| 76 4 files changed, 58 insertions(+), 55 deletions(-) diff --git a/tests/fate-run.sh

[libav-devel] [PATCH 15/20] tests: Split monolithic lavf-pixfmt test into individual tests

2018-09-20 Thread Diego Biurrun
--- tests/Makefile | 1 + tests/fate-run.sh | 18 +++--- tests/fate/avformat.mak| 4 tests/fate/pixfmt.mak | 27 +++ tests/ref/fate/pixfmt-bgr24| 2 ++ tests/ref/fate/pixfmt-gray | 2 ++

[libav-devel] [PATCH 18/20] tests: Use a predefined function for lavf-rm test

2018-09-20 Thread Diego Biurrun
--- tests/fate-run.sh| 3 ++- tests/fate/avformat.mak | 4 +++- tests/lavf-regression.sh | 8 tests/ref/lavf/rm| 4 ++-- 4 files changed, 7 insertions(+), 12 deletions(-) diff --git a/tests/fate-run.sh b/tests/fate-run.sh index d6eb556dae..2626a894a0 100755 ---

[libav-devel] [PATCH 17/20] tests: Refactor some variable settings

2018-09-20 Thread Diego Biurrun
--- tests/fate/avformat.mak | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/fate/avformat.mak b/tests/fate/avformat.mak index 026f6e3084..d27de75185 100644 --- a/tests/fate/avformat.mak +++ b/tests/fate/avformat.mak @@ -24,17 +24,15 @@ $(FATE_LAVF_LAVF): REF =

[libav-devel] [PATCH 19/20] tests: Add a convenience function for video-only lavf tests

2018-09-20 Thread Diego Biurrun
--- tests/fate-run.sh | 7 +++ tests/fate/avformat.mak | 20 +++- tests/ref/lavf/gif | 6 +++--- tests/ref/lavf/y4m | 6 +++--- 4 files changed, 24 insertions(+), 15 deletions(-) diff --git a/tests/fate-run.sh b/tests/fate-run.sh index

[libav-devel] [PATCH 20/20] tests: Remove the remnants of now-unused lavf regression test scripts

2018-09-20 Thread Diego Biurrun
--- tests/fate-run.sh | 6 - tests/lavf-regression.sh | 30 - tests/regression-funcs.sh | 67 --- 3 files changed, 103 deletions(-) delete mode 100755 tests/lavf-regression.sh delete mode 100755

[libav-devel] [PATCH 03/20] tests/lavf-regression: Rename some variables for greater clarity

2018-09-20 Thread Diego Biurrun
--- tests/lavf-regression.sh | 30 +++--- tests/regression-funcs.sh | 4 ++-- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index fc9869cb9d..5c9a510403 100755 --- a/tests/lavf-regression.sh +++

[libav-devel] [PATCH 11/20] tests: Refactor some variable settings

2018-09-20 Thread Diego Biurrun
--- tests/fate-run.sh | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 74efa66057..603860b81d 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -152,27 +152,19 @@ enc_dec(){ tests/tiny_psnr $srcfile

[libav-devel] [PATCH 09/20] tests: Move streamed_images() to fate-run.sh

2018-09-20 Thread Diego Biurrun
--- tests/fate-run.sh| 51 tests/fate/avformat.mak | 17 +++- tests/lavf-regression.sh | 20 --- tests/ref/lavf/pbmpipe | 6 +++--- tests/ref/lavf/pgmpipe | 6 +++--- tests/ref/lavf/ppmpipe | 6 +++---

[libav-devel] [PATCH 04/20] tests: Simplify do_streamed_images()

2018-09-20 Thread Diego Biurrun
--- tests/lavf-regression.sh | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index 5c9a510403..10fbe4cbeb 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -20,7 +20,8 @@ do_lavf()

[libav-devel] [PATCH 13/20] tests: Move do_image_formats() to fate-run.sh

2018-09-20 Thread Diego Biurrun
--- tests/fate-run.sh| 11 tests/fate/avformat.mak | 43 +--- tests/lavf-regression.sh | 65 tests/ref/lavf/bmp | 6 ++--- tests/ref/lavf/dpx | 6 ++--- tests/ref/lavf/jpg | 6 ++---

[libav-devel] [PATCH 06/20] tests: Simplify do_lavf()

2018-09-20 Thread Diego Biurrun
--- tests/lavf-regression.sh | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index 8eb5bf1fdf..992973b37c 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -13,9 +13,9

[libav-devel] [PATCH 07/20] tests: Simplify do_audio_only()

2018-09-20 Thread Diego Biurrun
--- tests/lavf-regression.sh | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index 992973b37c..c6fbf68c31 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -39,9 +39,9 @@

[libav-devel] [PATCH 16/20] tests: Move do_lavf() to fate-run.sh

2018-09-20 Thread Diego Biurrun
--- tests/fate-run.sh| 7 ++ tests/fate/avformat.mak | 53 +++ tests/lavf-regression.sh | 59 tests/ref/lavf/asf | 6 ++--- tests/ref/lavf/avi | 6 ++--- tests/ref/lavf/dv|

[libav-devel] [PATCH 01/20] tests: Use more consistent names for tests

2018-09-20 Thread Diego Biurrun
This will help refactor the test infrastructure. --- tests/fate/avformat.mak| 12 ++-- tests/fate/seek.mak| 22 +++--- tests/lavf-regression.sh | 18 +- tests/ref/lavf/aiff

[libav-devel] [PATCH 02/20] tests: Enable CRC test for yuv4mpeg

2018-09-20 Thread Diego Biurrun
--- tests/lavf-regression.sh | 2 +- tests/ref/lavf/y4m | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index 18f000bbea..fc9869cb9d 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -130,7 +130,7

[libav-devel] [RFC] the great lavf-tests cleanup

2018-09-20 Thread Diego Biurrun
Hello world! I got bored/motivated while travelling a few weeks ago and finally tackled this thing that I had been planning since forever. The fate-lavf tests still use the legacy staged shellscript infrastructure and are not properly managed through the Makefiles. This set fixes that issue and

[libav-devel] [PATCH 08/20] tests: Store intermediate files for lavf tests in tests/data/fate subdir

2018-09-20 Thread Diego Biurrun
--- tests/fate/seek.mak | 55 --- tests/ref/lavf/aiff | 6 +++--- tests/ref/lavf/al | 6 +++--- tests/ref/lavf/asf| 6 +++--- tests/ref/lavf/au | 6 +++--- tests/ref/lavf/avi| 6 +++--- tests/ref/lavf/dv

[libav-devel] [PATCH 05/20] tests: Simplify do_image_formats()

2018-09-20 Thread Diego Biurrun
--- tests/lavf-regression.sh | 38 +++--- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index 10fbe4cbeb..8eb5bf1fdf 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -28,13

[libav-devel] [PATCH 12/20] tests: Move do_audio_only() to fate-run.sh

2018-09-20 Thread Diego Biurrun
--- tests/fate-run.sh| 8 tests/fate/avformat.mak | 37 + tests/lavf-regression.sh | 53 tests/ref/lavf/aiff | 6 +++--- tests/ref/lavf/al| 6 +++--- tests/ref/lavf/au| 6

[libav-devel] [PATCH 10/20] tests: Drop duplicate variable declaration

2018-09-20 Thread Diego Biurrun
--- tests/fate-run.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 41cb2be1fb..74efa66057 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -213,7 +213,6 @@ video_filter(){ filters=$1 shift label=${test#filter-} -

Re: [libav-devel] [PATCH 1/3] configure: speed up flatten_extralibs_wrapper()

2018-09-17 Thread Diego Biurrun
On Sun, Sep 16, 2018 at 11:52:59PM -0300, James Almer wrote: > From: Avi Halachmi > > x50 - x200 faster. The set looks very interesting. I've had some ideas on how to speed up this part of configure already, so I'm doubly happy to see some work done in that area. At a first glance these

Re: [libav-devel] [PATCH] qsv: enforcing continuous memory layout

2018-07-29 Thread Diego Biurrun
On Sun, Jul 29, 2018 at 12:50:42AM +0200, Maxym Dmytrychenko wrote: > On Sat, Jul 28, 2018 at 12:20 PM Diego Biurrun wrote: > > On Sat, Jul 28, 2018 at 10:53:54AM +0200, maxim_d33 wrote: > > > --- > > > libavcodec/qsvenc.c | 34 -

Re: [libav-devel] [PATCH] qsv: enforcing continuous memory layout

2018-07-28 Thread Diego Biurrun
On Sat, Jul 28, 2018 at 10:53:54AM +0200, maxim_d33 wrote: > --- > libavcodec/qsvenc.c | 34 -- > 1 file changed, 24 insertions(+), 10 deletions(-) Looks like your Git is not set up properly. Diego ___ libav-devel

Re: [libav-devel] [PATCH] configure: fix inline asm checks

2018-06-29 Thread Diego Biurrun
On Mon, Jun 25, 2018 at 02:41:30PM +0300, Martin Storsjö wrote: > On Fri, 8 Jun 2018, Diego Biurrun wrote: > > > On Thu, Jun 07, 2018 at 11:05:26PM -0300, James Almer wrote: > > > On 6/7/2018 6:01 PM, Diego Biurrun wrote: > > > > On Thu, Jun 07, 2018 at 03:03

Re: [libav-devel] [PATCH] configure: fix inline asm checks

2018-06-08 Thread Diego Biurrun
On Thu, Jun 07, 2018 at 11:05:26PM -0300, James Almer wrote: > On 6/7/2018 6:01 PM, Diego Biurrun wrote: > > On Thu, Jun 07, 2018 at 03:03:21PM +0300, Martin Storsjö wrote: > >> Commit 8c893aa3cd5 removed quotes that were required to detect > >> inline asm: > >>

Re: [libav-devel] [PATCH] configure: fix inline asm checks

2018-06-07 Thread Diego Biurrun
On Thu, Jun 07, 2018 at 03:03:21PM +0300, Martin Storsjö wrote: > Commit 8c893aa3cd5 removed quotes that were required to detect > inline asm: > > check_insn armv5te qadd r0, r0, r0 > .../test.c:1:34: error: expected string literal in 'asm' > void foo(void){ __asm__ volatile(qadd r0, r0, r0); } >

Re: [libav-devel] [libva-devel] [PATCH] avformat/libsrt: add payload size and latency option / deprecate ts

2018-05-29 Thread Diego Biurrun
> From 47e1d01b08494d5745d35f7a701059230c78671a Mon Sep 17 00:00:00 2001 > From: Nablet Developer Somebody still needs to set up their Git? :) > Date: Mon, 21 May 2018 13:55:25 +0700 > Subject: [PATCH 1/2] avformat/libsrt: add payload size option > > Signed-off-by: Nablet Developer > --- >

Re: [libav-devel] [PATCH V2] lavc/qsvenc: add an option to disable MFE mode

2018-05-23 Thread Diego Biurrun
On Wed, May 23, 2018 at 03:15:14AM +, Li, Zhong wrote: > > From: libav-devel [mailto:libav-devel-boun...@libav.org] On Behalf Of > > Diego Biurrun > > Sent: Tuesday, May 22, 2018 6:30 PM > > To: libav development <libav-devel@libav.org> > > Subject: Re:

Re: [libav-devel] [PATCH V2] lavc/qsvenc: add an option to disable MFE mode

2018-05-22 Thread Diego Biurrun
On Tue, May 22, 2018 at 08:03:00AM +, Li, Zhong wrote: > > -Original Message- > > From: libav-devel [mailto:libav-devel-boun...@libav.org] On Behalf Of > > Diego Biurrun > > Sent: Monday, May 21, 2018 11:17 PM > > To: libav development <libav-devel@l

Re: [libav-devel] [PATCH V2] lavc/qsvenc: add an option to disable MFE mode

2018-05-21 Thread Diego Biurrun
On Mon, May 21, 2018 at 02:33:28PM +0800, Zhong Li wrote: > > V2: remove the manual option since it is not supported now. This looks like a patch annotation that should not be part of the log message. Diego ___ libav-devel mailing list

[libav-devel] [PATCH] tls_mbedtls: Use non-deprecated header file

2018-04-25 Thread Diego Biurrun
/usr/include/mbedtls/net.h:29:2: warning: #warning "Deprecated header file: Superseded by mbedtls/net_sockets.h" [-Wcpp] --- libavformat/tls_mbedtls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/tls_mbedtls.c b/libavformat/tls_mbedtls.c index

[libav-devel] [PATCH] configure: Rename require_header() --> require_headers()

2018-04-25 Thread Diego Biurrun
This renaming was overlooked in the previous check_header() rename. --- Gosh, I had this in my branch ready for squashing and then forgot to actually squash it before sending the check_header() rename .. m( configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [libav-devel] [PATCH] libavformat: Add mbedTLS based TLS support

2018-04-24 Thread Diego Biurrun
On Tue, Apr 24, 2018 at 10:00:00AM +0200, Luca Barbato wrote: > --- a/Changelog > +++ b/Changelog > @@ -24,6 +24,7 @@ version : > - Haivision SRT protocol via libsrt > - Dropped support for building for Windows XP. The minimum supported Windows >version is Windows Vista. > +- support mbedTLS

Re: [libav-devel] the big configure cleanup (act VIII)

2018-04-17 Thread Diego Biurrun
On Tue, Apr 17, 2018 at 10:16:26AM +0200, Diego Biurrun wrote: > Today comes the day of the big shuffle. After some preliminaries that > add consistency and (thus) simplify internal API I move the helper > functions around into a sensible order to simplify finding them and > mak

[libav-devel] [PATCH 04/12] configure: Group toolchain parameter mangling functions together

2018-04-17 Thread Diego Biurrun
--- configure | 44 ++-- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/configure b/configure index fca311ae59..06e8716c95 100755 --- a/configure +++ b/configure @@ -769,12 +769,32 @@ test_cmd(){ "$@" >> $logfile 2>&1 } +cc_e(){ +

[libav-devel] [PATCH 02/12] configure: Make require_cc() and require_cpp_condition() functions consistent

2018-04-17 Thread Diego Biurrun
Their API and implementation is different from other require_foo() functions, which violates the rule of least astonishment. --- configure | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/configure b/configure index a6dc2efc52..4610321bb2 100755 --- a/configure

[libav-devel] the big configure cleanup (act VIII)

2018-04-17 Thread Diego Biurrun
Today comes the day of the big shuffle. After some preliminaries that add consistency and (thus) simplify internal API I move the helper functions around into a sensible order to simplify finding them and make more sense in general. Functions are grouped by their category, i.e.

[libav-devel] [PATCH 12/12] configure: Move test_cmd() into canonical order

2018-04-17 Thread Diego Biurrun
--- configure | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure b/configure index f6042937e1..95c4a2b7da 100755 --- a/configure +++ b/configure @@ -768,11 +768,6 @@ add_compat(){ map 'add_cppflags -D$v' "$@" } -test_cmd(){ -log "$@" -"$@" >>

[libav-devel] [PATCH 10/12] configure: Move test_host_cpp()/test_host_cc() into canonical order

2018-04-17 Thread Diego Biurrun
--- configure | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/configure b/configure index 48d2a8497b..45cfea889f 100755 --- a/configure +++ b/configure @@ -930,6 +930,20 @@ test_exec(){ test_ld "$@" && { enabled cross_compile || $TMPE >>

[libav-devel] [PATCH 03/12] configure: Rename check_header() --> check_headers()

2018-04-17 Thread Diego Biurrun
The plural in the name clarifies the fact that the function can check for multiple headers at once. --- configure | 74 +++ 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/configure b/configure index

[libav-devel] [PATCH 08/12] configure: Move print_3_columns() to a more suitable place

2018-04-17 Thread Diego Biurrun
--- configure | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 1afb03b9ce..77601c8b02 100755 --- a/configure +++ b/configure @@ -400,6 +400,10 @@ EOF exit 1 } +print_3_columns() { +printf "%-25s %-25s %-25s\n" $(cat | tr ' ' '\n'

[libav-devel] [PATCH 05/12] configure: Move add_fooflags() helper functions into canonical order

2018-04-17 Thread Diego Biurrun
--- configure | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/configure b/configure index 06e8716c95..0267ad02e2 100755 --- a/configure +++ b/configure @@ -718,14 +718,14 @@ add_cflags_headers(){ append CFLAGS_HEADERS $($cflags_filter "$@") }

[libav-devel] [PATCH 09/12] configure: Move pushvar/popvar to a more sensible place

2018-04-17 Thread Diego Biurrun
--- configure | 38 +++--- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/configure b/configure index 77601c8b02..48d2a8497b 100755 --- a/configure +++ b/configure @@ -485,25 +485,6 @@ get_sanitized(){ eval echo \$$(sanitize_var_name "$1") }

[libav-devel] [PATCH 11/12] configure: Move print_include() to a more suitable place

2018-04-17 Thread Diego Biurrun
--- configure | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 45cfea889f..f6042937e1 100755 --- a/configure +++ b/configure @@ -880,6 +880,13 @@ EOF test_cmd $strip $STRIPFLAGS "$@" $TMPO } +print_include(){ +hdr=$1 +

[libav-devel] [PATCH 07/12] configure: Move test_foo() and require_foo() helper functions into canonical order

2018-04-17 Thread Diego Biurrun
--- configure | 190 +++--- 1 file changed, 95 insertions(+), 95 deletions(-) diff --git a/configure b/configure index 7c79d80b6e..1afb03b9ce 100755 --- a/configure +++ b/configure @@ -876,6 +876,69 @@ EOF test_cmd $strip $STRIPFLAGS

[libav-devel] [PATCH 01/12] build: Group external library protocols separately

2018-04-17 Thread Diego Biurrun
--- configure| 16 +--- libavformat/Makefile | 6 +++--- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/configure b/configure index 3c7b6a0981..a6dc2efc52 100755 --- a/configure +++ b/configure @@ -2519,15 +2519,8 @@ httpproxy_protocol_suggest="zlib"

[libav-devel] [PATCH 06/12] configure: Move test_foo() helper functions into canonical order

2018-04-17 Thread Diego Biurrun
--- configure | 100 +++--- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/configure b/configure index 0267ad02e2..7c79d80b6e 100755 --- a/configure +++ b/configure @@ -797,6 +797,13 @@ hostcc_o(){ eval printf '%s\\n'

Re: [libav-devel] [PATCH] random_seed: use bcrypt instead of the old wincrypt API

2018-04-17 Thread Diego Biurrun
On Mon, Apr 16, 2018 at 05:50:04PM +0300, Martin Storsjö wrote: > From: Steve Lhomme > > Remove the wincrypt API calls since we don't support XP anymore and > bcrypt is available since Vista, even on Windows Store builds. > --- > Now with avutil_extralibs sorted alphabetically,

Re: [libav-devel] [PATCH] random_seed: use bcrypt instead of the old wincrypt API

2018-04-16 Thread Diego Biurrun
On Sun, Apr 15, 2018 at 11:17:40PM +0300, Martin Storsjö wrote: > --- a/configure > +++ b/configure > @@ -2610,7 +2610,7 @@ avdevice_extralibs="libm_extralibs" > -avutil_extralibs="clock_gettime_extralibs cuda_extralibs cuvid_extralibs > d3d11va_extralibs libm_extralibs libmfx_extralibs

Re: [libav-devel] [PATCH] x86: Don't declare a non-static function as inline

2018-04-15 Thread Diego Biurrun
On Sat, Apr 14, 2018 at 10:40:26PM +0300, Martin Storsjö wrote: > This fixes building with clang in msvc mode, which does support > gcc style inline assembly. > --- > libavcodec/x86/xvididct_sse2.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) probably OK Diego

Re: [libav-devel] [PATCH] x86: Don't declare a non-static function as inline

2018-04-14 Thread Diego Biurrun
On Sat, Apr 14, 2018 at 01:38:30PM +0300, Martin Storsjö wrote: > Make the actual implementation static inline, but add a non-static > non-inline frontend for it. > > This fixes building with clang in msvc mode, which does support > gcc style inline assembly. > ---

Re: [libav-devel] [PATCH] lavc/amfenc: Retain a reference to D3D frames used as input during the encoding process

2018-04-12 Thread Diego Biurrun
On Wed, Apr 11, 2018 at 07:31:19PM +0300, Alexander Kravchenko wrote: > > > > Your mailer mangled the patch, could you please resend it attached? > > It would be nice if you recommend some good simple mailer or to do I use git-send-email, works fine here. Diego

Re: [libav-devel] [PATCH] lavc/amfenc: Retain a reference to D3D frames used as input during the encoding process

2018-04-11 Thread Diego Biurrun
On Wed, Apr 11, 2018 at 06:02:32PM +0300, Alexander Kravchenko wrote: > This fixes frame corruption issue when decoder started reusing frames while > they are still in use of encoding process > > Issue with frame corruption was reproduced using: > avconv.exe -y -hwaccel d3d11va

[libav-devel] [PATCH 2/2] Drop Windows XP support remnants

2018-04-05 Thread Diego Biurrun
--- libavcodec/dxva2_h264.c | 6 +- libavcodec/dxva2_hevc.c | 6 +- libavcodec/dxva2_mpeg2.c | 7 ++- libavcodec/dxva2_vc1.c| 6 +- libavutil/hwcontext_d3d11va.c | 9 + libavutil/hwcontext_dxva2.c | 4 6 files changed, 6 insertions(+), 32

[libav-devel] [PATCH 1/2] w32pthreads: always use Vista+ API, drop XP support

2018-04-05 Thread Diego Biurrun
hereby not a supported build target anymore. Signed-off-by: Diego Biurrun <di...@biurrun.de> --- Changes to original patch: - proper w32threads dependencies - added missing Cygwin flags Changelog | 2 + compat/w32pthreads.h

Re: [libav-devel] [PATCH] use bcrypt instead of the old wincrypt API

2018-03-30 Thread Diego Biurrun
On Fri, Mar 30, 2018 at 04:58:29PM +0300, Martin Storsjö wrote: > On Fri, 30 Mar 2018, Diego Biurrun wrote: > > On Fri, Mar 30, 2018 at 12:38:05PM +0200, Steve Lhomme wrote: > > > Le 30/03/2018 à 10:46, Diego Biurrun a écrit : > > > > On Fri, Mar 30, 2018 at 09:36:

Re: [libav-devel] [PATCH] use bcrypt instead of the old wincrypt API

2018-03-30 Thread Diego Biurrun
On Fri, Mar 30, 2018 at 10:43:27AM -0300, James Almer wrote: > On 3/30/2018 10:38 AM, Diego Biurrun wrote: > > On Fri, Mar 30, 2018 at 12:38:05PM +0200, Steve Lhomme wrote: > >> Le 30/03/2018 à 10:46, Diego Biurrun a écrit : > >>> On Fri, Mar 30, 2018 at 09:36:

Re: [libav-devel] [PATCH] use bcrypt instead of the old wincrypt API

2018-03-30 Thread Diego Biurrun
On Fri, Mar 30, 2018 at 12:38:05PM +0200, Steve Lhomme wrote: > Le 30/03/2018 à 10:46, Diego Biurrun a écrit : > > On Fri, Mar 30, 2018 at 09:36:05AM +0200, Steve Lhomme wrote: > > > --- a/configure > > > +++ b/configure > > > @@ -4581,6 +458

Re: [libav-devel] [PATCH] use bcrypt instead of the old wincrypt API

2018-03-30 Thread Diego Biurrun
On Fri, Mar 30, 2018 at 09:36:05AM +0200, Steve Lhomme wrote: > --- a/configure > +++ b/configure > @@ -1708,6 +1708,7 @@ SYSTEM_LIBRARIES=" > vaapi_x11 > vdpau_x11 > +bcrypt > wincrypt > " This should be ordered. > @@ -2611,7 +2612,7 @@ avdevice_extralibs="libm_extralibs" >

[libav-devel] [PATCH] configure: Revert some incorrect uses of check_cc()

2018-03-29 Thread Diego Biurrun
--- Thanks to James for pointing this out. configure | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 90fb6f07ca..a64f241560 100755 --- a/configure +++ b/configure @@ -4841,7 +4841,9 @@ check_disable_warning_headers

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-29 Thread Diego Biurrun
On Mon, Mar 26, 2018 at 11:37:49AM -0400, Sven Dueking wrote: > protocol requires libsrt (https://github.com/Haivision/srt) to be > installed Luca and I pushed a cleaned-up version of this yesterday. Diego ___ libav-devel mailing list

Re: [libav-devel] [PATCH] lavf/qsvvpp: bypass vpp is not needed.

2018-03-28 Thread Diego Biurrun
On Wed, Mar 28, 2018 at 05:40:07PM +0800, Zhong Li wrote: > It is benefit to performance for specific case. "i_F_ not needed" is what you were trying to say I guess. Diego ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [PATCH] lavc/qsvdec: expose frame pic_type

2018-03-28 Thread Diego Biurrun
On Wed, Mar 28, 2018 at 04:50:10PM +0800, Zhong Li wrote: > Currently pict_type are unset. > Add an extra param to fetch the picture type from qsv decoder > > v2: fix the compile error since AV_PICTURE_TYPE_NONE is not existed in libav. > v3: remove the key_frame setting because the judgement

Re: [libav-devel] [PATCH 2/7] configure: Add check_x86asm() helper function to simplify some expressions

2018-03-26 Thread Diego Biurrun
On Thu, Mar 22, 2018 at 11:00:52AM -0300, James Almer wrote: > On 3/20/2018 6:49 AM, Diego Biurrun wrote: > > --- a/configure > > +++ b/configure > > @@ -844,12 +852,12 @@ check_insn(){ > > > > +check_x86asm(){ > > +log check_x86asm "$@" >

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-26 Thread Diego Biurrun
On Mon, Mar 26, 2018 at 10:16:06PM +0700, nablet developer wrote: > On 26-Mar-18 22:14, Diego Biurrun wrote: > > On Mon, Mar 26, 2018 at 11:37:49AM -0400, Sven Dueking wrote: > > > --- a/configure > > > +++ b/configure > > > @@ -4710,6 +4714,7 @@ enabled

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-26 Thread Diego Biurrun
On Mon, Mar 26, 2018 at 11:37:49AM -0400, Sven Dueking wrote: > --- a/configure > +++ b/configure > @@ -4710,6 +4714,7 @@ enabled omx && require_header OMX_Core.h > +enabled opensrt && require_pkg_config libsrt "srt >= 1.2.0" > srt/srt.h srt_socket Why do you call this

Re: [libav-devel] [PATCH 4/7] configure: Use indirection for -o assembler flag also for x86asm

2018-03-23 Thread Diego Biurrun
On Tue, Mar 20, 2018 at 10:49:27AM +0100, Diego Biurrun wrote: > --- a/configure > +++ b/configure > @@ -808,12 +808,16 @@ test_as(){ > +x86asm_o(){ > +eval printf '%s\\n' $X86ASM_O > +} > + > test_x86asm(){ > log test_x86asm "$@" > ech

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-22 Thread Diego Biurrun
On Thu, Mar 22, 2018 at 02:03:03PM +0100, wm4 wrote: > On Thu, 22 Mar 2018 13:17:16 +0100 > Diego Biurrun <di...@biurrun.de> wrote: > > > On Thu, Mar 22, 2018 at 12:34:29PM +0100, Sven Dueking wrote: > > > > On Wed, Mar 21, 2018 at 04:03:18PM +0100, Sven Dueking

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-22 Thread Diego Biurrun
2018 at 03:00:37PM +0100, Luca Barbato wrote: > > > > > > > > On 21/03/2018 11:46, Diego Biurrun wrote: > > > > > > > > > What is it? libsrt or opensrt? > > > > > > > > > > > > > > > > You have an opensource implementat

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-22 Thread Diego Biurrun
On Thu, Mar 22, 2018 at 02:03:03PM +0100, wm4 wrote: > On Thu, 22 Mar 2018 13:17:16 +0100 Diego Biurrun <di...@biurrun.de> wrote: > > On Thu, Mar 22, 2018 at 12:34:29PM +0100, Sven Dueking wrote: > > > > On Wed, Mar 21, 2018 at 04:03:18PM +0100, Sven Dueking wrote:

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-22 Thread Diego Biurrun
On Thu, Mar 22, 2018 at 12:34:29PM +0100, Sven Dueking wrote: > > On Wed, Mar 21, 2018 at 04:03:18PM +0100, Sven Dueking wrote: > > > > On Wed, Mar 21, 2018 at 03:00:37PM +0100, Luca Barbato wrote: > > > > > On 21/03/2018 11:46, Diego Biurrun wrote: > >

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-22 Thread Diego Biurrun
On Wed, Mar 21, 2018 at 04:03:18PM +0100, Sven Dueking wrote: > > On Wed, Mar 21, 2018 at 03:00:37PM +0100, Luca Barbato wrote: > > > On 21/03/2018 11:46, Diego Biurrun wrote: > > > > What is it? libsrt or opensrt? > > > > > > You have an

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-21 Thread Diego Biurrun
On Wed, Mar 21, 2018 at 03:00:37PM +0100, Luca Barbato wrote: > On 21/03/2018 11:46, Diego Biurrun wrote: > > What is it? libsrt or opensrt? > > You have an opensource implementation of the protocol SRT. > > I prefer to call it libsrt as configure option. > > > Wh

  1   2   3   4   5   6   7   8   9   10   >