summaryrefslogtreecommitdiffstats
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorMichael Kostylev <michael.kostylev@gmail.com>2012-05-11 12:26:44 +0200
committerDiego Biurrun <diego@biurrun.de>2012-05-12 14:02:45 +0200
commitea60dfe284b82fc74569bbd562e68ec48f69f154 (patch)
tree6d568f2c9b4b2a2da1ec6ef29fc821035dbb8f31 /libavcodec/x86
parentec2dbec84d94129207ed0f2a1151679fab305060 (diff)
downloadffmpeg-streaming-ea60dfe284b82fc74569bbd562e68ec48f69f154.zip
ffmpeg-streaming-ea60dfe284b82fc74569bbd562e68ec48f69f154.tar.gz
x86: vc1: drop MMX loop filter implementation, which uses MMX2 instructions.
Diffstat (limited to 'libavcodec/x86')
-rw-r--r--libavcodec/x86/vc1dsp_mmx.c2
-rw-r--r--libavcodec/x86/vc1dsp_yasm.asm11
2 files changed, 0 insertions, 13 deletions
diff --git a/libavcodec/x86/vc1dsp_mmx.c b/libavcodec/x86/vc1dsp_mmx.c
index a525aee..e1f5145 100644
--- a/libavcodec/x86/vc1dsp_mmx.c
+++ b/libavcodec/x86/vc1dsp_mmx.c
@@ -701,7 +701,6 @@ static void vc1_h_loop_filter16_ ## EXT(uint8_t *src, int stride, int pq) \
}
#if HAVE_YASM
-LOOP_FILTER(mmx)
LOOP_FILTER(mmx2)
LOOP_FILTER(sse2)
LOOP_FILTER(ssse3)
@@ -790,7 +789,6 @@ void ff_vc1dsp_init_mmx(VC1DSPContext *dsp)
#if HAVE_YASM
if (mm_flags & AV_CPU_FLAG_MMX) {
- ASSIGN_LF(mmx);
dsp->put_no_rnd_vc1_chroma_pixels_tab[0]= ff_put_vc1_chroma_mc8_mmx_nornd;
}
return;
diff --git a/libavcodec/x86/vc1dsp_yasm.asm b/libavcodec/x86/vc1dsp_yasm.asm
index 66f61db..2c5cf22 100644
--- a/libavcodec/x86/vc1dsp_yasm.asm
+++ b/libavcodec/x86/vc1dsp_yasm.asm
@@ -227,13 +227,6 @@ section .text
imul r2, 0x01010101
%endmacro
-; I do not know why the sign extension is needed...
-%macro PSIGNW_SRA_MMX 2
- psraw %2, 15
- PSIGNW_MMX %1, %2
-%endmacro
-
-
%macro VC1_LF_MMX 1
INIT_MMX
cglobal vc1_v_loop_filter_internal_%1
@@ -274,10 +267,6 @@ cglobal vc1_h_loop_filter8_%1, 3,5,0
RET
%endmacro
-%define PABSW PABSW_MMX
-%define PSIGNW PSIGNW_SRA_MMX
-VC1_LF_MMX mmx
-
%define PABSW PABSW_MMX2
VC1_LF_MMX mmx2
OpenPOWER on IntegriCloud