aboutsummaryrefslogtreecommitdiff
path: root/silk/define.h
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2018-05-16 20:05:47 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2018-05-17 17:09:28 -0400
commit85ce87ffbe8b30247f62bf2868d28ef75468aec9 (patch)
tree2aed61354bdef87f288d49fbb636573231fd3f92 /silk/define.h
parent004ef8b9b1771688cd514cdb1c9f466913e3a355 (diff)
downloadlibopus-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/define.h')
-rw-r--r--silk/define.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/silk/define.h b/silk/define.h
index 22fd720b..247cb0bf 100644
--- a/silk/define.h
+++ b/silk/define.h
@@ -46,7 +46,6 @@ extern "C"
/* Limits on bitrate */
#define MIN_TARGET_RATE_BPS 5000
#define MAX_TARGET_RATE_BPS 80000
-#define TARGET_RATE_TAB_SZ 8
/* LBRR thresholds */
#define LBRR_NB_MIN_RATE_BPS 12000