projects
/
platform
/
upstream
/
libvorbis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90cb20e
)
Revert an element of noise norm to earlier behavior for testing.
author
Monty
<xiphmont@xiph.org>
Fri, 26 Mar 2010 06:22:19 +0000
(06:22 +0000)
committer
Monty
<xiphmont@xiph.org>
Fri, 26 Mar 2010 06:22:19 +0000
(06:22 +0000)
svn path=/trunk/vorbis/; revision=17077
lib/psy.c
patch
|
blob
|
history
diff --git
a/lib/psy.c
b/lib/psy.c
index
a556e49
..
f1330a5
100644
(file)
--- a/
lib/psy.c
+++ b/
lib/psy.c
@@
-939,6
+939,9
@@
static float noise_normalize(vorbis_look_psy *p, int limit, float *r, float *q,
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++){