aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/deshake.h
diff options
context:
space:
mode:
authorLenny Wang <lwanghpc@gmail.com>2013-12-14 05:11:00 -0600
committerMichael Niedermayer <michaelni@gmx.at>2013-12-19 13:31:31 +0100
commitd943330dc01f4d222dc1127d6216cd683dc41ee0 (patch)
treea8c39b3fd4066fa4bd0e384f4de177ea777c6d77 /libavfilter/deshake.h
parentf5d039840aca64d0ce79cd08e64423833becf570 (diff)
downloadffmpeg-d943330dc01f4d222dc1127d6216cd683dc41ee0.tar.gz
lavfi/deshake_opencl: optimze transform filter
Reviewed-by: Wei Gao <highgod0401@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/deshake.h')
-rw-r--r--libavfilter/deshake.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/libavfilter/deshake.h b/libavfilter/deshake.h
index 5792973957..615953cfe3 100644
--- a/libavfilter/deshake.h
+++ b/libavfilter/deshake.h
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2013 Wei Gao <weigao@multicorewareinc.com>
+ * Copyright (C) 2013 Lenny Wang
*
* This file is part of FFmpeg.
*
@@ -57,12 +58,8 @@ typedef struct {
typedef struct {
cl_command_queue command_queue;
cl_program program;
- cl_kernel kernel;
- size_t matrix_size;
- float matrix_y[9];
- float matrix_uv[9];
- cl_mem cl_matrix_y;
- cl_mem cl_matrix_uv;
+ cl_kernel kernel_luma;
+ cl_kernel kernel_chroma;
int in_plane_size[8];
int out_plane_size[8];
int plane_num;