Making stereo theta decision based on minimizing distortion

No point in minimizing the rate too since it's almost constant.
This commit is contained in:
Jean-Marc Valin 2016-01-06 02:02:16 -05:00
parent 886dc594f0
commit 35cf18e9d7
4 changed files with 57 additions and 10 deletions

View file

@ -1005,7 +1005,7 @@ int celt_decode_with_ec(CELTDecoder * OPUS_RESTRICT st, const unsigned char *dat
quant_all_bands(0, mode, start, end, X, C==2 ? X+N : NULL, collapse_masks,
NULL, pulses, shortBlocks, spread_decision, dual_stereo, intensity, tf_res,
len*(8<<BITRES)-anti_collapse_rsv, balance, dec, LM, codedBands, &st->rng, st->arch);
len*(8<<BITRES)-anti_collapse_rsv, balance, dec, LM, codedBands, &st->rng, 0, st->arch);
if (anti_collapse_rsv > 0)
{