summaryrefslogtreecommitdiffstats
path: root/libavfilter/deshake.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/deshake.h')
-rw-r--r--libavfilter/deshake.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/libavfilter/deshake.h b/libavfilter/deshake.h
index 5e25bb3..406cbab 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);
OpenPOWER on IntegriCloud