Mercurial > mplayer.hg
comparison libvo/aclib.c @ 8123:9fc45fe0d444
*HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>
author | arpi |
---|---|
date | Wed, 06 Nov 2002 23:54:29 +0000 |
parents | 113d66d78967 |
children | e7153e62a7f4 |
comparison
equal
deleted
inserted
replaced
8122:272b1fda7287 | 8123:9fc45fe0d444 |
---|---|
7 see aclib_template.c ... this file only contains runtime cpu detection and config options stuff | 7 see aclib_template.c ... this file only contains runtime cpu detection and config options stuff |
8 runtime cpu detection by michael niedermayer (michaelni@gmx.at) is under GPL | 8 runtime cpu detection by michael niedermayer (michaelni@gmx.at) is under GPL |
9 */ | 9 */ |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 #include "../cpudetect.h" | 11 #include "../cpudetect.h" |
12 #include "fastmemcpy.h" | |
12 | 13 |
13 #define BLOCK_SIZE 4096 | 14 #define BLOCK_SIZE 4096 |
14 #define CONFUSION_FACTOR 0 | 15 #define CONFUSION_FACTOR 0 |
15 //Feel free to fine-tune the above 2, it might be possible to get some speedup with them :) | 16 //Feel free to fine-tune the above 2, it might be possible to get some speedup with them :) |
16 | 17 |
175 #else | 176 #else |
176 memcpy(to, from, len); // prior to mmx we use the standart memcpy | 177 memcpy(to, from, len); // prior to mmx we use the standart memcpy |
177 #endif | 178 #endif |
178 | 179 |
179 #endif //!RUNTIME_CPUDETECT | 180 #endif //!RUNTIME_CPUDETECT |
181 return to; | |
180 } | 182 } |
181 | 183 |
182 #endif /* use fastmemcpy */ | 184 #endif /* use fastmemcpy */ |
183 | 185 |