[vlc-devel] [PATCH 12/13] vfilter: yadif deint: disable SIMD on android

Rémi Denis-Courmont remi at remlab.net
Tue Oct 2 12:01:27 CEST 2018


This looks wrong and the comments do not seem to match the content.

Le 2 octobre 2018 12:14:35 GMT+03:00, Victorien Le Couviour--Tuffet <victorien.lecouviour.tuffet at gmail.com> a écrit :
>Fixes android NDK 17 build
>---
> modules/video_filter/deinterlace/algo_yadif.c | 12 +++++++-----
> 1 file changed, 7 insertions(+), 5 deletions(-)
>
>diff --git a/modules/video_filter/deinterlace/algo_yadif.c
>b/modules/video_filter/deinterlace/algo_yadif.c
>index d94e45dbb5..e28386d90c 100644
>--- a/modules/video_filter/deinterlace/algo_yadif.c
>+++ b/modules/video_filter/deinterlace/algo_yadif.c
>@@ -113,20 +113,22 @@ 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_YADIF_SSSE3)
>+#if !defined(__ANDROID__)
>+# if defined(HAVE_YADIF_SSSE3)
>         if( vlc_CPU_SSSE3() )
>             filter = yadif_filter_line_ssse3;
>         else
>-#endif
>-#if defined(HAVE_YADIF_SSE2)
>+# endif
>+# if defined(HAVE_YADIF_SSE2)
>         if( vlc_CPU_SSE2() )
>             filter = yadif_filter_line_sse2;
>         else
>-#endif
>-#if defined(HAVE_YADIF_MMX)
>+# endif
>+# if defined(HAVE_YADIF_MMX)
>         if( vlc_CPU_MMX() )
>             filter = yadif_filter_line_mmx;
>         else
>+# endif
> #endif
>             filter = yadif_filter_line_c;
> 
>-- 
>2.19.0
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20181002/f99c8456/attachment.html>


More information about the vlc-devel mailing list