Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-15 Thread Sebastien Zwickert
On Nov 15, 2011, at 12:50 AM, David Conrad wrote: > On Nov 5, 2011, at 8:05 AM, Sebastien Zwickert wrote: > >> >> On Nov 2, 2011, at 11:45 PM, Diego Biurrun wrote: >>> [...] --- /dev/null +++ b/libavcodec/vda.h @@ -0,0 +1,138 @@ + +#ifndef AVCODEC_VDA_H +#define AV

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-14 Thread David Conrad
On Nov 5, 2011, at 8:05 AM, Sebastien Zwickert wrote: > > On Nov 2, 2011, at 11:45 PM, Diego Biurrun wrote: >> [...] >>> --- /dev/null >>> +++ b/libavcodec/vda.h >>> @@ -0,0 +1,138 @@ >>> + >>> +#ifndef AVCODEC_VDA_H >>> +#define AVCODEC_VDA_H >>> + >>> +#include >>> + >>> +// emmintrin.h is una

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-09 Thread Luca Barbato
On 11/9/11 4:48 AM, Diego Biurrun wrote: On Tue, Nov 08, 2011 at 10:40:42PM +0100, Sebastien Zwickert wrote: --- /dev/null +++ b/libavcodec/vda.h @@ -0,0 +1,137 @@ + +#ifndef AVCODEC_VDA_H +#define AVCODEC_VDA_H + +#include + +// emmintrin.h is unable to compile with -std=c99 -Werror=missing-pr

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-09 Thread Sebastien Zwickert
On Nov 9, 2011, at 12:46 PM, Diego Biurrun wrote: > On Wed, Nov 09, 2011 at 08:42:24AM +0100, Sebastien Zwickert wrote: >> On Nov 9, 2011, at 1:52 AM, Diego Biurrun wrote: >>> On Tue, Nov 08, 2011 at 10:40:42PM +0100, Sebastien Zwickert wrote: In vda.h, I undefined Picture after the in

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-09 Thread Diego Biurrun
On Tue, Nov 08, 2011 at 10:40:42PM +0100, Sebastien Zwickert wrote: > > --- /dev/null > +++ b/libavcodec/vda.h > @@ -0,0 +1,137 @@ > + > +#ifndef AVCODEC_VDA_H > +#define AVCODEC_VDA_H > + > +#include > + > +// emmintrin.h is unable to compile with -std=c99 -Werror=missing-prototypes > +// http:/

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-09 Thread Diego Biurrun
On Wed, Nov 09, 2011 at 08:42:24AM +0100, Sebastien Zwickert wrote: > On Nov 9, 2011, at 1:52 AM, Diego Biurrun wrote: > > On Tue, Nov 08, 2011 at 10:40:42PM +0100, Sebastien Zwickert wrote: > >> > >> In vda.h, I undefined Picture after the inclusion of VDADecoder.h (Picture > >> struct is redefi

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-08 Thread Sebastien Zwickert
On Nov 9, 2011, at 1:52 AM, Diego Biurrun wrote: > On Tue, Nov 08, 2011 at 10:40:42PM +0100, Sebastien Zwickert wrote: >> >> In vda.h, I undefined Picture after the inclusion of VDADecoder.h (Picture >> struct is redefined in QD.h >> which get included from VDADecoder.h). >> Unfortunately, I have

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-08 Thread Diego Biurrun
On Tue, Nov 08, 2011 at 10:40:42PM +0100, Sebastien Zwickert wrote: > > In vda.h, I undefined Picture after the inclusion of VDADecoder.h (Picture > struct is redefined in QD.h > which get included from VDADecoder.h). > Unfortunately, I have no better workaround for the emmintrin.h and gcc-4.2.1

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-08 Thread Luca Barbato
On 11/8/11 1:40 PM, Sebastien Zwickert wrote: Hi, Updated patch in attachment. I've worked on the latest patch sent in this thread. I dropped changes made in doc/general.texi cause of HW-accels are not listed. In configure, I added vda deps (h264_decoder and pthreads). I added vda to CONFIG_LI

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-08 Thread Sebastien Zwickert
Hi, Updated patch in attachment. I've worked on the latest patch sent in this thread. I dropped changes made in doc/general.texi cause of HW-accels are not listed. In configure, I added vda deps (h264_decoder and pthreads). I added vda to CONFIG_LIST and updated activation behavior . Now, by def

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-05 Thread Sebastien Zwickert
On Nov 2, 2011, at 11:45 PM, Diego Biurrun wrote: > [...] >> --- /dev/null >> +++ b/libavcodec/vda.h >> @@ -0,0 +1,138 @@ >> + >> +#ifndef AVCODEC_VDA_H >> +#define AVCODEC_VDA_H >> + >> +#include >> + >> +// emmintrin.h is unable to compile with -std=c99 -Werror=missing-prototypes >> +// http://

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-03 Thread Jean-Baptiste Kempf
On Thu, Nov 03, 2011 at 10:28:00AM +0100, Sebastien Zwickert wrote : > Please could you provide me a sample of 10bit content ? http://streams.videolan.org/misc/higher/480p_H264.mkv Best Regards, -- Jean-Baptiste Kempf http://www.jbkempf.com/ - +33 672 704 734 Sent from my Electronic Device

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-03 Thread Ronald S. Bultje
Hi, On Thu, Nov 3, 2011 at 2:28 AM, Sebastien Zwickert wrote: > Please could you provide me a sample of 10bit content ? If you configure ffmpeg/libav with --samples=/path/to/dir, run "make fate-rsync" and it'll download a couple in /path/to/dir/h264-conformance/FRExt/PPH10*. Ronald

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-03 Thread Sebastien Zwickert
On Nov 2, 2011, at 11:39 PM, Alexander Strange wrote: > > On Nov 2, 2011, at 5:44 PM, Diego Biurrun wrote: > >> From: Sebastien Zwickert >> >> Support h264 accelerated decoding through MacOSX VDA framework >> >> Signed-off-by: Luca Barbato >> Signed-off-by: Diego Biurrun >> --- >> >> + >>

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-03 Thread Sebastien Zwickert
On Nov 2, 2011, at 11:45 PM, Diego Biurrun wrote: > Another fresh patch with some of these suggestions already applied > will arrive on the ml soon. > > On Wed, Nov 02, 2011 at 10:44:41PM +0100, Diego Biurrun wrote: >> >> --- a/libavcodec/Makefile >> +++ b/libavcodec/Makefile >> @@ -45,6 +45,7

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-02 Thread Janne Grunau
On Wed, Nov 02, 2011 at 11:45:31PM +0100, Diego Biurrun wrote: > Another fresh patch with some of these suggestions already applied > will arrive on the ml soon. > > On Wed, Nov 02, 2011 at 10:44:41PM +0100, Diego Biurrun wrote: > > > > --- a/libavcodec/Makefile > > +++ b/libavcodec/Makefile > >

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-02 Thread Diego Biurrun
Another fresh patch with some of these suggestions already applied will arrive on the ml soon. On Wed, Nov 02, 2011 at 10:44:41PM +0100, Diego Biurrun wrote: > > --- a/libavcodec/Makefile > +++ b/libavcodec/Makefile > @@ -45,6 +45,7 @@ RDFT-OBJS-$(CONFIG_HARDCODED_TABLES) += sin_tables.o > OBJ

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-02 Thread Alexander Strange
On Nov 2, 2011, at 5:44 PM, Diego Biurrun wrote: > From: Sebastien Zwickert > > Support h264 accelerated decoding through MacOSX VDA framework > > Signed-off-by: Luca Barbato > Signed-off-by: Diego Biurrun > --- > > + > +/* Mutex manager callback. */ > +static int vda_lock_operation(void **

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-02 Thread Luca Barbato
On 11/2/11 2:44 PM, Diego Biurrun wrote: From: Sebastien Zwickert Support h264 accelerated decoding through MacOSX VDA framework Signed-off-by: Luca Barbato Signed-off-by: Diego Biurrun --- Changelog |1 + configure |7 ++ doc/general.texi |

[libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-02 Thread Diego Biurrun
From: Sebastien Zwickert Support h264 accelerated decoding through MacOSX VDA framework Signed-off-by: Luca Barbato Signed-off-by: Diego Biurrun --- Changelog |1 + configure |7 ++ doc/general.texi |1 + libavcodec/Makefile |5 +-

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-02 Thread Luca Barbato
On 11/2/11 1:44 PM, Luca Barbato wrote: From: Sebastien Zwickert Diego please fill in the missing parts =) lu ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

[libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-02 Thread Luca Barbato
From: Sebastien Zwickert Support h264 accelerated decoding through MacOSX VDA framework Signed-off-by: Luca Barbato --- Changelog |1 + configure |8 ++ libavcodec/Makefile |5 +- libavcodec/allcodecs.c|1 + libavcodec/h264.c |