OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 The Android Open Source Project | 2 * Copyright 2013 The Android Open Source Project |
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 <emmintrin.h> | 8 #include <emmintrin.h> |
9 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
10 #include "SkBlurImage_opts_SSE2.h" | 10 #include "SkBlurImage_opts_SSE2.h" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 dptr += dstStrideX; | 90 dptr += dstStrideX; |
91 } | 91 } |
92 src += srcStrideY; | 92 src += srcStrideY; |
93 dst += dstStrideY; | 93 dst += dstStrideY; |
94 } | 94 } |
95 } | 95 } |
96 | 96 |
97 } // namespace | 97 } // namespace |
98 | 98 |
99 bool SkBoxBlurGetPlatformProcs_SSE2(SkBoxBlurProc* boxBlurX, | 99 bool SkBoxBlurGetPlatformProcs_SSE2(SkBoxBlurProc* boxBlurX, |
100 SkBoxBlurProc* boxBlurY, | |
101 SkBoxBlurProc* boxBlurXY, | 100 SkBoxBlurProc* boxBlurXY, |
102 SkBoxBlurProc* boxBlurYX) { | 101 SkBoxBlurProc* boxBlurYX) { |
103 *boxBlurX = SkBoxBlur_SSE2<kX, kX>; | 102 *boxBlurX = SkBoxBlur_SSE2<kX, kX>; |
104 *boxBlurY = SkBoxBlur_SSE2<kY, kY>; | |
105 *boxBlurXY = SkBoxBlur_SSE2<kX, kY>; | 103 *boxBlurXY = SkBoxBlur_SSE2<kX, kY>; |
106 *boxBlurYX = SkBoxBlur_SSE2<kY, kX>; | 104 *boxBlurYX = SkBoxBlur_SSE2<kY, kX>; |
107 return true; | 105 return true; |
108 } | 106 } |
OLD | NEW |