| Index: src/core/SkOpts.h
|
| diff --git a/src/core/SkOpts.h b/src/core/SkOpts.h
|
| index 76ca68a2bdbfc78cee854d24264507be0af8fd94..f51da9c69cfcba07b6c482313f73a2df9274ebb3 100644
|
| --- a/src/core/SkOpts.h
|
| +++ b/src/core/SkOpts.h
|
| @@ -12,6 +12,7 @@
|
| #include "SkTextureCompressor.h"
|
| #include "SkTypes.h"
|
| #include "SkXfermode.h"
|
| +#include "SkConvolver.h"
|
| #include <functional>
|
|
|
| struct ProcCoeff;
|
| @@ -76,6 +77,15 @@ namespace SkOpts {
|
|
|
| extern
|
| std::function<void(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
|
|
|