OLD | NEW |
---|---|
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #ifndef SkBlurMask_DEFINED | 10 #ifndef SkBlurMask_DEFINED |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
55 static bool Blur(SkMask* dst, const SkMask& src, | 55 static bool Blur(SkMask* dst, const SkMask& src, |
56 SkScalar radius, Style style, Quality quality, | 56 SkScalar radius, Style style, Quality quality, |
57 SkIPoint* margin = NULL); | 57 SkIPoint* margin = NULL); |
58 | 58 |
59 SK_ATTR_DEPRECATED("use sigma version") | 59 SK_ATTR_DEPRECATED("use sigma version") |
60 static bool BlurGroundTruth(SkMask* dst, const SkMask& src, | 60 static bool BlurGroundTruth(SkMask* dst, const SkMask& src, |
61 SkScalar radius, Style style, | 61 SkScalar radius, Style style, |
62 SkIPoint* margin = NULL); | 62 SkIPoint* margin = NULL); |
63 | 63 |
64 static SkScalar ConvertRadiusToSigma(SkScalar radius); | 64 static SkScalar ConvertRadiusToSigma(SkScalar radius); |
65 | |
66 static uint8_t ProfileLookup(uint8_t *profile, int loc, int blurred_width, i nt sharp_width); | |
reed1
2014/01/02 17:32:39
Can you add some dox for these?
One example for C
humper
2014/01/02 18:12:10
Dox added, consts added, unnecessary profile_size
| |
67 static void ComputeBlurProfile(SkScalar sigma, uint8_t **profile_out); | |
68 static void ComputeBlurredScanline(uint8_t *pixels, uint8_t *profile, unsign ed int profile_size, | |
69 unsigned int width, float sigma); | |
70 | |
71 | |
72 | |
65 }; | 73 }; |
66 | 74 |
67 #endif | 75 #endif |
OLD | NEW |