[FFmpeg-devel] [PATCH] avfilter/vf_lut3d_opencl Initial support for OpenCL implementation of vf_lut3d.

Michael Niedermayer michael at niedermayer.cc
Tue Apr 29 21:33:16 EEST 2025


On Mon, Apr 28, 2025 at 01:37:27PM +0300, Jan Studený via ffmpeg-devel wrote:
> ---
>  libavfilter/Makefile          |   1 +
>  libavfilter/allfilters.c      |   1 +
>  libavfilter/opencl/lut3d.cl   | 177 ++++++++++++++
>  libavfilter/opencl_source.h   |   2 +
>  libavfilter/vf_lut3d_opencl.c | 444 ++++++++++++++++++++++++++++++++++
>  5 files changed, 625 insertions(+)
>  create mode 100644 libavfilter/opencl/lut3d.cl
>  create mode 100644 libavfilter/vf_lut3d_opencl.c

breaks build (older ubuntu)

 make
LD	ffmpeg_g
/usr/bin/ld: libavfilter/libavfilter.a(opencl.o): undefined reference to symbol 'clBuildProgram@@OPENCL_1.0'
/usr/bin/ld: /usr/local/cuda/targets/x86_64-linux/lib/libOpenCL.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [Makefile:142: ffmpeg_g] Error 1


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

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- 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/20250429/824fe38c/attachment.sig>


More information about the ffmpeg-devel mailing list