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

Unified Diff: src/core/SkConvolver.h

Issue 2500113004: Port convolve functions to SkOpts (Closed)
Patch Set: Fix typo Created 4 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
« no previous file with comments | « src/core/SkBitmapScaler.cpp ('k') | src/core/SkConvolver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkConvolver.h
diff --git a/src/core/SkConvolver.h b/src/core/SkConvolver.h
index 28a08dfa6800411bf2a9dd0b5692f53cb0209ce8..4c4b1fd71100c73cdabbda40a74bd92ef3676dd2 100644
--- a/src/core/SkConvolver.h
+++ b/src/core/SkConvolver.h
@@ -140,32 +140,6 @@ private:
int fMaxFilter;
};
-typedef void (*SkConvolveVertically_pointer)(
- const SkConvolutionFilter1D::ConvolutionFixed* filterValues,
- int filterLength,
- unsigned char* const* sourceDataRows,
- int pixelWidth,
- unsigned char* outRow,
- bool hasAlpha);
-typedef void (*SkConvolve4RowsHorizontally_pointer)(
- const unsigned char* srcData[4],
- const SkConvolutionFilter1D& filter,
- unsigned char* outRow[4],
- size_t outRowBytes);
-typedef void (*SkConvolveHorizontally_pointer)(
- const unsigned char* srcData,
- const SkConvolutionFilter1D& filter,
- unsigned char* outRow,
- bool hasAlpha);
-
-struct SkConvolutionProcs {
- SkConvolveVertically_pointer fConvolveVertically;
- SkConvolve4RowsHorizontally_pointer fConvolve4RowsHorizontally;
- SkConvolveHorizontally_pointer fConvolveHorizontally;
-};
-
-
-
// Does a two-dimensional convolution on the given source image.
//
// It is assumed the source pixel offsets referenced in the input filters
@@ -194,8 +168,6 @@ SK_API bool BGRAConvolve2D(const unsigned char* sourceData,
const SkConvolutionFilter1D& xfilter,
const SkConvolutionFilter1D& yfilter,
int outputByteRowStride,
- unsigned char* output,
- const SkConvolutionProcs&,
- bool useSimdIfPossible);
+ unsigned char* output);
#endif // SK_CONVOLVER_H
« no previous file with comments | « src/core/SkBitmapScaler.cpp ('k') | src/core/SkConvolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698