OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 | 8 |
10 #include "SkEmbossMask.h" | 9 #include "SkEmbossMask.h" |
11 #include "SkMath.h" | 10 #include "SkMath.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 // additive[x] = 0; | 153 // additive[x] = 0; |
155 // ((uint8_t*)alpha)[x] = alpha[x] * multiply[x] >> 8; | 154 // ((uint8_t*)alpha)[x] = alpha[x] * multiply[x] >> 8; |
156 } | 155 } |
157 } | 156 } |
158 alpha += rowBytes; | 157 alpha += rowBytes; |
159 multiply += rowBytes; | 158 multiply += rowBytes; |
160 additive += rowBytes; | 159 additive += rowBytes; |
161 prev_row = rowBytes; | 160 prev_row = rowBytes; |
162 } | 161 } |
163 } | 162 } |
OLD | NEW |