Lines 123-129
Link Here
|
123 |
int width, int height) { |
123 |
int width, int height) { |
124 |
uint8 *r; |
124 |
uint8 *r; |
125 |
|
125 |
|
126 |
assert(((int)dstPtr & 3) == 0); |
126 |
assert(((long)dstPtr & 3) == 0); |
127 |
while (height--) { |
127 |
while (height--) { |
128 |
r = dstPtr; |
128 |
r = dstPtr; |
129 |
for (int i = 0; i < width; ++i, r += 4) { |
129 |
for (int i = 0; i < width; ++i, r += 4) { |
Lines 148-154
Link Here
|
148 |
const uint32 dstPitch2 = dstPitch * 2; |
148 |
const uint32 dstPitch2 = dstPitch * 2; |
149 |
const uint32 dstPitch3 = dstPitch * 3; |
149 |
const uint32 dstPitch3 = dstPitch * 3; |
150 |
|
150 |
|
151 |
assert(((int)dstPtr & 1) == 0); |
151 |
assert(((long)dstPtr & 1) == 0); |
152 |
while (height--) { |
152 |
while (height--) { |
153 |
r = dstPtr; |
153 |
r = dstPtr; |
154 |
for (int i = 0; i < width; ++i, r += 6) { |
154 |
for (int i = 0; i < width; ++i, r += 6) { |