diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-11-30 20:00:08 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-11-30 20:00:08 +0300 |
commit | 6dbdf2f26e644ff79f32413e19fb30263107631b (patch) | |
tree | 9adc47e8c8394ed7862bc8aa829645f71f057cfd /libavcodec | |
parent | 52ad2f390e364300cc3da22a3f18f15f59624a3d (diff) |
Handle AltiVec objects in a more elegant fashion, similar to MMX.
Originally committed as revision 15960 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile index a4b43be48f..0105a4941c 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -454,7 +454,13 @@ OBJS-$(ARCH_BFIN) += bfin/dsputil_bfin.o \ OBJS-$(ARCH_POWERPC) += ppc/dsputil_ppc.o \ -ALTIVEC-OBJS-yes += ppc/dsputil_altivec.o \ +ALTIVEC-OBJS-$(CONFIG_H264_DECODER) += ppc/h264_altivec.o +ALTIVEC-OBJS-$(CONFIG_SNOW_DECODER) += ppc/snow_altivec.o +ALTIVEC-OBJS-$(CONFIG_VC1_DECODER) += ppc/vc1dsp_altivec.o +ALTIVEC-OBJS-$(CONFIG_WMV3_DECODER) += ppc/vc1dsp_altivec.o + +OBJS-$(HAVE_ALTIVEC) += ppc/check_altivec.o \ + ppc/dsputil_altivec.o \ ppc/fdct_altivec.o \ ppc/fft_altivec.o \ ppc/float_altivec.o \ @@ -462,14 +468,7 @@ ALTIVEC-OBJS-yes += ppc/dsputil_altivec.o \ ppc/idct_altivec.o \ ppc/int_altivec.o \ ppc/mpegvideo_altivec.o \ - -ALTIVEC-OBJS-$(CONFIG_H264_DECODER) += ppc/h264_altivec.o -ALTIVEC-OBJS-$(CONFIG_SNOW_DECODER) += ppc/snow_altivec.o -ALTIVEC-OBJS-$(CONFIG_VC1_DECODER) += ppc/vc1dsp_altivec.o -ALTIVEC-OBJS-$(CONFIG_WMV3_DECODER) += ppc/vc1dsp_altivec.o - -OBJS-$(HAVE_ALTIVEC) += $(ALTIVEC-OBJS-yes) \ - ppc/check_altivec.o + $(ALTIVEC-OBJS-yes) OBJS-$(ARCH_SH4) += sh4/dsputil_align.o \ sh4/dsputil_sh4.o \ |