diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-11-14 19:47:30 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-11-22 23:20:39 +0000 |
commit | 3650cb2dfa644ff4260d226b783747ff9e020ad1 (patch) | |
tree | 1b92fbbab947bc521191cce297462b102f48badf /libavfilter/deshake.h | |
parent | 0f93cef2d6405f07b42719506cbde30f07dd8702 (diff) | |
download | ffmpeg-3650cb2dfa644ff4260d226b783747ff9e020ad1.tar.gz |
lavu,lavfi,ffmpeg: Remove experimental OpenCL API
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).
Diffstat (limited to 'libavfilter/deshake.h')
-rw-r--r-- | libavfilter/deshake.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/libavfilter/deshake.h b/libavfilter/deshake.h index 5e25bb3a7a..406cbab2f6 100644 --- a/libavfilter/deshake.h +++ b/libavfilter/deshake.h @@ -26,9 +26,6 @@ #include "avfilter.h" #include "transform.h" #include "libavutil/pixelutils.h" -#if CONFIG_OPENCL -#include "libavutil/opencl.h" -#endif enum SearchMethod { @@ -53,24 +50,6 @@ typedef struct Transform { double zoom; ///< Zoom percentage } Transform; -#if CONFIG_OPENCL - -typedef struct DeshakeOpenclContext { - cl_command_queue command_queue; - cl_program program; - cl_kernel kernel_luma; - cl_kernel kernel_chroma; - int in_plane_size[8]; - int out_plane_size[8]; - int plane_num; - cl_mem cl_inbuf; - size_t cl_inbuf_size; - cl_mem cl_outbuf; - size_t cl_outbuf_size; -} DeshakeOpenclContext; - -#endif - #define MAX_R 64 typedef struct DeshakeContext { @@ -96,9 +75,6 @@ typedef struct DeshakeContext { int cy; char *filename; ///< Motion search detailed log filename int opencl; -#if CONFIG_OPENCL - DeshakeOpenclContext opencl_ctx; -#endif int (* transform)(AVFilterContext *ctx, int width, int height, int cw, int ch, const float *matrix_y, const float *matrix_uv, enum InterpolateMethod interpolate, enum FillMethod fill, AVFrame *in, AVFrame *out); |