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