• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef SKIA_EXT_CONVOLVER_SSE2_H_
6 #define SKIA_EXT_CONVOLVER_SSE2_H_
7 
8 #include "skia/ext/convolver.h"
9 
10 namespace skia {
11 
12 void ConvolveVertically_SSE2(const ConvolutionFilter1D::Fixed* filter_values,
13                              int filter_length,
14                              unsigned char* const* source_data_rows,
15                              int pixel_width,
16                              unsigned char* out_row,
17                              bool has_alpha);
18 void Convolve4RowsHorizontally_SSE2(const unsigned char* src_data[4],
19                                     const ConvolutionFilter1D& filter,
20                                     unsigned char* out_row[4]);
21 void ConvolveHorizontally_SSE2(const unsigned char* src_data,
22                                const ConvolutionFilter1D& filter,
23                                unsigned char* out_row,
24                                bool has_alpha);
25 }  // namespace skia
26 
27 #endif  // SKIA_EXT_CONVOLVER_SSE2_H_
28