diff options
author | Lenny Wang <lenny@multicorewareinc.com> | 2013-11-03 21:58:09 -0600 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-05 14:29:55 +0100 |
commit | 89a3be8921e265a487a5dfbd68671393b532edb7 (patch) | |
tree | 8864d1a3ac32a28d38d29ed387ef777a30a685ab /libavfilter/unsharp.h | |
parent | 668255479085728bdf875a1b01c76201e2562a47 (diff) | |
download | ffmpeg-89a3be8921e265a487a5dfbd68671393b532edb7.tar.gz |
avfilter/opencl: compile kernels separately
Reviewed-by: Wei Gao <highgod0401@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/unsharp.h')
-rw-r--r-- | libavfilter/unsharp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavfilter/unsharp.h b/libavfilter/unsharp.h index c2259298f6..2738243cea 100644 --- a/libavfilter/unsharp.h +++ b/libavfilter/unsharp.h @@ -33,6 +33,9 @@ #if CONFIG_OPENCL typedef struct { + cl_command_queue command_queue; + cl_program program; + cl_kernel kernel; cl_mem cl_luma_mask; cl_mem cl_chroma_mask; int in_plane_size[8]; @@ -42,7 +45,6 @@ typedef struct { size_t cl_inbuf_size; cl_mem cl_outbuf; size_t cl_outbuf_size; - AVOpenCLKernelEnv kernel_env; } UnsharpOpenclContext; #endif |