[xiph-commits] r16225 - trunk/vorbis/lib

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Tue Jul 7 23:30:12 PDT 2009


Author: xiphmont
Date: 2009-07-07 23:30:11 -0700 (Tue, 07 Jul 2009)
New Revision: 16225

Modified:
   trunk/vorbis/lib/lsp.c
Log:
Trac #1549; enable slower but higher precision floor 0 LSP code.
Modern CPUs are fast enough to not even notice.



Modified: trunk/vorbis/lib/lsp.c
===================================================================
--- trunk/vorbis/lib/lsp.c	2009-07-08 06:24:49 UTC (rev 16224)
+++ trunk/vorbis/lib/lsp.c	2009-07-08 06:30:11 UTC (rev 16225)
@@ -51,9 +51,10 @@
    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



More information about the commits mailing list