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

Unified Diff: src/opts/SkMorphology_opts.h

Issue 52603004: Implement SSE2-based implementations of the morphology filters (dilate & (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Fix typo in dilateY() Created 7 years, 2 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/SkMorphology_opts.h
diff --git a/src/opts/SkMorphology_opts.h b/src/opts/SkMorphology_opts.h
new file mode 100644
index 0000000000000000000000000000000000000000..62652836f69575ed58735661192d1c5f4487d595
--- /dev/null
+++ b/src/opts/SkMorphology_opts.h
@@ -0,0 +1,16 @@
+/*
+ * 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.
+ */
+
+#include <SkColor.h>
+
+typedef void (*SkMorphologyProc)(const SkPMColor* src, SkPMColor* dst, int radius,
+ int width, int height, int srcStride, int dstStride);
reed1 2013/10/30 15:15:04 are these logically size_t? we use size_t for byte
mtklein 2013/10/30 15:44:47 These strides are pixel counts, so I think it make
reed1 2013/10/30 15:49:52 Ah, then lets rename/document them to make that cl
Stephen White 2013/10/30 19:47:17 Done.
+
+SkMorphologyProc SkDilateXGetPlatformProc();
reed1 2013/10/30 15:15:04 "if" this list wants to grow in the future, I wond
Stephen White 2013/10/30 19:47:17 I don't forsee the list growing, but I've turned i
+SkMorphologyProc SkDilateYGetPlatformProc();
+SkMorphologyProc SkErodeXGetPlatformProc();
+SkMorphologyProc SkErodeYGetPlatformProc();

Powered by Google App Engine
This is Rietveld 408576698