[svn] / trunk / xvidcore / src / utils / mem_transfer.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/utils/mem_transfer.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1611, Sun Apr 10 01:57:45 2005 UTC revision 1612, Mon Apr 11 14:33:26 2005 UTC
# Line 19  Line 19 
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    
# Line 257  Line 257 
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  }  }

Legend:
Removed from v.1611  
changed lines
  Added in v.1612

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4