diff options
Diffstat (limited to 'lib/rbcodec/codecs/libopus/silk/structs.h')
-rw-r--r-- | lib/rbcodec/codecs/libopus/silk/structs.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/rbcodec/codecs/libopus/silk/structs.h b/lib/rbcodec/codecs/libopus/silk/structs.h index 1826b36a80..3380c757b2 100644 --- a/lib/rbcodec/codecs/libopus/silk/structs.h +++ b/lib/rbcodec/codecs/libopus/silk/structs.h | |||
@@ -48,6 +48,7 @@ typedef struct { | |||
48 | opus_int32 sLPC_Q14[ MAX_SUB_FRAME_LENGTH + NSQ_LPC_BUF_LENGTH ]; | 48 | opus_int32 sLPC_Q14[ MAX_SUB_FRAME_LENGTH + NSQ_LPC_BUF_LENGTH ]; |
49 | opus_int32 sAR2_Q14[ MAX_SHAPE_LPC_ORDER ]; | 49 | opus_int32 sAR2_Q14[ MAX_SHAPE_LPC_ORDER ]; |
50 | opus_int32 sLF_AR_shp_Q14; | 50 | opus_int32 sLF_AR_shp_Q14; |
51 | opus_int32 sDiff_shp_Q14; | ||
51 | opus_int lagPrev; | 52 | opus_int lagPrev; |
52 | opus_int sLTP_buf_idx; | 53 | opus_int sLTP_buf_idx; |
53 | opus_int sLTP_shp_buf_idx; | 54 | opus_int sLTP_shp_buf_idx; |
@@ -77,6 +78,7 @@ typedef struct { | |||
77 | opus_int32 In_LP_State[ 2 ]; /* Low pass filter state */ | 78 | opus_int32 In_LP_State[ 2 ]; /* Low pass filter state */ |
78 | opus_int32 transition_frame_no; /* Counter which is mapped to a cut-off frequency */ | 79 | opus_int32 transition_frame_no; /* Counter which is mapped to a cut-off frequency */ |
79 | opus_int mode; /* Operating mode, <0: switch down, >0: switch up; 0: do nothing */ | 80 | opus_int mode; /* Operating mode, <0: switch down, >0: switch up; 0: do nothing */ |
81 | opus_int32 saved_fs_kHz; /* If non-zero, holds the last sampling rate before a bandwidth switching reset. */ | ||
80 | } silk_LP_state; | 82 | } silk_LP_state; |
81 | 83 | ||
82 | /* Structure containing NLSF codebook */ | 84 | /* Structure containing NLSF codebook */ |
@@ -86,6 +88,7 @@ typedef struct { | |||
86 | const opus_int16 quantStepSize_Q16; | 88 | const opus_int16 quantStepSize_Q16; |
87 | const opus_int16 invQuantStepSize_Q6; | 89 | const opus_int16 invQuantStepSize_Q6; |
88 | const opus_uint8 *CB1_NLSF_Q8; | 90 | const opus_uint8 *CB1_NLSF_Q8; |
91 | const opus_int16 *CB1_Wght_Q9; | ||
89 | const opus_uint8 *CB1_iCDF; | 92 | const opus_uint8 *CB1_iCDF; |
90 | const opus_uint8 *pred_Q8; | 93 | const opus_uint8 *pred_Q8; |
91 | const opus_uint8 *ec_sel; | 94 | const opus_uint8 *ec_sel; |
@@ -169,9 +172,7 @@ typedef struct { | |||
169 | opus_int pitchEstimationComplexity; /* Complexity level for pitch estimator */ | 172 | opus_int pitchEstimationComplexity; /* Complexity level for pitch estimator */ |
170 | opus_int pitchEstimationLPCOrder; /* Whitening filter order for pitch estimator */ | 173 | opus_int pitchEstimationLPCOrder; /* Whitening filter order for pitch estimator */ |
171 | opus_int32 pitchEstimationThreshold_Q16; /* Threshold for pitch estimator */ | 174 | opus_int32 pitchEstimationThreshold_Q16; /* Threshold for pitch estimator */ |
172 | opus_int LTPQuantLowComplexity; /* Flag for low complexity LTP quantization */ | 175 | opus_int32 sum_log_gain_Q7; /* Cumulative max prediction gain */ |
173 | opus_int mu_LTP_Q9; /* Rate-distortion tradeoff in LTP quantization */ | ||
174 | opus_int32 sum_log_gain_Q7; /* Cumulative max prediction gain */ | ||
175 | opus_int NLSF_MSVQ_Survivors; /* Number of survivors in NLSF MSVQ */ | 176 | opus_int NLSF_MSVQ_Survivors; /* Number of survivors in NLSF MSVQ */ |
176 | opus_int first_frame_after_reset; /* Flag for deactivating NLSF interpolation, pitch prediction */ | 177 | opus_int first_frame_after_reset; /* Flag for deactivating NLSF interpolation, pitch prediction */ |
177 | opus_int controlled_since_last_payload; /* Flag for ensuring codec_control only runs once per packet */ | 178 | opus_int controlled_since_last_payload; /* Flag for ensuring codec_control only runs once per packet */ |
@@ -301,6 +302,7 @@ typedef struct { | |||
301 | /* Stuff used for PLC */ | 302 | /* Stuff used for PLC */ |
302 | opus_int lossCnt; | 303 | opus_int lossCnt; |
303 | opus_int prevSignalType; | 304 | opus_int prevSignalType; |
305 | int arch; | ||
304 | 306 | ||
305 | silk_PLC_struct sPLC; | 307 | silk_PLC_struct sPLC; |
306 | 308 | ||