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

Side by Side Diff: src/opts/SkBitmapFilter_opts_SSE2.h

Issue 530673002: Remove dead code in SkBitmapFilter_opts_SSE2.h/cpp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | src/opts/SkBitmapFilter_opts_SSE2.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkBitmapFilter_opts_sse2_DEFINED 8 #ifndef SkBitmapFilter_opts_sse2_DEFINED
9 #define SkBitmapFilter_opts_sse2_DEFINED 9 #define SkBitmapFilter_opts_sse2_DEFINED
10 10
11 #include "SkBitmapProcState.h" 11 #include "SkBitmapProcState.h"
12 #include "SkConvolver.h" 12 #include "SkConvolver.h"
13 13
14 void highQualityFilter_ScaleOnly_SSE2(const SkBitmapProcState &s, int x, int y,
15 SkPMColor *SK_RESTRICT colors, int count);
16 void highQualityFilter_SSE2(const SkBitmapProcState &s, int x, int y, 14 void highQualityFilter_SSE2(const SkBitmapProcState &s, int x, int y,
17 SkPMColor *SK_RESTRICT colors, int count); 15 SkPMColor *SK_RESTRICT colors, int count);
18 16
19 17
20 void convolveVertically_SSE2(const SkConvolutionFilter1D::ConvolutionFixed* filt er_values, 18 void convolveVertically_SSE2(const SkConvolutionFilter1D::ConvolutionFixed* filt er_values,
21 int filter_length, 19 int filter_length,
22 unsigned char* const* source_data_rows, 20 unsigned char* const* source_data_rows,
23 int pixel_width, 21 int pixel_width,
24 unsigned char* out_row, 22 unsigned char* out_row,
25 bool has_alpha); 23 bool has_alpha);
26 void convolve4RowsHorizontally_SSE2(const unsigned char* src_data[4], 24 void convolve4RowsHorizontally_SSE2(const unsigned char* src_data[4],
27 const SkConvolutionFilter1D& filter, 25 const SkConvolutionFilter1D& filter,
28 unsigned char* out_row[4]); 26 unsigned char* out_row[4]);
29 void convolveHorizontally_SSE2(const unsigned char* src_data, 27 void convolveHorizontally_SSE2(const unsigned char* src_data,
30 const SkConvolutionFilter1D& filter, 28 const SkConvolutionFilter1D& filter,
31 unsigned char* out_row, 29 unsigned char* out_row,
32 bool has_alpha); 30 bool has_alpha);
33 void applySIMDPadding_SSE2(SkConvolutionFilter1D* filter); 31 void applySIMDPadding_SSE2(SkConvolutionFilter1D* filter);
34 32
35 #endif 33 #endif
OLDNEW
« no previous file with comments | « no previous file | src/opts/SkBitmapFilter_opts_SSE2.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698