aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/Makefile
diff options
context:
space:
mode:
authorChristophe GISQUET <christophe.gisquet@gmail.com>2012-01-01 18:33:22 +0100
committerKostya Shishkov <kostya.shishkov@gmail.com>2012-01-12 09:52:33 +0100
commit3faa303a47e0c3b59a53988e0f76018930c6cb1a (patch)
tree7e1f4192c2d6ddab81cb80c71deb1586b11e16cf /libavcodec/x86/Makefile
parentb2ce3b998b90c9ec8dcefe4b2c45fcf5b2f0a903 (diff)
downloadffmpeg-3faa303a47e0c3b59a53988e0f76018930c6cb1a.tar.gz
rv34: DC-only inverse transform
When decoding coefficients, detect whether the block is DC-only, and take advantage of this knowledge to perform DC-only inverse transform. This is achieved by: - first, changing the 108x4 element modulo_three_table into a 108 element table (kind of base4), and accessing each value using mask and shifts. - then, checking low bits for 0 (as they represent the presence of higher frequency coefficients) Also provide x86 SIMD code for the DC-only inverse transform. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
Diffstat (limited to 'libavcodec/x86/Makefile')
-rw-r--r--libavcodec/x86/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/x86/Makefile b/libavcodec/x86/Makefile
index 2abe4fbe72..1e88e4a847 100644
--- a/libavcodec/x86/Makefile
+++ b/libavcodec/x86/Makefile
@@ -24,7 +24,11 @@ YASM-OBJS-$(CONFIG_H264PRED) += x86/h264_intrapred.o \
x86/h264_intrapred_10bit.o
MMX-OBJS-$(CONFIG_H264PRED) += x86/h264_intrapred_init.o
-MMX-OBJS-$(CONFIG_RV40_DECODER) += x86/rv40dsp.o \
+MMX-OBJS-$(CONFIG_RV30_DECODER) += x86/rv34dsp_init.o
+YASM-OBJS-$(CONFIG_RV30_DECODER) += x86/rv34dsp.o
+MMX-OBJS-$(CONFIG_RV40_DECODER) += x86/rv34dsp_init.o \
+ x86/rv40dsp.o
+YASM-OBJS-$(CONFIG_RV40_DECODER) += x86/rv34dsp.o
YASM-OBJS-$(CONFIG_VC1_DECODER) += x86/vc1dsp_yasm.o