Classify mlib as a configurable option, not as a hardware feature.
authorDiego Biurrun <diego@biurrun.de>
Tue, 25 Mar 2008 21:30:16 +0000 (21:30 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 25 Mar 2008 21:30:16 +0000 (21:30 +0000)
Originally committed as revision 12589 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure
libavcodec/Makefile
libavcodec/mpegvideo.c

index eee87f7..b90984c 100755 (executable)
--- a/configure
+++ b/configure
@@ -658,6 +658,7 @@ CONFIG_LIST="
     libx264
     libxvid
     memalign_hack
+    mlib
     mpegaudio_hp
     network
     nonfree
@@ -748,7 +749,6 @@ HAVE_LIST="
     malloc_h
     memalign
     mkstemp
-    mlib
     pld
     ppc64
     round
@@ -1027,8 +1027,6 @@ for opt do
     ;;
     --cpu=*) cpu="$optval"
     ;;
-    --enable-mlib) enable mlib
-    ;;
     --disable-devices) disable $INDEV_LIST $OUTDEV_LIST
     ;;
     --enable-debug=*) debuglevel="$optval"
index b789656..89082d8 100644 (file)
@@ -410,7 +410,7 @@ ASM_OBJS-$(HAVE_ARMV6)                 += armv4l/simple_idct_armv6.o \
 OBJS-$(HAVE_VIS)                       += sparc/dsputil_vis.o \
                                           sparc/simple_idct_vis.o \
 
-OBJS-$(HAVE_MLIB)                      += mlib/dsputil_mlib.o \
+OBJS-$(CONFIG_MLIB)                    += mlib/dsputil_mlib.o \
 
 OBJS-$(ARCH_ALPHA)                     += alpha/dsputil_alpha.o     \
                                           alpha/motion_est_alpha.o  \
index 7f3b907..67f0e94 100644 (file)
@@ -125,7 +125,7 @@ int ff_dct_common_init(MpegEncContext *s)
     MPV_common_init_mmx(s);
 #elif defined(ARCH_ALPHA)
     MPV_common_init_axp(s);
-#elif defined(HAVE_MLIB)
+#elif defined(CONFIG_MLIB)
     MPV_common_init_mlib(s);
 #elif defined(HAVE_MMI)
     MPV_common_init_mmi(s);