Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Unified Diff: src/opts/SkBlurImage_opts.h

Issue 61643011: SSE2 implementation of RGBA box blurs. This yields ~2X perf improvement on (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Add another missing file. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/opts/SkBlurImage_opts.h
diff --git a/src/opts/SkBlurImage_opts.h b/src/opts/SkBlurImage_opts.h
new file mode 100644
index 0000000000000000000000000000000000000000..07ac044fb15eb149321a97d049c703822bdb0a1a
--- /dev/null
+++ b/src/opts/SkBlurImage_opts.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright 2013 The Android Open Source Project
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef SkBlurImage_opts_DEFINED
+#define SkBlurImage_opts_DEFINED
+
+#include "SkColorPriv.h"
+
+typedef void (*SkBoxBlurProc)(const SkPMColor* src, int srcStride, SkPMColor* dst, int kernelSize,
+ int leftOffset, int rightOffset, int width, int height);
+
+enum SkBlurDirection {
+ kX_BlurDirection, kY_BlurDirection
+};
+
+SkBoxBlurProc SkBoxBlurGetPlatformProc(SkBlurDirection srcDirection, SkBlurDirection dstDirection);
+#endif

Powered by Google App Engine
This is Rietveld 408576698