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.10 2004-03-22 22:36:24 edgomez Exp $ |
* $Id: mem_transfer.c,v 1.11 2004-07-14 23:26:06 edgomez Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
238 |
const uint8_t * const src, |
const uint8_t * const src, |
239 |
const uint32_t stride) |
const uint32_t stride) |
240 |
{ |
{ |
241 |
uint32_t i, j; |
uint32_t j; |
242 |
|
|
243 |
for (j = 0; j < 8; j++) { |
for (j = 0; j < 8; j++) { |
244 |
for (i = 0; i < 8; i++) { |
uint32_t *d= (uint32_t*)(dst + j*stride); |
245 |
dst[j * stride + i] = src[j * stride + i]; |
const uint32_t *s = (const uint32_t*)(src + j*stride); |
246 |
} |
*(d+0) = *(s+0); |
247 |
|
*(d+1) = *(s+1); |
248 |
} |
} |
249 |
} |
} |