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

Side by Side Diff: webrtc/modules/audio_coding/codecs/isac/fix/source/lattice.c

Issue 1235643003: Miscellaneous changes split from https://codereview.webrtc.org/1230503003 . (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 5 months 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 /* ----------------AR filter-------------------------*/ 211 /* ----------------AR filter-------------------------*/
212 /* filter the signal using normalized lattice filter */ 212 /* filter the signal using normalized lattice filter */
213 void WebRtcIsacfix_NormLatticeFilterAr(int16_t orderCoef, 213 void WebRtcIsacfix_NormLatticeFilterAr(int16_t orderCoef,
214 int16_t *stateGQ0, 214 int16_t *stateGQ0,
215 int32_t *lat_inQ25, 215 int32_t *lat_inQ25,
216 int16_t *filt_coefQ15, 216 int16_t *filt_coefQ15,
217 int32_t *gain_lo_hiQ17, 217 int32_t *gain_lo_hiQ17,
218 int16_t lo_hi, 218 int16_t lo_hi,
219 int16_t *lat_outQ0) 219 int16_t *lat_outQ0)
220 { 220 {
221 int ii,n,k,i,u; 221 int ii, n, k, i, u;
222 int16_t sthQ15[MAX_AR_MODEL_ORDER]; 222 int16_t sthQ15[MAX_AR_MODEL_ORDER];
223 int16_t cthQ15[MAX_AR_MODEL_ORDER]; 223 int16_t cthQ15[MAX_AR_MODEL_ORDER];
224 int32_t tmp32; 224 int32_t tmp32;
225 225
226 226
227 int16_t tmpAR; 227 int16_t tmpAR;
228 int16_t ARfQ0vec[HALF_SUBFRAMELEN]; 228 int16_t ARfQ0vec[HALF_SUBFRAMELEN];
229 int16_t ARgQ0vec[MAX_AR_MODEL_ORDER+1]; 229 int16_t ARgQ0vec[MAX_AR_MODEL_ORDER+1];
230 230
231 int32_t inv_gain32; 231 int32_t inv_gain32;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 /* cannot use memcpy in the following */ 305 /* cannot use memcpy in the following */
306 306
307 for (i=0;i<ord_1;i++) 307 for (i=0;i<ord_1;i++)
308 { 308 {
309 stateGQ0[i] = ARgQ0vec[i]; 309 stateGQ0[i] = ARgQ0vec[i];
310 } 310 }
311 } 311 }
312 312
313 return; 313 return;
314 } 314 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698