Index: src/core/SkOpts.h |
diff --git a/src/core/SkOpts.h b/src/core/SkOpts.h |
index 1d5e3337298a67cb9e907bbdbaf025c72ca2509e..22be97c332394d6ae03dc86dd5c55de28e6452ce 100644 |
--- a/src/core/SkOpts.h |
+++ b/src/core/SkOpts.h |
@@ -8,6 +8,7 @@ |
#ifndef SkOpts_DEFINED |
#define SkOpts_DEFINED |
+#include "SkConvolver.h" |
#include "SkRasterPipeline.h" |
#include "SkTextureCompressor.h" |
#include "SkTypes.h" |
@@ -76,6 +77,15 @@ namespace SkOpts { |
extern std::function<void(size_t, size_t, size_t)> |
(*compile_pipeline)(const SkRasterPipeline::Stage*, int); |
+ |
+ extern void (*convolve_vertically)(const SkConvolutionFilter1D::ConvolutionFixed* filter_values, |
+ int filter_length, unsigned char* const* source_data_rows, |
+ int pixel_width, unsigned char* out_row, bool has_alpha); |
+ extern void (*convolve_4_rows_horizontally)(const unsigned char* src_data[4], |
+ const SkConvolutionFilter1D& filter, |
+ unsigned char* out_row[4], size_t out_row_bytes); |
+ extern void (*convolve_horizontally)(const unsigned char* src_data, const SkConvolutionFilter1D& filter, |
+ unsigned char* out_row, bool has_alpha); |
} |
#endif//SkOpts_DEFINED |