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

Side by Side Diff: webrtc/modules/audio_coding/codecs/isac/main/source/pitch_estimator.h

Issue 1230503003: Update a ton of audio code to use size_t more correctly and in general reduce (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 3 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 void WebRtcIsac_PitchfilterPre_gains(double *indat, 55 void WebRtcIsac_PitchfilterPre_gains(double *indat,
56 double *outdat, 56 double *outdat,
57 double out_dG[][PITCH_FRAME_LEN + QLOOKAHEA D], 57 double out_dG[][PITCH_FRAME_LEN + QLOOKAHEA D],
58 PitchFiltstr *pfp, 58 PitchFiltstr *pfp,
59 double *lags, 59 double *lags,
60 double *gains); 60 double *gains);
61 61
62 void WebRtcIsac_WeightingFilter(const double *in, double *weiout, double *whiout , WeightFiltstr *wfdata); 62 void WebRtcIsac_WeightingFilter(const double *in, double *weiout, double *whiout , WeightFiltstr *wfdata);
63 63
64 void WebRtcIsac_Highpass(const double *in, double *out, double *state, int N); 64 void WebRtcIsac_Highpass(const double *in,
65 double *out,
66 double *state,
67 size_t N);
65 68
66 void WebRtcIsac_DecimateAllpass(const double *in, 69 void WebRtcIsac_DecimateAllpass(const double *in,
67 double *state_in, /* array of size: 2*ALL PASSSECTIONS+1 */ 70 double *state_in, /* array of size:
68 int N, /* number of input samp les */ 71 * 2*ALLPASSSECTIONS+1 */
69 double *out); /* array of size N/2 */ 72 size_t N, /* number of input samples */
73 double *out); /* array of size N/2 */
70 74
71 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_PITCH_ESTIMATOR_H_ */ 75 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_PITCH_ESTIMATOR_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698