[vlc-commits] speex: enable full sinc table (added in neon patch)

Rafaël Carré git at videolan.org
Mon Jan 23 03:46:18 CET 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Jan 22 21:45:04 2012 -0500| [b35a1328145b6f8c938d22f35df943669fe8146e] | committer: Rafaël Carré

speex: enable full sinc table (added in neon patch)

(text from the patch author)
On many systems taking couple of kilo-bytes for full sinc table is not
a problem. With a straight filter table the number of MAC operations
needed drops to one quarter. Also the inner loop of the filter becomes
more simple and easier to optimize. So the full sinc table version
runs much faster in most cases. The trade off is some kilo-bytes
bigger memory usage and more CPU needed when initializing the
resampler.

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

 contrib/src/speex/rules.mak |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/contrib/src/speex/rules.mak b/contrib/src/speex/rules.mak
index 9d02e42..f071360 100644
--- a/contrib/src/speex/rules.mak
+++ b/contrib/src/speex/rules.mak
@@ -28,9 +28,7 @@ speex: speex-$(SPEEX_VERSION).tar.gz .sum-speex
 	$(APPLY) $(SRC)/speex/neon.patch
 	$(MOVE)
 
-# TODO: fixed point and ASM opts
-
-CONFIG_OPTS := --without-ogg
+CONFIG_OPTS := --without-ogg --enable-resample-full-sinc-table
 ifndef HAVE_FPU
 CONFIG_OPTS += --enable-fixed-point
 endif



More information about the vlc-commits mailing list