diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2015-12-24 22:45:53 +0300 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2016-01-11 20:19:29 +0300 |
commit | 28c2006abf3edb1825bb82e740ff69aff969d8f6 (patch) | |
tree | 0172ac4f0cd23cd8a34013f92f8731d60c74c02b | |
parent | b178d1d99a57f9ba64292e5075be94baea8d1284 (diff) |
Quality: Making the encoder more aggressive at using wider bandwidths
-rw-r--r-- | src/opus_encoder.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/opus_encoder.c b/src/opus_encoder.c index a6af4123..1331635b 100644 --- a/src/opus_encoder.c +++ b/src/opus_encoder.c @@ -114,27 +114,27 @@ struct OpusEncoder { (difference with the middle) */ static const opus_int32 mono_voice_bandwidth_thresholds[8] = { 11000, 1000, /* NB<->MB */ - 14000, 1000, /* MB<->WB */ - 17000, 1000, /* WB<->SWB */ - 21000, 2000, /* SWB<->FB */ + 12500, 1000, /* MB<->WB */ + 14000, 1000, /* WB<->SWB */ + 15000, 2000, /* SWB<->FB */ }; static const opus_int32 mono_music_bandwidth_thresholds[8] = { - 12000, 1000, /* NB<->MB */ - 15000, 1000, /* MB<->WB */ - 18000, 2000, /* WB<->SWB */ - 22000, 2000, /* SWB<->FB */ + 11000, 1000, /* NB<->MB */ + 12500, 1000, /* MB<->WB */ + 14000, 1000, /* WB<->SWB */ + 15000, 2000, /* SWB<->FB */ }; static const opus_int32 stereo_voice_bandwidth_thresholds[8] = { 11000, 1000, /* NB<->MB */ - 14000, 1000, /* MB<->WB */ - 21000, 2000, /* WB<->SWB */ - 28000, 2000, /* SWB<->FB */ + 12500, 1000, /* MB<->WB */ + 14000, 1000, /* WB<->SWB */ + 15000, 2000, /* SWB<->FB */ }; static const opus_int32 stereo_music_bandwidth_thresholds[8] = { - 12000, 1000, /* NB<->MB */ - 18000, 2000, /* MB<->WB */ - 20000, 2000, /* WB<->SWB */ - 24000, 2000, /* SWB<->FB */ + 11000, 1000, /* NB<->MB */ + 12500, 1000, /* MB<->WB */ + 14000, 1000, /* WB<->SWB */ + 15000, 2000, /* SWB<->FB */ }; /* Threshold bit-rates for switching between mono and stereo */ static const opus_int32 stereo_voice_threshold = 24000; |