diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-20 07:02:30 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-20 07:02:30 +0000 |
commit | 76bf70d38fd109a09ee44d074cfd392e1884afff (patch) | |
tree | 816f26fdbc903e903c90e6d807628bf9ab95fe53 /src/effects | |
parent | baaf8c53cad75813b916903d3eab2a8c68330c21 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@7787 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/effects')
-rw-r--r-- | src/effects/SkBlurMask.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/effects/SkBlurMask.cpp b/src/effects/SkBlurMask.cpp index 7bbf0de8fa..70efa0bcba 100644 --- a/src/effects/SkBlurMask.cpp +++ b/src/effects/SkBlurMask.cpp @@ -31,11 +31,11 @@ * * This is what the inner loop looks like before unrolling, and with the two * cases broken out separately (width < diameter, width >= diameter): - * + * * if (width < diameter) { * for (int x = 0; x < width; ++x) { * sum += *right++; - * *dptr = (sum * scale + half) >> 24; + * *dptr = (sum * scale + half) >> 24; * dptr += dst_x_stride; * } * for (int x = width; x < diameter; ++x) { @@ -226,10 +226,10 @@ static int boxBlur(const uint8_t* src, int src_y_stride, uint8_t* dst, * interpolates between them. In float this would be: * outer_weight * outer_sum / kernelSize + * (1.0 - outer_weight) * innerSum / (kernelSize - 2) - * + * * This is what the inner loop looks like before unrolling, and with the two * cases broken out separately (width < diameter, width >= diameter): - * + * * if (width < diameter) { * for (int x = 0; x < width; x++) { * inner_sum = outer_sum; |