OLD | NEW |
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 #define SK_OPTS_NS sse41 | 10 #define SK_OPTS_NS sse41 |
10 #include "SkBlurImageFilter_opts.h" | 11 #include "SkBlurImageFilter_opts.h" |
11 | 12 |
12 namespace SkOpts { | 13 namespace SkOpts { |
13 void Init_sse41() { | 14 void Init_sse41() { |
14 static const auto x = sse41::kX, y = sse41::kY; | 15 static const auto x = sse41::kX, y = sse41::kY; |
15 box_blur_xx = sse41::box_blur<x,x>; | 16 box_blur_xx = sse41::box_blur<x,x>; |
16 box_blur_xy = sse41::box_blur<x,y>; | 17 box_blur_xy = sse41::box_blur<x,y>; |
17 box_blur_yx = sse41::box_blur<y,x>; | 18 box_blur_yx = sse41::box_blur<y,x>; |
18 } | 19 } |
19 } | 20 } |
OLD | NEW |