Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@7787 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
skia.committer@gmail.com 2013-02-20 07:02:30 +00:00
parent baaf8c53ca
commit 76bf70d38f
2 changed files with 6 additions and 6 deletions

View File

@ -16,7 +16,7 @@ enum SkColorType {
// kRGBA_8888_SkColorType,
// kBGRA_8888_SkColorType,
kPMColor_SkColorType,
kLastEnum_SkColorType = kPMColor_SkColorType
};
@ -25,7 +25,7 @@ enum SkAlphaType {
kOpaque_SkAlphaType,
// kUnpremul_SkAlphaType,
kPremul_SkAlphaType,
kLastEnum_SkAlphaType = kPremul_SkAlphaType
};

View File

@ -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;