diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2018-05-16 20:05:47 -0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2018-05-16 20:08:39 -0400 |
commit | 0e266ba4262672088b98c1758aac48be2f7e4485 (patch) | |
tree | 179eb6fdea3725581eb1f9e19cd21c7a06659e73 /silk/tables_other.c | |
parent | 652c4559f593d3aad78bd5c85a216eeae7859429 (diff) | |
download | opus-exp_ratecontrol1.tar.gz |
Improving rate control for low bitrateexp_ratecontrol1
Using a finer table for the rate to SNR curves in silk_control_SNR().
It's now possible to have an SNR that reaches 0, so we can lower bitrate
down to ~5 kbps for narrowband and 5.5 kbps for wideband.
Diffstat (limited to 'silk/tables_other.c')
-rw-r--r-- | silk/tables_other.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/silk/tables_other.c b/silk/tables_other.c index 398686bf..e34d9077 100644 --- a/silk/tables_other.c +++ b/silk/tables_other.c @@ -38,20 +38,6 @@ extern "C" { #endif -/* Piece-wise linear mapping from bitrate in kbps to coding quality in dB SNR */ -const opus_int32 silk_TargetRate_table_NB[ TARGET_RATE_TAB_SZ ] = { - 0, 8000, 9400, 11500, 13500, 17500, 25000, MAX_TARGET_RATE_BPS -}; -const opus_int32 silk_TargetRate_table_MB[ TARGET_RATE_TAB_SZ ] = { - 0, 9000, 12000, 14500, 18500, 24500, 35500, MAX_TARGET_RATE_BPS -}; -const opus_int32 silk_TargetRate_table_WB[ TARGET_RATE_TAB_SZ ] = { - 0, 10500, 14000, 17000, 21500, 28500, 42000, MAX_TARGET_RATE_BPS -}; -const opus_int16 silk_SNR_table_Q1[ TARGET_RATE_TAB_SZ ] = { - 18, 29, 38, 40, 46, 52, 62, 84 -}; - /* Tables for stereo predictor coding */ const opus_int16 silk_stereo_pred_quant_Q13[ STEREO_QUANT_TAB_SIZE ] = { -13732, -10050, -8266, -7526, -6500, -5000, -2950, -820, |