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

2016-03-15 Thread Mark Thompson
--- configure | 4 + doc/APIchanges | 3 + libavutil/Makefile | 3 + libavutil/hwcontext.c | 3 + libavutil/hwcontext.h | 1 + libavutil/hwcontext_internal.h | 1 + libavutil/hwcontext_vaapi.c| 850 +

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

2016-03-10 Thread Anton Khirnov
Quoting Mark Thompson (2016-03-10 18:54:30) > On 10/03/16 16:16, Anton Khirnov wrote: > > Quoting Mark Thompson (2016-03-10 16:56:21) > +++avfc->nb_surfaces; > +if (avfc->nb_surfaces == 1) { > +// Test whether vaDeriveImage() works for this type of surface. > +

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

2016-03-10 Thread Mark Thompson
On 10/03/16 16:16, Anton Khirnov wrote: > Quoting Mark Thompson (2016-03-10 16:56:21) +++avfc->nb_surfaces; +if (avfc->nb_surfaces == 1) { +// Test whether vaDeriveImage() works for this type of surface. +VAImageFormat *expected_format; +VAIm

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

2016-03-10 Thread Anton Khirnov
Quoting Mark Thompson (2016-03-10 16:56:21) > >> +++avfc->nb_surfaces; > >> +if (avfc->nb_surfaces == 1) { > >> +// Test whether vaDeriveImage() works for this type of surface. > >> +VAImageFormat *expected_format; > >> +VAImage test_image; > >> +int err; > >

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

2016-03-10 Thread Mark Thompson
On 10/03/16 14:27, Anton Khirnov wrote: > Quoting Mark Thompson (2016-03-08 00:21:45) >> --- >> configure | 4 + >> libavutil/Makefile | 3 + >> libavutil/hwcontext.c | 3 + >> libavutil/hwcontext.h | 1 + >> libavutil/hwcontext_internal.h

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

2016-03-10 Thread Anton Khirnov
Quoting Mark Thompson (2016-03-08 00:21:45) > --- > configure | 4 + > libavutil/Makefile | 3 + > libavutil/hwcontext.c | 3 + > libavutil/hwcontext.h | 1 + > libavutil/hwcontext_internal.h | 1 + > libavutil/hwcontext_vaapi.c| 822

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

2016-03-10 Thread Anton Khirnov
Quoting Mark Thompson (2016-03-08 10:56:40) > On 08/03/16 09:25, Diego Biurrun wrote: > > On Mon, Mar 07, 2016 at 11:21:45PM +, Mark Thompson wrote: > >> --- /dev/null > >> +++ b/libavutil/hwcontext_vaapi.c > >> @@ -0,0 +1,822 @@ > >> + > >> +// On current Intel drivers, derive gives you me

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

2016-03-08 Thread Mark Thompson
On 08/03/16 09:25, Diego Biurrun wrote: > On Mon, Mar 07, 2016 at 11:21:45PM +, Mark Thompson wrote: >> --- /dev/null >> +++ b/libavutil/hwcontext_vaapi.c >> @@ -0,0 +1,822 @@ >> + >> +// On current Intel drivers, derive gives you memory which is very slow >> +// to read normally. Assu

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

2016-03-08 Thread Diego Biurrun
On Mon, Mar 07, 2016 at 11:21:45PM +, Mark Thompson wrote: > --- /dev/null > +++ b/libavutil/hwcontext_vaapi.c > @@ -0,0 +1,822 @@ > + > +// On current Intel drivers, derive gives you memory which is very slow > +// to read normally. Assume for now that a user who asks for read access

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

2016-03-07 Thread Mark Thompson
--- configure | 4 + libavutil/Makefile | 3 + libavutil/hwcontext.c | 3 + libavutil/hwcontext.h | 1 + libavutil/hwcontext_internal.h | 1 + libavutil/hwcontext_vaapi.c| 822 + libavutil/hwco