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

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

Issue 19335002: Production quality fast image up/downsampler (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: camel case and if-statement braces Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « src/core/SkConvolver.cpp ('k') | 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 /* 2 /*
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkBitmapFilter_opts_sse2_DEFINED 10 #ifndef SkBitmapFilter_opts_sse2_DEFINED
11 #define SkBitmapFilter_opts_sse2_DEFINED 11 #define SkBitmapFilter_opts_sse2_DEFINED
12 12
13 #include "SkBitmapProcState.h" 13 #include "SkBitmapProcState.h"
14 #include "SkConvolver.h"
14 15
15 void highQualityFilter_ScaleOnly_SSE2(const SkBitmapProcState &s, int x, int y, 16 void highQualityFilter_ScaleOnly_SSE2(const SkBitmapProcState &s, int x, int y,
16 SkPMColor *SK_RESTRICT colors, int count); 17 SkPMColor *SK_RESTRICT colors, int count);
17 void highQualityFilter_SSE2(const SkBitmapProcState &s, int x, int y, 18 void highQualityFilter_SSE2(const SkBitmapProcState &s, int x, int y,
18 SkPMColor *SK_RESTRICT colors, int count); 19 SkPMColor *SK_RESTRICT colors, int count);
19 20
21
22 void convolveVertically_SSE2(const SkConvolutionFilter1D::ConvolutionFixed* filt er_values,
23 int filter_length,
24 unsigned char* const* source_data_rows,
25 int pixel_width,
26 unsigned char* out_row,
27 bool has_alpha);
28 void convolve4RowsHorizontally_SSE2(const unsigned char* src_data[4],
29 const SkConvolutionFilter1D& filter,
30 unsigned char* out_row[4]);
31 void convolveHorizontally_SSE2(const unsigned char* src_data,
32 const SkConvolutionFilter1D& filter,
33 unsigned char* out_row,
34 bool has_alpha);
35 void applySIMDPadding_SSE2(SkConvolutionFilter1D* filter);
36
20 #endif 37 #endif
OLDNEW
« no previous file with comments | « src/core/SkConvolver.cpp ('k') | src/opts/SkBitmapFilter_opts_SSE2.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698