vlc | branch: master | Rafaël Carré <[email protected]> | Thu Jan  3 15:01:11 
2013 +0100| [d2e405e02c9530b6abdfca4237790addd463c7b7] | committer: Rafaël Carré

contrib: enable NEON runtime selection for ffmpeg

This is explicitely done for android only, since we lost the
benefits of some inline NEON asm

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

 contrib/src/ffmpeg/rules.mak |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index 2647fcf..4798065 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -53,11 +53,14 @@ endif
 # ARM stuff
 ifeq ($(ARCH),arm)
 FFMPEGCONF += --arch=arm
-ifdef HAVE_NEON
+ifdef HAVE_ARMV7A
 FFMPEGCONF += --cpu=cortex-a8 --enable-neon
+FFMPEG_CFLAGS += -mfpu=vfpv3-d16
+ifndef HAVE_ANDROID # We want NEON autodetect on Android
 FFMPEG_CFLAGS += -mfpu=neon
 endif
 endif
+endif
 
 # MIPS stuff
 ifeq ($(ARCH),mipsel)

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to