Converted the mpeg2 encoder asm to gnu asm, removing the dependency of nasm
authorWim Taymans <wim.taymans@gmail.com>
Sun, 17 Sep 2000 12:31:01 +0000 (12:31 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sun, 17 Sep 2000 12:31:01 +0000 (12:31 +0000)
Original commit message from CVS:
Converted the mpeg2 encoder asm to gnu asm, removing the dependency of nasm
Added cpu detection in the mpeg2 encoder
removed the inlined mmx asembler to seperate files.

libs/getbits/Makefile.am
libs/getbits/gstgetbits.h
test/.gitignore

index 0c798db..1a687b1 100644 (file)
@@ -5,10 +5,10 @@ filter_LTLIBRARIES = libgstgetbits.la
 if HAVE_CPU_I386
 GSTARCH_SRCS = gstgetbits_i386.s
 else
-GSTARCH_SRCS = gstgetbits_generic.c
+GSTARCH_SRCS = 
 endif
 
-libgstgetbits_la_SOURCES = gstgetbits.c gstgetbits_inl.h $(GSTARCH_SRCS)
+libgstgetbits_la_SOURCES = gstgetbits.c gstgetbits_inl.h gstgetbits_generic.c $(GSTARCH_SRCS)
 EXTRA_libgstgetbits_la_SOURCES = gstgetbits_i386.s gstgetbits_generic.c
 
 libgstgetbitsincludedir = $(includedir)/gst/libs/gstgetbits
index bac0032..b3ea9a4 100644 (file)
@@ -7,7 +7,7 @@
 // FIXME - remove this HAVE_LIBMMX - let configure set it.
 #undef HAVE_LIBMMX
 
-#include <byteswap.h>
+//#include <byteswap.h>
 
 #ifdef HAVE_LIBMMX
 #include <mmx.h>
@@ -30,7 +30,7 @@
 #else
 #  if defined (__i386__)
 #    define swab32(x) __i386_swab32(x)
-     static inline const guint32 __i386_swab32(guint32 x)
+     static inline const unsigned long __i386_swab32(unsigned long x)
       {
          __asm__("bswap %0" : "=r" (x) : "0" (x));
          return x;
index a00a6b4..40244b0 100644 (file)
@@ -43,3 +43,4 @@ mp2tomp1
 mp2toavi
 mp1tomp1
 pipetest
+mp3tovorbis