diff options
author | Lenny Wang <lwanghpc@gmail.com> | 2013-12-14 05:11:00 -0600 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-12-19 13:31:31 +0100 |
commit | d943330dc01f4d222dc1127d6216cd683dc41ee0 (patch) | |
tree | a8c39b3fd4066fa4bd0e384f4de177ea777c6d77 /libavfilter/deshake.h | |
parent | f5d039840aca64d0ce79cd08e64423833becf570 (diff) | |
download | ffmpeg-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.h | 9 |
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; |