]> git.sesse.net Git - vlc/commitdiff
contrib: ffmpeg optimizations for N900:
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 8 Aug 2009 19:05:23 +0000 (22:05 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 29 Aug 2009 15:40:21 +0000 (18:40 +0300)
* assume Cortex-A8 ARM core,
 * enable NEON instructions,
 * disable run-time CPU detection.

extras/contrib/src/Makefile

index edbe95cc62ff3d761e515adfb278a64a04d4c221..606a8762b9140cb09411cf8c8f89d4ef9f75ccf7 100644 (file)
@@ -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