| 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 |
| 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 } |
| OLD | NEW |