OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SKIA_EXT_CONVOLVER_SSE2_H_ | 5 #ifndef SKIA_EXT_CONVOLVER_SSE2_H_ |
6 #define SKIA_EXT_CONVOLVER_SSE2_H_ | 6 #define SKIA_EXT_CONVOLVER_SSE2_H_ |
7 | 7 |
8 #include "skia/ext/convolver.h" | 8 #include "skia/ext/convolver.h" |
9 | 9 |
10 namespace skia { | 10 namespace skia { |
11 | 11 |
12 void ConvolveVertically_SSE2(const ConvolutionFilter1D::Fixed* filter_values, | 12 void ConvolveVertically_SSE2(const ConvolutionFilter1D::Fixed* filter_values, |
13 int filter_length, | 13 int filter_length, |
14 unsigned char* const* source_data_rows, | 14 unsigned char* const* source_data_rows, |
15 int pixel_width, | 15 int pixel_width, |
16 unsigned char* out_row, | 16 unsigned char* out_row, |
17 bool has_alpha); | 17 bool has_alpha); |
18 void Convolve4RowsHorizontally_SSE2(const unsigned char* src_data[4], | 18 void Convolve4RowsHorizontally_SSE2(const unsigned char* src_data[4], |
19 const ConvolutionFilter1D& filter, | 19 const ConvolutionFilter1D& filter, |
20 unsigned char* out_row[4]); | 20 unsigned char* out_row[4]); |
21 void ConvolveHorizontally_SSE2(const unsigned char* src_data, | 21 void ConvolveHorizontally_SSE2(const unsigned char* src_data, |
22 const ConvolutionFilter1D& filter, | 22 const ConvolutionFilter1D& filter, |
23 unsigned char* out_row); | 23 unsigned char* out_row, |
| 24 bool has_alpha); |
24 } // namespace skia | 25 } // namespace skia |
25 | 26 |
26 #endif // SKIA_EXT_CONVOLVER_SSE2_H_ | 27 #endif // SKIA_EXT_CONVOLVER_SSE2_H_ |
OLD | NEW |