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

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Thu Mar 25 23:22:19 PDT 2010


Author: xiphmont
Date: 2010-03-25 23:22:19 -0700 (Thu, 25 Mar 2010)
New Revision: 17077

Modified:
   trunk/vorbis/lib/psy.c
Log:
Revert an element of noise norm to earlier behavior for testing.



Modified: trunk/vorbis/lib/psy.c
===================================================================
--- trunk/vorbis/lib/psy.c	2010-03-26 05:45:12 UTC (rev 17076)
+++ trunk/vorbis/lib/psy.c	2010-03-26 06:22:19 UTC (rev 17077)
@@ -939,6 +939,9 @@
   int start = (vi->normal_p ? vi->normal_start-i : n);
   if(start>n)start=n;
 
+  /* force classic behavior where only energy in the current band is considered */
+  acc=0.f;
+
   /* still responsible for populating *out where noise norm not in
      effect.  There's no need to [re]populate *q in these areas */
   for(j=0;j<start;j++){



More information about the commits mailing list