ref: 90bac9d148286776180e38be3549cb8ff9ec0674
parent: 28ef277db4d82673a5639b2b6b933ea2af92c379
author: Jean-Marc Valin <[email protected]>
date: Fri Dec 14 09:01:06 EST 2012
Minor tuining of complexity thresholds
--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -1296,7 +1296,7 @@
shortBlocks = 0;
if (LM>0 && ec_tell(enc)+3<=total_bits)
{
- if (st->complexity > 1)
+ if (st->complexity >= 1)
{
isTransient = transient_analysis(in, N+st->overlap, CC,
&tf_estimate, &tf_chan);
@@ -1376,7 +1376,7 @@
ALLOC(tf_res, nbEBands, int);
/* Disable variable tf resolution for hybrid and at very low bitrate */
- if (effectiveBytes>=15*C && st->start==0)
+ if (effectiveBytes>=15*C && st->start==0 && st->complexity>=2)
{
int lambda;
if (effectiveBytes<40)