aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/SkBlurMask.h
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-31 03:01:59 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-31 03:01:59 +0000
commit4c18e9fbb685cccf23342757e786027a032197da (patch)
treec49d92a4671123f0d8a1166acbf5e85c7833a8a5 /src/effects/SkBlurMask.h
parentcc787fa8029889877da8edbb70a284cb0e19de33 (diff)
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@13258 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/effects/SkBlurMask.h')
-rw-r--r--src/effects/SkBlurMask.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/effects/SkBlurMask.h b/src/effects/SkBlurMask.h
index f95c110c90..354fa84f6b 100644
--- a/src/effects/SkBlurMask.h
+++ b/src/effects/SkBlurMask.h
@@ -62,27 +62,27 @@ public:
SkIPoint* margin = NULL);
static SkScalar ConvertRadiusToSigma(SkScalar radius);
-
+
/* Helper functions for analytic rectangle blurs */
-
+
/** Look up the intensity of the (one dimnensional) blurred half-plane.
@param profile The precomputed 1D blur profile; memory allocated by and managed by
ComputeBlurProfile below.
- @param loc the location to look up; The lookup will clamp invalid inputs, but
+ @param loc the location to look up; The lookup will clamp invalid inputs, but
meaningful data are available between 0 and blurred_width
@param blurred_width The width of the final, blurred rectangle
@param sharp_width The width of the original, unblurred rectangle.
- */
+ */
static uint8_t ProfileLookup(const uint8_t* profile, int loc, int blurred_width, int sharp_width);
-
+
/** Allocate memory for and populate the profile of a 1D blurred halfplane. The caller
must free the memory. The amount of memory allocated will be exactly 6*sigma bytes.
@param sigma The standard deviation of the gaussian blur kernel
@param profile_out The location to store the allocated profile curve
*/
-
+
static void ComputeBlurProfile(SkScalar sigma, uint8_t** profile_out);
-
+
/** Compute an entire scanline of a blurred step function. This is a 1D helper that
will produce both the horizontal and vertical profiles of the blurry rectangle.
@param pixels Location to store the resulting pixel data; allocated and managed by caller
@@ -91,12 +91,12 @@ public:
@param sigma Standard deviation of the gaussian blur kernel used to compute the profile;
this implicitly gives the size of the pixels array.
*/
-
+
static void ComputeBlurredScanline(uint8_t* pixels, const uint8_t* profile,
unsigned int width, SkScalar sigma);
-
-
-
+
+
+
};
#endif