Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLenny Wang <lenny@multicorewareinc.com>2013-11-04 07:58:09 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-11-05 17:29:55 +0400
commit89a3be8921e265a487a5dfbd68671393b532edb7 (patch)
tree8864d1a3ac32a28d38d29ed387ef777a30a685ab /libavfilter/unsharp.h
parent668255479085728bdf875a1b01c76201e2562a47 (diff)
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.h4
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