Fix a couple of MMX issues.
authorRichard Boulton <richard@tartarus.org>
Fri, 29 Dec 2000 21:56:20 +0000 (21:56 +0000)
committerRichard Boulton <richard@tartarus.org>
Fri, 29 Dec 2000 21:56:20 +0000 (21:56 +0000)
Original commit message from CVS:
Fix a couple of MMX issues.

libs/getbits/gstgetbits.c
libs/getbits/gstgetbits.h

index a953651..976eecb 100644 (file)
@@ -162,9 +162,9 @@ void gst_getbits_init(gst_getbits_t *gb, GstGetbitsCallback callback, void *data
 
 #ifdef HAVE_LIBMMX
   if (1) {
-    gb->getbits = getbits_mmx;
-//    gb->backbits = getbits_back_mmx;
-//    gb->backbytes = getbits_byteback_mmx;
+    gb->getbits = _gst_getbits_mmx;
+//    gb->backbits = _gst_getbits_back_mmx;
+//    gb->backbytes = _gst_getbits_byteback_mmx;
   } else
 #endif /* HAVE_LIBMMX */
   {
index e1292f9..009c3c0 100644 (file)
@@ -3,11 +3,7 @@
 
 #include <stdio.h>
 
-#include <config.h>
-// FIXME - remove this HAVE_LIBMMX - let configure set it.
-#undef HAVE_LIBMMX
-
-//#include <byteswap.h>
+#include <gst/gst.h>
 
 #ifdef HAVE_LIBMMX
 #include <mmx.h>
 #include <sse.h>
 #endif /* HAVE_LIBSSE */
 
-// FIXME - let configure set DEBUG_ENABLED.
-/* debugging */
-#ifndef DEBUG
-#ifdef DEBUG_ENABLED
-#define DEBUG(format, args...) g_print("DEBUG:(%d) " format, getpid() , ##args)
-#else
-#define DEBUG(format, args...)
-#endif
-#endif
-
-
 #ifdef WORDS_BIGENDIAN
 #  define swab32(x) (x)
 #else