diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-06-13 08:42:46 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-06-22 13:38:14 +0200 |
commit | ed42a51930d9cca6dfed35c4af4b5b3a3f7f6a04 (patch) | |
tree | 00b2968304f2281f0f06babe879ad4153ff8f74a /libavfilter/x86 | |
parent | 7c3c1d938f2e01bd607deb814706f67438e85b7a (diff) | |
download | ffmpeg-ed42a51930d9cca6dfed35c4af4b5b3a3f7f6a04.tar.gz |
avfilter/x86/vf_bwdif: Remove obsolete MMXEXT functions
The only system which benefit from these are truely ancient
32bit x86s as all other systems use at least the SSE2 versions
(this includes all x64 cpus (which is why this code is restricted
to x86-32)).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/x86')
-rw-r--r-- | libavfilter/x86/vf_bwdif.asm | 4 | ||||
-rw-r--r-- | libavfilter/x86/vf_bwdif_init.c | 16 |
2 files changed, 0 insertions, 20 deletions
diff --git a/libavfilter/x86/vf_bwdif.asm b/libavfilter/x86/vf_bwdif.asm index 147b7c6ac6..0b453da53b 100644 --- a/libavfilter/x86/vf_bwdif.asm +++ b/libavfilter/x86/vf_bwdif.asm @@ -264,7 +264,3 @@ INIT_XMM ssse3 BWDIF INIT_XMM sse2 BWDIF -%if ARCH_X86_32 -INIT_MMX mmxext -BWDIF -%endif diff --git a/libavfilter/x86/vf_bwdif_init.c b/libavfilter/x86/vf_bwdif_init.c index f632c4f340..e24e5cd9b1 100644 --- a/libavfilter/x86/vf_bwdif_init.c +++ b/libavfilter/x86/vf_bwdif_init.c @@ -24,10 +24,6 @@ #include "libavutil/x86/cpu.h" #include "libavfilter/bwdif.h" -void ff_bwdif_filter_line_mmxext(void *dst, void *prev, void *cur, void *next, - int w, int prefs, int mrefs, int prefs2, - int mrefs2, int prefs3, int mrefs3, int prefs4, - int mrefs4, int parity, int clip_max); void ff_bwdif_filter_line_sse2(void *dst, void *prev, void *cur, void *next, int w, int prefs, int mrefs, int prefs2, int mrefs2, int prefs3, int mrefs3, int prefs4, @@ -37,10 +33,6 @@ void ff_bwdif_filter_line_ssse3(void *dst, void *prev, void *cur, void *next, int mrefs2, int prefs3, int mrefs3, int prefs4, int mrefs4, int parity, int clip_max); -void ff_bwdif_filter_line_12bit_mmxext(void *dst, void *prev, void *cur, void *next, - int w, int prefs, int mrefs, int prefs2, - int mrefs2, int prefs3, int mrefs3, int prefs4, - int mrefs4, int parity, int clip_max); void ff_bwdif_filter_line_12bit_sse2(void *dst, void *prev, void *cur, void *next, int w, int prefs, int mrefs, int prefs2, int mrefs2, int prefs3, int mrefs3, int prefs4, @@ -57,19 +49,11 @@ av_cold void ff_bwdif_init_x86(BWDIFContext *bwdif) int bit_depth = (!yadif->csp) ? 8 : yadif->csp->comp[0].depth; if (bit_depth <= 8) { -#if ARCH_X86_32 - if (EXTERNAL_MMXEXT(cpu_flags)) - bwdif->filter_line = ff_bwdif_filter_line_mmxext; -#endif /* ARCH_X86_32 */ if (EXTERNAL_SSE2(cpu_flags)) bwdif->filter_line = ff_bwdif_filter_line_sse2; if (EXTERNAL_SSSE3(cpu_flags)) bwdif->filter_line = ff_bwdif_filter_line_ssse3; } else if (bit_depth <= 12) { -#if ARCH_X86_32 - if (EXTERNAL_MMXEXT(cpu_flags)) - bwdif->filter_line = ff_bwdif_filter_line_12bit_mmxext; -#endif /* ARCH_X86_32 */ if (EXTERNAL_SSE2(cpu_flags)) bwdif->filter_line = ff_bwdif_filter_line_12bit_sse2; if (EXTERNAL_SSSE3(cpu_flags)) |