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

Unified Diff: src/core/SkOpts.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/core/SkOpts.h
diff --git a/src/core/SkOpts.h b/src/core/SkOpts.h
index 398904782676e036b0cacedbd7fd9858165db1e8..90467e041e41b269a9df72cf46f7c16108676a72 100644
--- a/src/core/SkOpts.h
+++ b/src/core/SkOpts.h
@@ -67,6 +67,18 @@ namespace SkOpts {
extern void (*half_to_float)(float[], const uint16_t[], int);
extern void (*float_to_half)(uint16_t[], const float[], int);
+
+ extern void (*matrix_convolution_image_filter_filter_pixels)(
+ 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//SkOpts_DEFINED

Powered by Google App Engine
This is Rietveld 408576698