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

git version control git at videolan.org
Sat Aug 29 17:45:12 CEST 2009


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

contrib: ffmpeg optimizations for N900:

* assume Cortex-A8 ARM core,
 * enable NEON instructions,
 * disable run-time CPU detection.
(cherry picked from commit f9dc97504787faeec490918c6e30ae7f7a5a93b1)

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

 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 ca9540c..d7c7d40 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -164,6 +164,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