[vlc-commits] Revert "deinterlace/yadif: Disable x86 asm on Android"

Marvin Scholz git at videolan.org
Fri Oct 18 11:09:35 CEST 2019


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Tue Oct 15 21:39:15 2019 +0200| [65b86d5bbc148799cdf81a60736d38e2b334a532] | committer: Marvin Scholz

Revert "deinterlace/yadif: Disable x86 asm on Android"

This reverts commit 508e3db77822f29429867d56c2a669e036706372.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=65b86d5bbc148799cdf81a60736d38e2b334a532
---

 modules/video_filter/Makefile.am              | 3 ---
 modules/video_filter/deinterlace/algo_yadif.c | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/modules/video_filter/Makefile.am b/modules/video_filter/Makefile.am
index 6f1714c683..51ee92aff1 100644
--- a/modules/video_filter/Makefile.am
+++ b/modules/video_filter/Makefile.am
@@ -136,12 +136,9 @@ libdeinterlace_plugin_la_SOURCES = \
 	video_filter/deinterlace/algo_ivtc.c video_filter/deinterlace/algo_ivtc.h
 # inline ASM doesn't build with -O0
 libdeinterlace_plugin_la_CFLAGS = $(AM_CFLAGS) -O2
-# Disabled on Android due to text reloc issues
-if !HAVE_ANDROID
 if HAVE_X86ASM
 libdeinterlace_plugin_la_SOURCES += video_filter/deinterlace/yadif_x86.asm
 endif
-endif
 if HAVE_NEON
 libdeinterlace_plugin_la_SOURCES += video_filter/deinterlace/merge_arm.S
 libdeinterlace_plugin_la_CFLAGS += -DCAN_COMPILE_ARM
diff --git a/modules/video_filter/deinterlace/algo_yadif.c b/modules/video_filter/deinterlace/algo_yadif.c
index 98dbbe9b04..6fdecf53a5 100644
--- a/modules/video_filter/deinterlace/algo_yadif.c
+++ b/modules/video_filter/deinterlace/algo_yadif.c
@@ -112,7 +112,7 @@ int RenderYadif( filter_t *p_filter, picture_t *p_dst, picture_t *p_src,
         void (*filter)(uint8_t *dst, uint8_t *prev, uint8_t *cur, uint8_t *next,
                        int w, int prefs, int mrefs, int parity, int mode);
 
-#if defined(HAVE_X86ASM) && !defined (__ANDROID__)
+#if defined(HAVE_X86ASM)
         if( vlc_CPU_SSSE3() )
             filter = vlcpriv_yadif_filter_line_ssse3;
         else



More information about the vlc-commits mailing list