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 neon | 10 #define SK_OPTS_NS sk_neon |
11 #include "SkBlitMask_opts.h" | 11 #include "SkBlitMask_opts.h" |
12 #include "SkBlurImageFilter_opts.h" | 12 #include "SkBlurImageFilter_opts.h" |
13 #include "SkColorCubeFilter_opts.h" | 13 #include "SkColorCubeFilter_opts.h" |
14 #include "SkFloatingPoint_opts.h" | 14 #include "SkFloatingPoint_opts.h" |
15 #include "SkMorphologyImageFilter_opts.h" | 15 #include "SkMorphologyImageFilter_opts.h" |
16 #include "SkTextureCompressor_opts.h" | 16 #include "SkTextureCompressor_opts.h" |
17 #include "SkUtils_opts.h" | 17 #include "SkUtils_opts.h" |
18 #include "SkXfermode_opts.h" | 18 #include "SkXfermode_opts.h" |
19 | 19 |
20 namespace SkOpts { | 20 namespace SkOpts { |
21 void Init_neon() { | 21 void Init_neon() { |
22 rsqrt = neon::rsqrt; | 22 rsqrt = sk_neon::rsqrt; |
23 memset16 = neon::memset16; | 23 memset16 = sk_neon::memset16; |
24 memset32 = neon::memset32; | 24 memset32 = sk_neon::memset32; |
25 create_xfermode = SkCreate4pxXfermode; | 25 create_xfermode = SkCreate4pxXfermode; |
26 | 26 |
27 box_blur_xx = neon::box_blur_xx; | 27 box_blur_xx = sk_neon::box_blur_xx; |
28 box_blur_xy = neon::box_blur_xy; | 28 box_blur_xy = sk_neon::box_blur_xy; |
29 box_blur_yx = neon::box_blur_yx; | 29 box_blur_yx = sk_neon::box_blur_yx; |
30 | 30 |
31 dilate_x = neon::dilate_x; | 31 dilate_x = sk_neon::dilate_x; |
32 dilate_y = neon::dilate_y; | 32 dilate_y = sk_neon::dilate_y; |
33 erode_x = neon::erode_x; | 33 erode_x = sk_neon::erode_x; |
34 erode_y = neon::erode_y; | 34 erode_y = sk_neon::erode_y; |
35 | 35 |
36 texture_compressor = neon::texture_compressor; | 36 texture_compressor = sk_neon::texture_compressor; |
37 fill_block_dimensions = neon::fill_block_dimensions; | 37 fill_block_dimensions = sk_neon::fill_block_dimensions; |
38 | 38 |
39 blit_mask_d32_a8 = neon::blit_mask_d32_a8; | 39 blit_mask_d32_a8 = sk_neon::blit_mask_d32_a8; |
40 | 40 |
41 color_cube_filter_span = neon::color_cube_filter_span; | 41 color_cube_filter_span = sk_neon::color_cube_filter_span; |
42 } | 42 } |
43 } | 43 } |
OLD | NEW |