Mercurial > mplayer.hg
annotate libvo/fastmemcpy.h @ 1066:aecab161d8d6
Better audio format handling.
author | atmosfear |
---|---|
date | Sat, 09 Jun 2001 07:36:32 +0000 |
parents | dc6cdb87229a |
children | 30e6a115a088 |
rev | line source |
---|---|
477 | 1 #ifndef __MPLAYER_MEMCPY |
644
88eb1a3f7bfb
Changed code, should be faster on Athlon/K6 but slower on PIII with SSE, more portable.
atmosfear
parents:
581
diff
changeset
|
2 #define __MPLAYER_MEMCPY 1 |
88eb1a3f7bfb
Changed code, should be faster on Athlon/K6 but slower on PIII with SSE, more portable.
atmosfear
parents:
581
diff
changeset
|
3 |
800 | 4 #ifdef USE_FASTMEMCPY |
5 | |
698
f0fbf1a9bf31
Moving fast_memcpy to separate file (Size optimization)
nickols_k
parents:
685
diff
changeset
|
6 #if defined( HAVE_MMX2 ) || defined( HAVE_3DNOW ) || defined( HAVE_MMX ) |
644
88eb1a3f7bfb
Changed code, should be faster on Athlon/K6 but slower on PIII with SSE, more portable.
atmosfear
parents:
581
diff
changeset
|
7 #include <stddef.h> |
477 | 8 |
698
f0fbf1a9bf31
Moving fast_memcpy to separate file (Size optimization)
nickols_k
parents:
685
diff
changeset
|
9 extern void * fast_memcpy(void * to, const void * from, size_t len); |
376 | 10 #define memcpy(a,b,c) fast_memcpy(a,b,c) |
513 | 11 |
358 | 12 #endif |
13 | |
478 | 14 #endif |
800 | 15 |
16 #endif |