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:
authorAlexey Titov <alex.ti.771@gmail.com>2015-02-10 23:21:05 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-02-11 15:51:58 +0300
commita05a7373166c3c1b2eed3db66e143e9d227e0354 (patch)
tree6299b33a7c50ca1818ab145c4ac284d97fb0de49 /libavfilter/unsharp.h
parentac494e5a66507c8124e8ba399b3f0685a51d7a82 (diff)
avfilter/unsharp: OpenCL unsharpen filter optimization: substitute N^2 filter computation with 2N+C
i7-4770K luma 21% faster, chroma 18% faster A10-7850K luma 42% faster, chroma 37% faster on 1920x1080 res Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/unsharp.h')
-rw-r--r--libavfilter/unsharp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavfilter/unsharp.h b/libavfilter/unsharp.h
index c2aed64a01..fc651c0654 100644
--- a/libavfilter/unsharp.h
+++ b/libavfilter/unsharp.h
@@ -41,6 +41,10 @@ typedef struct {
cl_kernel kernel_chroma;
cl_mem cl_luma_mask;
cl_mem cl_chroma_mask;
+ cl_mem cl_luma_mask_x;
+ cl_mem cl_chroma_mask_x;
+ cl_mem cl_luma_mask_y;
+ cl_mem cl_chroma_mask_y;
int in_plane_size[8];
int out_plane_size[8];
int plane_num;