[vlc-devel] commit: contrib: ffmpeg optimizations for N900: ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Aug 29 17:40:51 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug  8 22:05:23 2009 +0300| [f9dc97504787faeec490918c6e30ae7f7a5a93b1] | committer: Rémi Denis-Courmont 

contrib: ffmpeg optimizations for N900:

* assume Cortex-A8 ARM core,
 * enable NEON instructions,
 * disable run-time CPU detection.

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

 extras/contrib/src/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index edbe95c..606a876 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -163,6 +163,9 @@ endif
 
 ifdef HAVE_LINUX
 ifdef HAVE_MAEMO
+ifneq ($(filter -m%=cortex-a8, $(EXTRA_CFLAGS)),)
+FFMPEGCONF += --disable-runtime-cpudetect --enable-neon --cpu=cortex-a8
+endif
 # Really, this could be done on all Linux platforms, not just Maemo.
 # Installing statically-linked VLC plugins is so much simpler.
 HOSTCONF += --with-pic --disable-shared




More information about the vlc-devel mailing list