aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvektor <devnull@localhost>2005-02-13 20:02:27 (GMT)
committervektor <devnull@localhost>2005-02-13 20:02:27 (GMT)
commitb2121a47579467c28280e8e76eb609917a96e40b (patch)
treec3f4dc9c1db6066ef34aeb7f6410b53e75988c0f
parentb1ed55f356ff026c77fc78ba5b2cdbbc9be44e1b (diff)
* tvtime/src/copyfunctions.c: Make copyfunctions.c compile on x86 :)
-rw-r--r--src/copyfunctions.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/copyfunctions.c b/src/copyfunctions.c
index 63b5176..542768d 100644
--- a/src/copyfunctions.c
+++ b/src/copyfunctions.c
@@ -29,6 +29,9 @@
#endif
#include "copyfunctions.h"
+#include "attributes.h"
+#include "mmx.h"
+#include "mm_accel.h"
/* Function pointer definitions. */
void (*interpolate_packed422_scanline)( uint8_t *output, uint8_t *top,
@@ -314,11 +317,11 @@ void setup_copyfunctions( uint32_t accel )
fast_memcpy = fast_memcpy_c;
#ifdef ARCH_X86
- if( speedy_accel & MM_ACCEL_X86_MMXEXT ) {
+ if( copy_accel & MM_ACCEL_X86_MMXEXT ) {
interpolate_packed422_scanline = interpolate_packed422_scanline_mmxext;
blit_packed422_scanline = blit_packed422_scanline_mmxext;
fast_memcpy = fast_memcpy_mmxext;
- } else if( speedy_accel & MM_ACCEL_X86_MMX ) {
+ } else if( copy_accel & MM_ACCEL_X86_MMX ) {
interpolate_packed422_scanline = interpolate_packed422_scanline_mmx;
blit_packed422_scanline = blit_packed422_scanline_mmx;
fast_memcpy = fast_memcpy_mmx;

Privacy Policy