From c63fb978be59fd09179abe9d714ee598d888e789 Mon Sep 17 00:00:00 2001 From: Koen Vos Date: Wed, 20 Nov 2013 08:32:32 -0500 Subject: Constrains accumulated pitch gain to avoid potential instability. Signed-off-by: Jean-Marc Valin --- silk/structs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'silk/structs.h') 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 */ -- cgit v1.2.1