ref: 263e27194898248d5ef9500df57075af35f5a86d
parent: 411a84faeada5092e2e94d8116b8adba45808183
author: Jean-Marc Valin <[email protected]>
date: Tue Feb 1 06:20:09 EST 2011
Tuning the split threshold
--- a/libcelt/bands.c
+++ b/libcelt/bands.c
@@ -740,9 +740,9 @@
}
}
- /* If we need 1 more bit than we can produce, split the band in two. */
+ /* If we need 1.5 more bit than we can produce, split the band in two. */
cache = m->cache.bits + m->cache.index[(LM+1)*m->nbEBands+i];
- if (!stereo && LM != -1 && b > cache[cache[0]]+9 && N>2)
+ if (!stereo && LM != -1 && b > cache[cache[0]]+12 && N>2)
{
if (LM>0 || (N&1)==0)
{