Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: skia/ext/convolver_SSE2.h

Issue 14929006: [MIPS] Added MIPS DSPr2 optimization for BGRAConvolve2D routine (Closed)
Patch Set: Add a non-templated parameter "has_alpha" for MIPS DSPr2 routines Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « skia/ext/convolver.cc ('k') | skia/ext/convolver_SSE2.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « skia/ext/convolver.cc ('k') | skia/ext/convolver_SSE2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698