Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: silk/structs.h

Issue 107243004: Updating Opus to release 1.1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/opus
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « silk/shell_coder.c ('k') | silk/tables.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /*********************************************************************** 1 /***********************************************************************
2 Copyright (c) 2006-2011, Skype Limited. All rights reserved. 2 Copyright (c) 2006-2011, Skype Limited. All rights reserved.
3 Redistribution and use in source and binary forms, with or without 3 Redistribution and use in source and binary forms, with or without
4 modification, are permitted provided that the following conditions 4 modification, are permitted provided that the following conditions
5 are met: 5 are met:
6 - Redistributions of source code must retain the above copyright notice, 6 - Redistributions of source code must retain the above copyright notice,
7 this list of conditions and the following disclaimer. 7 this list of conditions and the following disclaimer.
8 - Redistributions in binary form must reproduce the above copyright 8 - Redistributions in binary form must reproduce the above copyright
9 notice, this list of conditions and the following disclaimer in the 9 notice, this list of conditions and the following disclaimer in the
10 documentation and/or other materials provided with the distribution. 10 documentation and/or other materials provided with the distribution.
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 opus_int Complexity; /* Complexit y setting */ 164 opus_int Complexity; /* Complexit y setting */
165 opus_int nStatesDelayedDecision; /* Number of states in delayed decision quantization */ 165 opus_int nStatesDelayedDecision; /* Number of states in delayed decision quantization */
166 opus_int useInterpolatedNLSFs; /* Flag for using NLSF interpolation */ 166 opus_int useInterpolatedNLSFs; /* Flag for using NLSF interpolation */
167 opus_int shapingLPCOrder; /* Filter or der for noise shaping filters */ 167 opus_int shapingLPCOrder; /* Filter or der for noise shaping filters */
168 opus_int predictLPCOrder; /* Filter or der for prediction filters */ 168 opus_int predictLPCOrder; /* Filter or der for prediction filters */
169 opus_int pitchEstimationComplexity; /* Complexit y level for pitch estimator */ 169 opus_int pitchEstimationComplexity; /* Complexit y level for pitch estimator */
170 opus_int pitchEstimationLPCOrder; /* Whitening filter order for pitch estimator */ 170 opus_int pitchEstimationLPCOrder; /* Whitening filter order for pitch estimator */
171 opus_int32 pitchEstimationThreshold_Q16; /* Threshold for pitch estimator */ 171 opus_int32 pitchEstimationThreshold_Q16; /* Threshold for pitch estimator */
172 opus_int LTPQuantLowComplexity; /* Flag for low complexity LTP quantization */ 172 opus_int LTPQuantLowComplexity; /* Flag for low complexity LTP quantization */
173 opus_int mu_LTP_Q9; /* Rate-dist ortion tradeoff in LTP quantization */ 173 opus_int mu_LTP_Q9; /* Rate-dist ortion tradeoff in LTP quantization */
174 opus_int32 sum_log_gain_Q7; /* Cumulative max prediction gain */
174 opus_int NLSF_MSVQ_Survivors; /* Number of survivors in NLSF MSVQ */ 175 opus_int NLSF_MSVQ_Survivors; /* Number of survivors in NLSF MSVQ */
175 opus_int first_frame_after_reset; /* Flag for deactivating NLSF interpolation, pitch prediction */ 176 opus_int first_frame_after_reset; /* Flag for deactivating NLSF interpolation, pitch prediction */
176 opus_int controlled_since_last_payload; /* Flag for ensuring codec_control only runs once per packet */ 177 opus_int controlled_since_last_payload; /* Flag for ensuring codec_control only runs once per packet */
177 opus_int warping_Q16; /* Warping p arameter for warped noise shaping */ 178 opus_int warping_Q16; /* Warping p arameter for warped noise shaping */
178 opus_int useCBR; /* Flag to e nable constant bitrate */ 179 opus_int useCBR; /* Flag to e nable constant bitrate */
179 opus_int prefillFlag; /* Flag to i ndicate that only buffers are prefilled, no coding */ 180 opus_int prefillFlag; /* Flag to i ndicate that only buffers are prefilled, no coding */
180 const opus_uint8 *pitch_lag_low_bits_iCDF; /* Pointer t o iCDF table for low bits of pitch lag index */ 181 const opus_uint8 *pitch_lag_low_bits_iCDF; /* Pointer t o iCDF table for low bits of pitch lag index */
181 const opus_uint8 *pitch_contour_iCDF; /* Pointer t o iCDF table for pitch contour index */ 182 const opus_uint8 *pitch_contour_iCDF; /* Pointer t o iCDF table for pitch contour index */
182 const silk_NLSF_CB_struct *psNLSF_CB; /* Pointer t o NLSF codebook */ 183 const silk_NLSF_CB_struct *psNLSF_CB; /* Pointer t o NLSF codebook */
183 opus_int input_quality_bands_Q15[ VAD_N_BANDS ]; 184 opus_int input_quality_bands_Q15[ VAD_N_BANDS ];
184 opus_int input_tilt_Q15; 185 opus_int input_tilt_Q15;
185 opus_int SNR_dB_Q7; /* Quality s etting */ 186 opus_int SNR_dB_Q7; /* Quality s etting */
186 187
187 opus_int8 VAD_flags[ MAX_FRAMES_PER_PACKET ]; 188 opus_int8 VAD_flags[ MAX_FRAMES_PER_PACKET ];
188 opus_int8 LBRR_flag; 189 opus_int8 LBRR_flag;
189 opus_int LBRR_flags[ MAX_FRAMES_PER_PACKET ]; 190 opus_int LBRR_flags[ MAX_FRAMES_PER_PACKET ];
190 191
191 SideInfoIndices indices; 192 SideInfoIndices indices;
192 opus_int8 pulses[ MAX_FRAME_LENGTH ]; 193 opus_int8 pulses[ MAX_FRAME_LENGTH ];
193 194
195 int arch;
196
194 /* Input/output buffering */ 197 /* Input/output buffering */
195 opus_int16 inputBuf[ MAX_FRAME_LENGTH + 2 ]; /* Buffer co ntaining input signal */ 198 opus_int16 inputBuf[ MAX_FRAME_LENGTH + 2 ]; /* Buffer co ntaining input signal */
196 opus_int inputBufIx; 199 opus_int inputBufIx;
197 opus_int nFramesPerPacket; 200 opus_int nFramesPerPacket;
198 opus_int nFramesEncoded; /* Number of frames analyzed in current packet */ 201 opus_int nFramesEncoded; /* Number of frames analyzed in current packet */
199 202
200 opus_int nChannelsAPI; 203 opus_int nChannelsAPI;
201 opus_int nChannelsInternal; 204 opus_int nChannelsInternal;
202 opus_int channelNb; 205 opus_int channelNb;
203 206
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ]; 318 opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ];
316 opus_int LTP_scale_Q14; 319 opus_int LTP_scale_Q14;
317 } silk_decoder_control; 320 } silk_decoder_control;
318 321
319 322
320 #ifdef __cplusplus 323 #ifdef __cplusplus
321 } 324 }
322 #endif 325 #endif
323 326
324 #endif 327 #endif
OLDNEW
« no previous file with comments | « silk/shell_coder.c ('k') | silk/tables.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698