19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: mem_transfer.c,v 1.12 2004-12-19 13:16:50 syskin Exp $ |
* $Id: mem_transfer.c,v 1.13 2005-04-11 14:33:26 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
257 |
const uint8_t * const src, |
const uint8_t * const src, |
258 |
const uint32_t stride) |
const uint32_t stride) |
259 |
{ |
{ |
260 |
uint32_t j; |
uint32_t j, i; |
261 |
|
|
262 |
for (j = 0; j < 8; j++) { |
for (j = 0; j < 8; ++j) { |
263 |
uint32_t *d= (uint32_t*)(dst + j*stride); |
uint8_t *d = dst + j*stride; |
264 |
const uint32_t *s = (const uint32_t*)(src + j*stride); |
const uint8_t *s = src + j*stride; |
265 |
*(d+0) = *(s+0); |
|
266 |
*(d+1) = *(s+1); |
for (i = 0; i < 8; ++i) |
267 |
|
{ |
268 |
|
*d++ = *s++; |
269 |
|
} |
270 |
} |
} |
271 |
} |
} |