commit | 178758b81a4e05c244c876e4a985e48bd98f84b6 | [log] [tgz] |
---|---|---|
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | Fri Apr 06 23:32:11 2012 -0400 |
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | Fri Apr 06 23:32:11 2012 -0400 |
tree | 54a29fd5991c129084be38c8b58135006fa2f94a | |
parent | cd539dfdcdc735baba0722fc9843eb41853eec6b [diff] |
Fixes some overflows in the fixed-point pitch code The overflows reported were: - Syy in find_best_pitch() in pitch.c - xy, xx and yy in remove_doubling() in pitch.c The fixes are: - Adaptive scaling in pitch_downsample() which also improves quality - Adding a missing downshift in find_best_pitch() - More conservative yshift when calling find_best_pitch()