ref: 1bf1f51c0a2b4e8bef93a1e949d57b33232b6455
parent: d94ed205c08bddb5af0b67c09bcb07ca1c27592a
author: Jean-Marc Valin <[email protected]>
date: Sat Nov 23 21:01:55 EST 2013
Using a more reasonably SILK surround calibration value Still needs more tuning
--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -1521,7 +1521,7 @@
}
/* Conservative rate reduction, we cut the masking in half */
masking_depth = HALF16(mask_sum / end*st->channels);
- masking_depth += QCONST16(.4f, DB_SHIFT);
+ masking_depth += QCONST16(.1f, DB_SHIFT);
rate_offset = (opus_int32)PSHR32(MULT16_16(srate, masking_depth), DB_SHIFT);
rate_offset = MAX32(rate_offset, -2*st->silk_mode.bitRate/3);
st->silk_mode.bitRate += rate_offset;