summaryrefslogtreecommitdiff
path: root/silk/structs.h
diff options
context:
space:
mode:
authorKoen Vos <koenvos74@gmail.com>2013-11-20 08:32:32 -0500
committerJean-Marc Valin <jmvalin@jmvalin.ca>2013-11-20 08:32:32 -0500
commitc63fb978be59fd09179abe9d714ee598d888e789 (patch)
tree36deeaa6440ff80c943e19d6ab4016e29dd4ccbc /silk/structs.h
parentac31a0af4ace081404de39342eed41cf59f91e2d (diff)
downloadopus-c63fb978be59fd09179abe9d714ee598d888e789.tar.gz
Constrains accumulated pitch gain to avoid potential instability.
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
Diffstat (limited to 'silk/structs.h')
-rw-r--r--silk/structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/silk/structs.h b/silk/structs.h
index aa84a528..1826b36a 100644
--- a/silk/structs.h
+++ b/silk/structs.h
@@ -171,6 +171,7 @@ typedef struct {
opus_int32 pitchEstimationThreshold_Q16; /* Threshold for pitch estimator */
opus_int LTPQuantLowComplexity; /* Flag for low complexity LTP quantization */
opus_int mu_LTP_Q9; /* Rate-distortion tradeoff in LTP quantization */
+ opus_int32 sum_log_gain_Q7; /* Cumulative max prediction gain */
opus_int NLSF_MSVQ_Survivors; /* Number of survivors in NLSF MSVQ */
opus_int first_frame_after_reset; /* Flag for deactivating NLSF interpolation, pitch prediction */
opus_int controlled_since_last_payload; /* Flag for ensuring codec_control only runs once per packet */