[vlc-commits] speex: enable full sinc table (added in neon patch)
Rafaël Carré
git at videolan.org
Mon Jan 23 11:01:28 CET 2012
vlc/vlc-1.2 | branch: master | Rafaël Carré <funman at videolan.org> | Sun Jan 22 21:45:04 2012 -0500| [0b8a885c4609f2a8054b6fff03dd1ba70a30b37c] | committer: Jean-Baptiste Kempf
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.
(cherry picked from commit b35a1328145b6f8c938d22f35df943669fe8146e)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=0b8a885c4609f2a8054b6fff03dd1ba70a30b37c
---
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