ref: 8271dc8a22760b854579739120e37d8fcc0e3bc3
parent: 9c30de571d674f307f374a9aa8b5d8cf8f9d1f2f
author: Jean-Marc Valin <[email protected]>
date: Mon Apr 19 20:47:22 EDT 2010
Tuning the amount of spreading based on Koen's feedback
--- a/libcelt/vq.c
+++ b/libcelt/vq.c
@@ -192,7 +192,7 @@
}*/
if (2*K>=len)
return;
- gain = celt_div((celt_word32)MULT16_16(Q15_ONE,len),(celt_word32)(3+len+6*K));
+ gain = celt_div((celt_word32)MULT16_16(Q15_ONE,len),(celt_word32)(len+10*K));
/* FIXME: Make that HALF16 instead of HALF32 */
theta = HALF32(MULT16_16_Q15(gain,gain));