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

Paul B Mahol onemda at gmail.com
Sat Jul 2 00:39:29 EEST 2022


On Fri, Jul 1, 2022 at 11:04 PM Michael Niedermayer <michael at niedermayer.cc>
wrote:

> 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
>

Already spotted and fixed days ago.


>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> It is dangerous to be right in matters on which the established authorities
> are wrong. -- Voltaire
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-devel mailing list