summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMarc Hoffman <mmhoffm@gmail.com>2007-06-12 19:34:06 +0000
committerMarc Hoffman <mmhoffm@gmail.com>2007-06-12 19:34:06 +0000
commit1a822d303fc04cc49f4dbb044c78dea7d6c9e6af (patch)
tree241a898696d19b928fb885ac7400ebefdebb6862 /libavcodec
parent50ee61dda2b956bc09fa8238d54ba86620798b42 (diff)
integrating MPV_common_init_bfin into the build system and mpegvideo.c
Originally committed as revision 9294 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/Makefile1
-rw-r--r--libavcodec/mpegvideo.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 33f50b8a71..034effe6db 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -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 \
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index cef6013f61..8e4e4a2090 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -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;