diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-11-26 23:20:01 -0500 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-11-26 23:20:01 -0500 |
commit | 50317c23d0da872bffd6fb11b9a484992b895e4c (patch) | |
tree | 01faf864fae31adf6b2cd3ee16c8d960f6bc6e15 | |
parent | bf5a8b39a261e81721fb33cf786f04916e0f1e45 (diff) | |
download | opus-exp_analysis8.tar.gz |
Makes variable framesize less aggressive at lower ratesexp_analysis8
-rw-r--r-- | src/opus_encoder.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/opus_encoder.c b/src/opus_encoder.c index 9a8f9fc7..fa329917 100644 --- a/src/opus_encoder.c +++ b/src/opus_encoder.c @@ -587,6 +587,10 @@ static int transient_viterbi(const float *E, const float *E_1, int N, int frame_ float best_cost; int best_state; + /* Makes variable framesize less aggressive at lower bitrates, but I can't + find any valid theretical justification for this (other than it seems + to help) */ + frame_cost *= 720/rate; for (i=0;i<16;i++) { /* Impossible state */ |