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

Unified Diff: src/opts/SkMatrixConvolutionImageFilter_opts_SSE.h

Issue 1881903004: Rewriting MatrixConvolution image filter with SSE and AVX2 Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 8 months 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/SkMatrixConvolutionImageFilter_opts_SSE.h
diff --git a/src/opts/SkMatrixConvolutionImageFilter_opts_SSE.h b/src/opts/SkMatrixConvolutionImageFilter_opts_SSE.h
new file mode 100644
index 0000000000000000000000000000000000000000..72b8bf3e9ec786a6480ab0c5454229782deb4972
--- /dev/null
+++ b/src/opts/SkMatrixConvolutionImageFilter_opts_SSE.h
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2016 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef SkMatrixConvolutionImageFilter_opts_SSE_DEFINED
+#define SkMatrixConvolutionImageFilter_opts_SSE_DEFINED
+
+#include "SkScalar.h"
+#include "SkSize.h"
+#include "SkPoint.h"
+
+
+namespace sk_sse {
+
+void SkMatrixConvolutionImageFilter_filterPixels_SSE(
+ const SkBitmap& src,
+ SkBitmap* result,
+ const SkIRect& r,
+ const SkIRect& bounds,
+ bool convolveAlpha,
+ SkScalar* kernel,
+ const SkISize& kernel_size,
+ const SkIPoint& kernel_offset, SkScalar gain,
+ SkScalar bias);
+
+}
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698