Mercurial > mplayer.hg
annotate libvo/fastmemcpy.h @ 1285:202d9e2dc202
-vcodec option (maybe some other name would be better though) to select between driver types without editing codecs.conf. mplayer will default to normal codec search loop if it does not find codec for the specified driver type. config range checking for the parameter (an integer) should be cleaned, IMHO
author | lgb |
---|---|
date | Fri, 06 Jul 2001 21:17:22 +0000 |
parents | 30e6a115a088 |
children | 8db59073127e |
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 |
1131 | 4 #include "../config.h" |
800 | 5 |
1131 | 6 #ifdef USE_FASTMEMCPY |
7 #if defined(HAVE_MMX) || defined(HAVE_MMX2) || defined(HAVE_3DNOW) \ | |
8 /* || defined(HAVE_SSE) || defined(HAVE_SSE2) */ | |
644
88eb1a3f7bfb
Changed code, should be faster on Athlon/K6 but slower on PIII with SSE, more portable.
atmosfear
parents:
581
diff
changeset
|
9 #include <stddef.h> |
477 | 10 |
698
f0fbf1a9bf31
Moving fast_memcpy to separate file (Size optimization)
nickols_k
parents:
685
diff
changeset
|
11 extern void * fast_memcpy(void * to, const void * from, size_t len); |
376 | 12 #define memcpy(a,b,c) fast_memcpy(a,b,c) |
513 | 13 |
1131 | 14 #endif /* HAVE_MMX/MMX2/3DNOW/SSE/SSE2 */ |
15 #endif /* USE_FASTMEMCPY */ | |
478 | 16 #endif |