diff options
author | Koen Vos <koenvos@users.noreply.github.com> | 2016-06-03 14:18:03 +0800 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2016-07-19 16:11:41 -0400 |
commit | 0a698d65226470b37a457a6b3758a486cefe53db (patch) | |
tree | 74c29b1b8bca1dfe0275bac486d40ea349e118a4 /silk/tuning_parameters.h | |
parent | f78e5080ab79567305bfc8755e4dad5678473f7b (diff) | |
download | opus-0a698d65226470b37a457a6b3758a486cefe53db.tar.gz |
merge back in the LTP gain safety limiter
Diffstat (limited to 'silk/tuning_parameters.h')
-rw-r--r-- | silk/tuning_parameters.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/silk/tuning_parameters.h b/silk/tuning_parameters.h index 3a2aad31..1625c3ee 100644 --- a/silk/tuning_parameters.h +++ b/silk/tuning_parameters.h @@ -50,9 +50,12 @@ extern "C" /* Linear prediction */ /*********************/ -/* LPC analysis defines: regularization and bandwidth expansion */ +/* LPC analysis regularization */ #define FIND_LPC_COND_FAC 1e-5f +/* Max cumulative LTP gain */ +#define MAX_SUM_LOG_GAIN_DB 250.0f + /* LTP analysis defines */ #define LTP_CORR_INV_MAX 0.015f |