Re: [libav-devel] [PATCH 5/8] lavu: OpenCL hwcontext implementation

2016-08-30 Thread Diego Biurrun
On Tue, Aug 30, 2016 at 09:38:03PM +0100, Mark Thompson wrote: > On 30/08/16 10:08, Diego Biurrun wrote: > > On Tue, Aug 30, 2016 at 12:51:24AM +0100, Mark Thompson wrote: > >> --- a/configure > >> +++ b/configure > >> @@ -4675,6 +4677,10 @@ enabled omx && { check_header > >>

Re: [libav-devel] [PATCH 5/8] lavu: OpenCL hwcontext implementation

2016-08-30 Thread Mark Thompson
On 30/08/16 10:08, Diego Biurrun wrote: > On Tue, Aug 30, 2016 at 12:51:24AM +0100, Mark Thompson wrote: >> --- a/configure >> +++ b/configure >> @@ -4675,6 +4677,10 @@ enabled omx && { check_header >> OMX_Core.h || >> add_cflags

Re: [libav-devel] [PATCH 7/8] hwcontext_opencl: OpenCL <-> VAAPI mapping for Intel platforms

2016-08-30 Thread Mark Thompson
On 30/08/16 00:53, Mark Thompson wrote: > --- > configure| 5 + > libavutil/hwcontext_opencl.c | 335 > +++ > 2 files changed, 340 insertions(+) > > diff --git a/configure b/configure > index f32f505..4d08c6a 100755 > --- a/configure

Re: [libav-devel] [PATCH 1/8] hwcontext: Hardware frame mapping

2016-08-30 Thread Mark Thompson
On 30/08/16 09:58, Diego Biurrun wrote: > On Tue, Aug 30, 2016 at 12:47:41AM +0100, Mark Thompson wrote: >> --- a/libavutil/hwcontext.c >> +++ b/libavutil/hwcontext.c >> @@ -495,3 +495,98 @@ fail: >> +static void ff_hwframe_unmap(void *opaque, uint8_t *data) >> +{ >> +FFHWMapDescriptor *hwmap

Re: [libav-devel] [PATCH 4/8] lavu: Add OpenCL hardware pixfmt

2016-08-30 Thread Luca Barbato
On 30/08/16 01:51, Mark Thompson wrote: > --- > doc/APIchanges | 3 +++ > libavutil/pixdesc.c | 4 > libavutil/pixfmt.h | 7 +++ > libavutil/version.h | 2 +- > 4 files changed, 15 insertions(+), 1 deletion(-) > Seems Ok. ___

Re: [libav-devel] [PATCH 8/8] avconv: Trivial support for making an OpenCL device

2016-08-30 Thread Luca Barbato
On 30/08/16 01:53, Mark Thompson wrote: > Creates the device to use with the hwupload filter. > --- > Makefile| 1 + > avconv.h| 1 + > avconv_opencl.c | 37 + > avconv_opt.c| 15 +++ > 4 files changed, 54 insertions(+) >

Re: [libav-devel] [PATCH 6/8] lavfi: Add filter to run an arbitrary OpenCL kernel on frames

2016-08-30 Thread Diego Biurrun
On Tue, Aug 30, 2016 at 12:52:17AM +0100, Mark Thompson wrote: > --- > configure | 1 + > libavfilter/Makefile| 1 + > libavfilter/allfilters.c| 1 + > libavfilter/vf_opencl_program.c | 406 > > 4 files

Re: [libav-devel] [PATCH 5/8] lavu: OpenCL hwcontext implementation

2016-08-30 Thread Diego Biurrun
On Tue, Aug 30, 2016 at 12:51:24AM +0100, Mark Thompson wrote: > --- a/configure > +++ b/configure > @@ -4675,6 +4677,10 @@ enabled omx && { check_header OMX_Core.h > || > add_cflags -isystem/opt/vc/include/IL ; } >

Re: [libav-devel] [PATCH 2/8] lavfi: Hardware map and unmap filters

2016-08-30 Thread Diego Biurrun
On Tue, Aug 30, 2016 at 12:49:15AM +0100, Mark Thompson wrote: > The hwmap filter takes a hardware frame as input and maps it to > something else (hardware or software) for other processing. > > The hwunmap filter undoes a hwmap - the frame which was mapped is > put back into the filter chain. >

Re: [libav-devel] [PATCH 1/8] hwcontext: Hardware frame mapping

2016-08-30 Thread Diego Biurrun
On Tue, Aug 30, 2016 at 12:47:41AM +0100, Mark Thompson wrote: > --- a/libavutil/hwcontext.c > +++ b/libavutil/hwcontext.c > @@ -495,3 +495,98 @@ fail: > +static void ff_hwframe_unmap(void *opaque, uint8_t *data) > +{ > +FFHWMapDescriptor *hwmap = (FFHWMapDescriptor*)data; (FFHWMapDescriptor