[vlc-commits] contrib: ffmpeg: add some cflags for arm/neon

Rafaël Carré git at videolan.org
Sun Nov 27 10:18:59 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Nov 27 04:07:19 2011 -0500| [f625f16aa49ce21aec65f02993e02213a6ab31f6] | committer: Rafaël Carré

contrib: ffmpeg: add some cflags for arm/neon

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

 contrib/src/ffmpeg/rules.mak |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index 7622360..a4ca133 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -43,7 +43,11 @@ endif
 
 # ARM stuff
 ifeq ($(ARCH),arm)
-FFMPEGCONF += --disable-runtime-cpudetect
+FFMPEGCONF += --disable-runtime-cpudetect --arch=arm
+ifdef HAVE_NEON
+FFMPEGCONF += --cpu=cortex-a8 --enable-neon
+FFMPEG_CFLAGS +=-mfloat-abi=softfp -mfpu=neon
+endif
 endif
 
 # Darwin



More information about the vlc-commits mailing list