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 #ifndef SkBlurImage_opts_DEFINED | 8 #ifndef SkBlurImage_opts_DEFINED |
9 #define SkBlurImage_opts_DEFINED | 9 #define SkBlurImage_opts_DEFINED |
10 | 10 |
11 #include "SkColorPriv.h" | 11 #include "SkColorPriv.h" |
12 | 12 |
13 typedef void (*SkBoxBlurProc)(const SkPMColor* src, int srcStride, SkPMColor* ds
t, int kernelSize, | 13 typedef void (*SkBoxBlurProc)(const SkPMColor* src, int srcStride, SkPMColor* ds
t, int kernelSize, |
14 int leftOffset, int rightOffset, int width, int he
ight); | 14 int leftOffset, int rightOffset, int width, int he
ight); |
15 | 15 |
16 bool SkBoxBlurGetPlatformProcs(SkBoxBlurProc* boxBlurX, | 16 bool SkBoxBlurGetPlatformProcs(SkBoxBlurProc* boxBlurX, |
17 SkBoxBlurProc* boxBlurY, | 17 SkBoxBlurProc* boxBlurY, |
18 SkBoxBlurProc* boxBlurXY); | 18 SkBoxBlurProc* boxBlurXY, |
| 19 SkBoxBlurProc* boxBlurYX); |
19 #endif | 20 #endif |
OLD | NEW |