Re: [libav-devel] [PATCH 07/12] lavfi: Add some common code for OpenCL filtering

2017-06-29 Thread wm4
On Thu, 29 Jun 2017 10:25:09 +0100 Mark Thompson wrote: > This does actually work already by magic :) > > Both NV12 and P010 surfaces become UNORM R and RG planes, just with a > different size of sample underneath. Use in OpenCL then sees them > identically as planes of

Re: [libav-devel] [PATCH 07/12] lavfi: Add some common code for OpenCL filtering

2017-06-29 Thread Mark Thompson
On 29/06/17 02:16, Jun Zhao wrote: > On 2017/6/28 5:50, Mark Thompson wrote: >> --- >> libavfilter/Makefile | 6 + >> libavfilter/opencl.c | 285 >> +++ >> libavfilter/opencl.h | 74 +++ >> libavfilter/opencl/rgbyuv.cl |

Re: [libav-devel] [PATCH 07/12] lavfi: Add some common code for OpenCL filtering

2017-06-28 Thread Jun Zhao
On 2017/6/28 5:50, Mark Thompson wrote: > --- > libavfilter/Makefile | 6 + > libavfilter/opencl.c | 285 > +++ > libavfilter/opencl.h | 74 +++ > libavfilter/opencl/rgbyuv.cl | 117 ++ >

Re: [libav-devel] [PATCH 07/12] lavfi: Add some common code for OpenCL filtering

2017-06-28 Thread wm4
On Tue, 27 Jun 2017 22:50:49 +0100 Mark Thompson wrote: > --- > libavfilter/Makefile | 6 + > libavfilter/opencl.c | 285 > +++ > libavfilter/opencl.h | 74 +++ > libavfilter/opencl/rgbyuv.cl | 117

[libav-devel] [PATCH 07/12] lavfi: Add some common code for OpenCL filtering

2017-06-27 Thread Mark Thompson
--- libavfilter/Makefile | 6 + libavfilter/opencl.c | 285 +++ libavfilter/opencl.h | 74 +++ libavfilter/opencl/rgbyuv.cl | 117 ++ libavfilter/opencl_source.h | 24 tools/cl2c |