lavu,lavfi,ffmpeg: Remove experimental OpenCL API

Multimedia / FFmpeg - Mark Thompson [jkqxz.net] - 22 November 2017 23:20 EST

This was added in early 2013 and abandoned several months later; as far as I can tell, there are no external users. Future OpenCL use will be via hwcontext, which requires neither special OpenCL-only API nor global state in libavutil.

All internal users are also deleted - this is just the unsharp filter (replaced by unsharp_opencl, which is more flexible) and the deshake filter (no replacement).

3650cb2dfa lavu,lavfi,ffmpeg: Remove experimental OpenCL API
configure | 2 -
doc/APIchanges | 3 +
doc/filters.texi | 8 -
doc/utils.texi | 30 --
fftools/Makefile | 1 -
fftools/cmdutils.h | 18 -
fftools/cmdutils_opencl.c | 283 ------------
libavfilter/Makefile | 3 -
libavfilter/allfilters.c | 2 -
libavfilter/deshake.h | 24 -
libavfilter/deshake_opencl.c | 198 --------
libavfilter/deshake_opencl.h | 45 --
libavfilter/deshake_opencl_kernel.h | 225 ----------
libavfilter/opencl_allkernels.c | 41 --
libavfilter/opencl_allkernels.h | 29 --
libavfilter/unsharp.h | 31 --
libavfilter/unsharp_opencl.c | 422 -----------------
libavfilter/unsharp_opencl.h | 34 --
libavfilter/unsharp_opencl_kernel.h | 342 --------------
libavfilter/vf_deshake.c | 23 +-
libavfilter/vf_unsharp.c | 26 +-
libavutil/Makefile | 4 -
libavutil/opencl.c | 875 ------------------------------------
libavutil/opencl.h | 292 ------------
libavutil/opencl_internal.c | 59 ---
libavutil/opencl_internal.h | 40 --
26 files changed, 6 insertions(+), 3054 deletions(-)

  • Share