Trac #1549; enable slower but higher precision floor 0 LSP code.
authorMonty <xiphmont@xiph.org>
Wed, 8 Jul 2009 06:30:11 +0000 (06:30 +0000)
committerMonty <xiphmont@xiph.org>
Wed, 8 Jul 2009 06:30:11 +0000 (06:30 +0000)
Modern CPUs are fast enough to not even notice.

svn path=/trunk/vorbis/; revision=16225

lib/lsp.c

index 0a0c6ee..b063a46 100644 (file)
--- a/lib/lsp.c
+++ b/lib/lsp.c
    work on a fully fixed point implementation for processors like the
    ARM family. */
 
-/* undefine both for the 'old' but more precise implementation */
-#define   FLOAT_LOOKUP
-#undef    INT_LOOKUP
+/* define either of these (preferably FLOAT_LOOKUP) to have faster
+   but less precise implementation. */
+#undef FLOAT_LOOKUP
+#undef INT_LOOKUP
 
 #ifdef FLOAT_LOOKUP
 #include "lookup.c" /* catch this in the build system; we #include for