summaryrefslogtreecommitdiff
path: root/libavcodec/x86/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-12-13 22:54:52 +0100
committerDiego Biurrun <diego@biurrun.de>2011-12-14 11:58:45 +0100
commit88b97357531bca25c22c351d5cac36e168b70803 (patch)
tree54cb861eed7540d0f6f83430cef5774f6493d30b /libavcodec/x86/Makefile
parent80f6c0bb95bb90f599b0c76c0fbac5454eff3b2f (diff)
build: conditionally compile x86 H.264 chroma optimizations
Diffstat (limited to 'libavcodec/x86/Makefile')
-rw-r--r--libavcodec/x86/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/x86/Makefile b/libavcodec/x86/Makefile
index ab13109d72..6759a228c4 100644
--- a/libavcodec/x86/Makefile
+++ b/libavcodec/x86/Makefile
@@ -9,6 +9,9 @@ YASM-OBJS-FFT-$(HAVE_SSE) += x86/fft_sse.o
YASM-OBJS-$(CONFIG_FFT) += x86/fft_mmx.o \
$(YASM-OBJS-FFT-yes)
+YASM-OBJS-$(CONFIG_H264CHROMA) += x86/h264_chromamc.o \
+ x86/h264_chromamc_10bit.o
+
MMX-OBJS-$(CONFIG_H264DSP) += x86/h264dsp_mmx.o
YASM-OBJS-$(CONFIG_H264DSP) += x86/h264_deblock.o \
x86/h264_deblock_10bit.o \
@@ -48,8 +51,6 @@ MMX-OBJS-$(CONFIG_VP8_DECODER) += x86/vp8dsp-init.o
MMX-OBJS-$(HAVE_YASM) += x86/dsputil_yasm.o \
x86/deinterlace.o \
x86/fmtconvert.o \
- x86/h264_chromamc.o \
- x86/h264_chromamc_10bit.o \
x86/h264_qpel_10bit.o \
$(YASM-OBJS-yes)