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 | 8 |
9 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
10 #include "SkColorPriv.h" | 10 #include "SkColorPriv.h" |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 } | 100 } |
101 src += srcStrideY; | 101 src += srcStrideY; |
102 dst += dstStrideY; | 102 dst += dstStrideY; |
103 } | 103 } |
104 } | 104 } |
105 | 105 |
106 } // namespace | 106 } // namespace |
107 | 107 |
108 bool SkBoxBlurGetPlatformProcs_SSE2(SkBoxBlurProc* boxBlurX, | 108 bool SkBoxBlurGetPlatformProcs_SSE2(SkBoxBlurProc* boxBlurX, |
109 SkBoxBlurProc* boxBlurY, | 109 SkBoxBlurProc* boxBlurY, |
110 SkBoxBlurProc* boxBlurXY) { | 110 SkBoxBlurProc* boxBlurXY, |
| 111 SkBoxBlurProc* boxBlurYX) { |
111 *boxBlurX = SkBoxBlur_SSE2<kX, kX>; | 112 *boxBlurX = SkBoxBlur_SSE2<kX, kX>; |
112 *boxBlurY = SkBoxBlur_SSE2<kY, kY>; | 113 *boxBlurY = SkBoxBlur_SSE2<kY, kY>; |
113 *boxBlurXY = SkBoxBlur_SSE2<kX, kY>; | 114 *boxBlurXY = SkBoxBlur_SSE2<kX, kY>; |
| 115 *boxBlurYX = SkBoxBlur_SSE2<kY, kX>; |
114 return true; | 116 return true; |
115 } | 117 } |
OLD | NEW |