integrating MPV_common_init_bfin into the build system and mpegvideo.c
authorMarc Hoffman <mmhoffm@gmail.com>
Tue, 12 Jun 2007 19:34:06 +0000 (19:34 +0000)
committerMarc Hoffman <mmhoffm@gmail.com>
Tue, 12 Jun 2007 19:34:06 +0000 (19:34 +0000)
Originally committed as revision 9294 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/Makefile
libavcodec/mpegvideo.c

index 33f50b8..034effe 100644 (file)
@@ -402,6 +402,7 @@ OBJS-$(CONFIG_WMV3_DECODER)            += ppc/vc1dsp_altivec.o
 endif
 
 OBJS-$(TARGET_ARCH_BFIN)               += bfin/dsputil_bfin.o \
+                                          bfin/mpegvideo_bfin.o \
 
 ASM_OBJS-$(TARGET_ARCH_BFIN)           += bfin/pixels_bfin.o \
                                           bfin/idct_bfin.o   \
index cef6013..8e4e4a2 100644 (file)
@@ -295,6 +295,9 @@ int DCT_common_init(MpegEncContext *s)
 #ifdef ARCH_POWERPC
     MPV_common_init_ppc(s);
 #endif
+#ifdef ARCH_BFIN
+    MPV_common_init_bfin(s);
+#endif
 
 #ifdef CONFIG_ENCODERS
     s->fast_dct_quantize= s->dct_quantize;