Roll WebRTC 8987:8989, Libjingle 8985:8990
[chromium-blink-merge.git] / skia / ext / convolver_SSE2.h
blobcf604067e92bcfd8b68978f09a0146b5924d783c
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.
5 #ifndef SKIA_EXT_CONVOLVER_SSE2_H_
6 #define SKIA_EXT_CONVOLVER_SSE2_H_
8 #include "skia/ext/convolver.h"
10 namespace skia {
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
27 #endif // SKIA_EXT_CONVOLVER_SSE2_H_