Re: [libav-devel] [PATCH] build: Add idct dependency to dct test

2016-02-20 Thread Vittorio Giovara
On Sat, Feb 20, 2016 at 4:12 PM, Derek Buitenhuis wrote: > On 2/20/2016 7:36 PM, Vittorio Giovara wrote: >> I am able to reproduce with that exact same line, on OSX, with clang and gcc > > A real (ports) GCC or the llvm-gcc that apple ships? > > Could be the same DCE bug if so? > Probably, I trie

Re: [libav-devel] [PATCH] build: Add idct dependency to dct test

2016-02-20 Thread Vittorio Giovara
On Sat, Feb 20, 2016 at 8:22 PM, Luca Barbato wrote: > On 20/02/16 23:40, Diego Biurrun wrote: >> Are you on Git HEAD and did you distclean? The wmv2 decoder depends on > > ar -t libavcodec/libavcodec.a | grep idctdsp.o > idctdsp.o > > Looks strange, the object is there... > Lu, are you able to

Re: [libav-devel] [PATCH] build: Add idct dependency to dct test

2016-02-20 Thread Luca Barbato
On 20/02/16 23:40, Diego Biurrun wrote: > Are you on Git HEAD and did you distclean? The wmv2 decoder depends on ar -t libavcodec/libavcodec.a | grep idctdsp.o idctdsp.o Looks strange, the object is there... lu ___ libav-devel mailing list libav-deve

Re: [libav-devel] [PATCH] build: Add idct dependency to dct test

2016-02-20 Thread Luca Barbato
On 20/02/16 22:12, Derek Buitenhuis wrote: > On 2/20/2016 7:36 PM, Vittorio Giovara wrote: >> I am able to reproduce with that exact same line, on OSX, with clang and gcc > > A real (ports) GCC or the llvm-gcc that apple ships? real gcc. > Could be the same DCE bug if so? seems more a linking i

Re: [libav-devel] [PATCH 3/4] avconv: VAAPI hwcontext initialisation and hwaccel helper

2016-02-20 Thread Mark Thompson
On 20/02/16 22:49, Diego Biurrun wrote: > On Sat, Feb 20, 2016 at 06:31:43PM +, Mark Thompson wrote: >> --- /dev/null >> +++ b/avconv_vaapi.c >> @@ -0,0 +1,628 @@ >> + >> +#include >> +#include >> + >> +#include "avconv.h" >> + >> +#include "libavutil/avassert.h" >> +#include "libavutil/avcon

Re: [libav-devel] [PATCH 2/4] lavu: VAAPI hwcontext implementation

2016-02-20 Thread Mark Thompson
On 20/02/16 22:46, Diego Biurrun wrote: > On Sat, Feb 20, 2016 at 06:31:01PM +, Mark Thompson wrote: >> --- a/libavutil/Makefile >> +++ b/libavutil/Makefile >> @@ -25,6 +25,7 @@ HEADERS = adler32.h >> \ >>hmac.h

Re: [libav-devel] [PATCH 4/4] lavf: VAAPI scale filter

2016-02-20 Thread Diego Biurrun
On Sat, Feb 20, 2016 at 06:32:30PM +, Mark Thompson wrote: > --- /dev/null > +++ b/libavfilter/vf_vaapi_scale.c > @@ -0,0 +1,575 @@ > + > +#include > + > +#include "avfilter.h" > +#include "formats.h" > +#include "internal.h" > + > +#include "libavutil/avassert.h" > +#include "libavutil/hwcont

Re: [libav-devel] [PATCH 3/4] avconv: VAAPI hwcontext initialisation and hwaccel helper

2016-02-20 Thread Diego Biurrun
On Sat, Feb 20, 2016 at 06:31:43PM +, Mark Thompson wrote: > --- /dev/null > +++ b/avconv_vaapi.c > @@ -0,0 +1,628 @@ > + > +#include > +#include > + > +#include "avconv.h" > + > +#include "libavutil/avassert.h" > +#include "libavutil/avconfig.h" > +#include "libavutil/buffer.h" > +#include "

Re: [libav-devel] [PATCH 2/4] lavu: VAAPI hwcontext implementation

2016-02-20 Thread Diego Biurrun
On Sat, Feb 20, 2016 at 06:31:01PM +, Mark Thompson wrote: > --- a/libavutil/Makefile > +++ b/libavutil/Makefile > @@ -25,6 +25,7 @@ HEADERS = adler32.h > \ >hmac.h\ >

Re: [libav-devel] [PATCH] build: Add idct dependency to dct test

2016-02-20 Thread Diego Biurrun
On Sat, Feb 20, 2016 at 02:36:08PM -0500, Vittorio Giovara wrote: > On Sat, Feb 20, 2016 at 12:57 PM, Diego Biurrun wrote: > > On Sat, Feb 20, 2016 at 11:22:18AM -0500, Vittorio Giovara wrote: > >> On Sat, Feb 20, 2016 at 6:46 AM, Diego Biurrun wrote: > >> > On Sat, Feb 20, 2016 at 04:22:37AM -05

Re: [libav-devel] [PATCH] build: Add idct dependency to dct test

2016-02-20 Thread Derek Buitenhuis
On 2/20/2016 7:36 PM, Vittorio Giovara wrote: > I am able to reproduce with that exact same line, on OSX, with clang and gcc A real (ports) GCC or the llvm-gcc that apple ships? Could be the same DCE bug if so? - Derek ___ libav-devel mailing list liba

Re: [libav-devel] [PATCH] build: Add idct dependency to dct test

2016-02-20 Thread Vittorio Giovara
On Sat, Feb 20, 2016 at 12:57 PM, Diego Biurrun wrote: > On Sat, Feb 20, 2016 at 11:22:18AM -0500, Vittorio Giovara wrote: >> On Sat, Feb 20, 2016 at 6:46 AM, Diego Biurrun wrote: >> > On Sat, Feb 20, 2016 at 04:22:37AM -0500, Vittorio Giovara wrote: >> >> The test program fails to build with `co

Re: [libav-devel] [PATCH] fate: Be silent when fetching Git updates

2016-02-20 Thread Luca Barbato
On 20/02/16 18:35, Diego Biurrun wrote: > --- > tests/fate.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/fate.sh b/tests/fate.sh > index 8adbd8c..a192981 100755 > --- a/tests/fate.sh > +++ b/tests/fate.sh > @@ -37,7 +37,7 @@ checkout(){ > update()( > cd $

Re: [libav-devel] [PATCH] build: Add idct dependency to dct test

2016-02-20 Thread Hendrik Leppkes
On Sat, Feb 20, 2016 at 5:22 PM, Vittorio Giovara wrote: > On Sat, Feb 20, 2016 at 6:46 AM, Diego Biurrun wrote: >> On Sat, Feb 20, 2016 at 04:22:37AM -0500, Vittorio Giovara wrote: >>> The test program fails to build with `configure --disable-decoders`. >> >> I cannot reproduce. > > my full conf

[libav-devel] [PATCH 4/4] lavf: VAAPI scale filter

2016-02-20 Thread Mark Thompson
--- configure| 3 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_vaapi_scale.c | 575 +++ 4 files changed, 580 insertions(+) create mode 100644 libavfilter/vf_vaapi_scale.c diff --git a/co

[libav-devel] [PATCH 3/4] avconv: VAAPI hwcontext initialisation and hwaccel helper

2016-02-20 Thread Mark Thompson
--- Makefile | 1 + avconv.h | 7 + avconv_opt.c | 38 avconv_vaapi.c | 628 + configure | 5 + 5 files changed, 679 insertions(+) create mode 100644 avconv_vaapi.c diff --git a/Makefile b/Makefile index 7b1e5

[libav-devel] [PATCH 2/4] lavu: VAAPI hwcontext implementation

2016-02-20 Thread Mark Thompson
--- configure | 5 + libavutil/Makefile | 2 + libavutil/hwcontext.c | 3 + libavutil/hwcontext.h | 1 + libavutil/hwcontext_internal.h | 1 + libavutil/hwcontext_vaapi.c| 800 + libavutil/hwco

[libav-devel] [PATCH 1/4] lavu: Add a way to query hwcontext frame constraints.

2016-02-20 Thread Mark Thompson
--- libavutil/hwcontext.c | 38 +++ libavutil/hwcontext.h | 58 ++ libavutil/hwcontext_internal.h | 10 3 files changed, 106 insertions(+) diff --git a/libavutil/hwcontext.c b/libavutil/hwcontext.c index b6

[libav-devel] [PATCH 0/4] VAAPI hwcontext stuff

2016-02-20 Thread Mark Thompson
Hi, Another go at VAAPI hwcontext implementation. This adds a generic method to query the constraints on frames for the given hardware implementation with some specific configuration. Naming is a bit clumsy, but it has all the features I need and will be extensible if we want to add anything

Re: [libav-devel] [PATCH] build: Add idct dependency to dct test

2016-02-20 Thread Diego Biurrun
On Sat, Feb 20, 2016 at 11:22:18AM -0500, Vittorio Giovara wrote: > On Sat, Feb 20, 2016 at 6:46 AM, Diego Biurrun wrote: > > On Sat, Feb 20, 2016 at 04:22:37AM -0500, Vittorio Giovara wrote: > >> The test program fails to build with `configure --disable-decoders`. > > > > I cannot reproduce. > >

[libav-devel] [PATCH] fate: Be silent when fetching Git updates

2016-02-20 Thread Diego Biurrun
--- tests/fate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fate.sh b/tests/fate.sh index 8adbd8c..a192981 100755 --- a/tests/fate.sh +++ b/tests/fate.sh @@ -37,7 +37,7 @@ checkout(){ update()( cd ${src} || return case "$repo" in -git:*) git fetch

Re: [libav-devel] [PATCH] build: Add idct dependency to dct test

2016-02-20 Thread Vittorio Giovara
On Sat, Feb 20, 2016 at 6:46 AM, Diego Biurrun wrote: > On Sat, Feb 20, 2016 at 04:22:37AM -0500, Vittorio Giovara wrote: >> The test program fails to build with `configure --disable-decoders`. > > I cannot reproduce. my full config line is ./configure --enable-debug --cc=gcc-5 --enable-nonfree

Re: [libav-devel] [PATCH 07/13] lavf: reorganize URLProtocols

2016-02-20 Thread Anton Khirnov
Quoting Diego Biurrun (2016-02-20 15:18:31) > On Sat, Feb 20, 2016 at 01:56:31PM +0100, Anton Khirnov wrote: > > Quoting Diego Biurrun (2016-02-20 12:21:55) > > > On Fri, Feb 19, 2016 at 08:13:16PM +0100, Anton Khirnov wrote: > > > > --- a/libavformat/concat.c > > > > +++ b/libavformat/concat.c > >

Re: [libav-devel] [PATCH 07/13] lavf: reorganize URLProtocols

2016-02-20 Thread Diego Biurrun
On Sat, Feb 20, 2016 at 01:56:31PM +0100, Anton Khirnov wrote: > Quoting Diego Biurrun (2016-02-20 12:21:55) > > On Fri, Feb 19, 2016 at 08:13:16PM +0100, Anton Khirnov wrote: > > > --- a/libavformat/concat.c > > > +++ b/libavformat/concat.c > > > @@ -181,7 +181,7 @@ static int64_t concat_seek(URLC

Re: [libav-devel] [PATCH 07/13] lavf: reorganize URLProtocols

2016-02-20 Thread Anton Khirnov
Quoting Diego Biurrun (2016-02-20 12:21:55) > On Fri, Feb 19, 2016 at 08:13:16PM +0100, Anton Khirnov wrote: > > --- a/libavformat/concat.c > > +++ b/libavformat/concat.c > > @@ -181,7 +181,7 @@ static int64_t concat_seek(URLContext *h, int64_t pos, > > int whence) > > > > -URLProtocol ff_concat

Re: [libav-devel] [PATCH] build: Add idct dependency to dct test

2016-02-20 Thread Diego Biurrun
On Sat, Feb 20, 2016 at 04:22:37AM -0500, Vittorio Giovara wrote: > The test program fails to build with `configure --disable-decoders`. I cannot reproduce. > --- a/libavcodec/Makefile > +++ b/libavcodec/Makefile > @@ -797,7 +797,7 @@ HOSTPROGS = aac_tablegen >

Re: [libav-devel] [PATCH 13/13] lavf: add a protocol whitelist/blacklist for file opened internally

2016-02-20 Thread Diego Biurrun
On Fri, Feb 19, 2016 at 08:13:22PM +0100, Anton Khirnov wrote: > --- a/libavformat/avformat.h > +++ b/libavformat/avformat.h > @@ -1262,6 +1262,24 @@ typedef struct AVFormatContext { > + > +/** > + * A comma-separated list of protocol names that can be used internally > by > + * libavf

Re: [libav-devel] [PATCH 10/13] protocols: make the list of protocols static

2016-02-20 Thread Diego Biurrun
On Fri, Feb 19, 2016 at 08:13:19PM +0100, Anton Khirnov wrote: > Disallow other code to touch it directly, not it's only accessible noW I guess. Diego ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-deve

Re: [libav-devel] [PATCH 07/13] lavf: reorganize URLProtocols

2016-02-20 Thread Diego Biurrun
On Fri, Feb 19, 2016 at 08:13:16PM +0100, Anton Khirnov wrote: > --- a/libavformat/concat.c > +++ b/libavformat/concat.c > @@ -181,7 +181,7 @@ static int64_t concat_seek(URLContext *h, int64_t pos, > int whence) > > -URLProtocol ff_concat_protocol = { > +const URLProtocol ff_concat_protocol = {

Re: [libav-devel] [PATCH] build: Add idct dependency to dct test

2016-02-20 Thread Luca Barbato
On 20/02/16 10:22, Vittorio Giovara wrote: > The test program fails to build with `configure --disable-decoders`. > --- > libavcodec/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/Makefile b/libavcodec/Makefile > index 256dee3..3c57539 100644 > --- a/

[libav-devel] [PATCH] build: Add idct dependency to dct test

2016-02-20 Thread Vittorio Giovara
The test program fails to build with `configure --disable-decoders`. --- libavcodec/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 256dee3..3c57539 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -797,7 +79