Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / skia / ext / convolver_mips_dspr2.h
bloba5e59f935b96c71e1bc92ca6fcf2203aea9abe98
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef SKIA_EXT_CONVOLVER_MIPS_DSPR2_H_
6 #define SKIA_EXT_CONVOLVER_MIPS_DSPR2_H_
8 #include "skia/ext/convolver.h"
10 namespace skia {
12 void ConvolveVertically_mips_dspr2(const ConvolutionFilter1D::Fixed* filter_val,
13 int filter_length,
14 unsigned char* const* source_data_rows,
15 int pixel_width,
16 unsigned char* out_row,
17 bool has_alpha);
19 void ConvolveHorizontally_mips_dspr2(const unsigned char* src_data,
20 const ConvolutionFilter1D& filter,
21 unsigned char* out_row,
22 bool has_alpha);
23 } // namespace skia
25 #endif // SKIA_EXT_CONVOLVER_MIPS_DSPR2_H_