[FFmpeg-devel] [PATCH] avfilter: add remap_opencl filter

Michael Niedermayer michael at niedermayer.cc
Sat Jul 2 00:04:33 EEST 2022


On Thu, Jun 30, 2022 at 08:59:53AM +0200, Paul B Mahol wrote:
> Updated.

>  libavfilter/Makefile          |    2 
>  libavfilter/allfilters.c      |    1 
>  libavfilter/opencl/remap.cl   |   69 ++++++++
>  libavfilter/opencl_source.h   |    1 
>  libavfilter/vf_remap_opencl.c |  362 ++++++++++++++++++++++++++++++++++++++++++
>  libavutil/hwcontext_opencl.c  |    5 
>  6 files changed, 439 insertions(+), 1 deletion(-)
> d6ec16b957d70b99edb4afe997ede6c683749ede  0001-avfilter-add-remap-opencl-filter.patch
> From 2b6b653bebec01d9d523102c1bfe2ce4b1be93dd Mon Sep 17 00:00:00 2001
> From: Paul B Mahol <onemda at gmail.com>
> Date: Wed, 29 Jun 2022 19:12:24 +0200
> Subject: [PATCH] avfilter: add remap opencl filter
> 
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/Makefile          |   2 +
>  libavfilter/allfilters.c      |   1 +
>  libavfilter/opencl/remap.cl   |  69 +++++++
>  libavfilter/opencl_source.h   |   1 +
>  libavfilter/vf_remap_opencl.c | 362 ++++++++++++++++++++++++++++++++++
>  libavutil/hwcontext_opencl.c  |   5 +-
>  6 files changed, 439 insertions(+), 1 deletion(-)
>  create mode 100644 libavfilter/opencl/remap.cl
>  create mode 100644 libavfilter/vf_remap_opencl.c

breaks build here (ubuntu x86-64)

make
CC	libavfilter/opencl.o
In file included from libavfilter/opencl.h:31:0,
                 from libavfilter/opencl.c:26:
./libavutil/hwcontext_opencl.h:25:10: fatal error: CL/cl.h: No such file or directory
 #include <CL/cl.h>
          ^~~~~~~~~
compilation terminated.
ffbuild/common.mak:81: recipe for target 'libavfilter/opencl.o' failed
make: *** [libavfilter/opencl.o] Error 1

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220701/a5fe20d4/attachment.sig>


More information about the ffmpeg-devel mailing list