From f9dc97504787faeec490918c6e30ae7f7a5a93b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 8 Aug 2009 22:05:23 +0300 Subject: [PATCH] contrib: ffmpeg optimizations for N900: * assume Cortex-A8 ARM core, * enable NEON instructions, * disable run-time CPU detection. --- extras/contrib/src/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile index edbe95cc62..606a8762b9 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 -- 2.39.2