[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 1491, Tue Jul 13 12:23:29 2004 UTC revision 1492, Wed Jul 14 23:26:06 2004 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.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    
# Line 238  Line 238 
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  }  }

Legend:
Removed from v.1491  
changed lines
  Added in v.1492

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