Commit 27a7fa8b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contrib: build faad with fixed point on ARM

It would seem to be significantly faster that way.
parent 0199f9c4
...@@ -875,6 +875,7 @@ faad2-$(FAAD2_VERSION).tar.gz: ...@@ -875,6 +875,7 @@ faad2-$(FAAD2_VERSION).tar.gz:
faad2: faad2-$(FAAD2_VERSION).tar.gz faad2: faad2-$(FAAD2_VERSION).tar.gz
$(EXTRACT_GZ) $(EXTRACT_GZ)
(cd $@; echo|$(HOSTCC) -iquote . -E - || sed -i 's/-iquote /-I/' libfaad/Makefile.am; sh ./bootstrap) (cd $@; echo|$(HOSTCC) -iquote . -E - || sed -i 's/-iquote /-I/' libfaad/Makefile.am; sh ./bootstrap)
patch -p0 < Patches/faad-arm-fixed.patch
.faad: faad2 .faad: faad2
(cd $< && $(HOSTCC) ./configure $(HOSTCONF) --disable-shared --prefix=$(PREFIX) CFLAGS="-O3" && sed -i.orig "s/shrext_cmds/shrext/g" libtool && make -C libfaad && make -C libfaad install) (cd $< && $(HOSTCC) ./configure $(HOSTCONF) --disable-shared --prefix=$(PREFIX) CFLAGS="-O3" && sed -i.orig "s/shrext_cmds/shrext/g" libtool && make -C libfaad && make -C libfaad install)
......
diff -ru faad2-2.7/libfaad/common.h faad2/libfaad/common.h
--- faad2-2.7/libfaad/common.h 2009-02-05 02:51:03.000000000 +0200
+++ faad2/libfaad/common.h 2009-09-01 20:41:20.000000000 +0300
@@ -79,6 +79,10 @@
#define FIXED_POINT
#endif
+#ifdef __arm__
+#define FIXED_POINT
+#endif
+
#define ERROR_RESILIENCE
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment