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-17 17:09:28 -0400 |
commit | 85ce87ffbe8b30247f62bf2868d28ef75468aec9 (patch) | |
tree | 2aed61354bdef87f288d49fbb636573231fd3f92 /silk/tables.h | |
parent | 004ef8b9b1771688cd514cdb1c9f466913e3a355 (diff) | |
download | opus-85ce87ffbe8b30247f62bf2868d28ef75468aec9.tar.gz |
Improving rate control for low bitrate
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.h')
-rw-r--r-- | silk/tables.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/silk/tables.h b/silk/tables.h index 8b0380ee..95230c45 100644 --- a/silk/tables.h +++ b/silk/tables.h @@ -97,12 +97,6 @@ extern const opus_uint8 silk_NLSF_interpolation_factor_iCDF[ 5 ]; extern const silk_NLSF_CB_struct silk_NLSF_CB_WB; /* 1040 */ extern const silk_NLSF_CB_struct silk_NLSF_CB_NB_MB; /* 728 */ -/* Piece-wise linear mapping from bitrate in kbps to coding quality in dB SNR */ -extern const opus_int32 silk_TargetRate_table_NB[ TARGET_RATE_TAB_SZ ]; /* 32 */ -extern const opus_int32 silk_TargetRate_table_MB[ TARGET_RATE_TAB_SZ ]; /* 32 */ -extern const opus_int32 silk_TargetRate_table_WB[ TARGET_RATE_TAB_SZ ]; /* 32 */ -extern const opus_int16 silk_SNR_table_Q1[ TARGET_RATE_TAB_SZ ]; /* 32 */ - /* Quantization offsets */ extern const opus_int16 silk_Quantization_Offsets_Q10[ 2 ][ 2 ]; /* 8 */ |