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

Side by Side Diff: src/opts/SkOpts_sse41.cpp

Issue 1267343004: Port morphology to SkOpts. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 4 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 | « src/opts/SkOpts_sse2.cpp ('k') | src/opts/opts_check_x86.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 2015 Google Inc. 2 * Copyright 2015 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 #include "SkOpts.h" 8 #include "SkOpts.h"
9 9
10 #define SK_OPTS_NS sse41 10 #define SK_OPTS_NS sse41
11 #include "SkBlurImageFilter_opts.h" 11 #include "SkBlurImageFilter_opts.h"
12 12
13 namespace SkOpts { 13 namespace SkOpts {
14 void Init_sse41() { 14 void Init_sse41() {
15 static const auto x = sse41::kX, y = sse41::kY; 15 box_blur_xx = sse41::box_blur_xx;
16 box_blur_xx = sse41::box_blur<x,x>; 16 box_blur_xy = sse41::box_blur_xy;
17 box_blur_xy = sse41::box_blur<x,y>; 17 box_blur_yx = sse41::box_blur_yx;
18 box_blur_yx = sse41::box_blur<y,x>;
19 } 18 }
20 } 19 }
OLDNEW
« no previous file with comments | « src/opts/SkOpts_sse2.cpp ('k') | src/opts/opts_check_x86.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698