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

Side by Side Diff: webrtc/modules/audio_processing/aec/aec_core.h

Issue 1581183005: Cleaning up AEC metrics. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: renaming a function Created 4 years, 8 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 29 matching lines...) Expand all
40 enum { kOffsetLevel = -100 }; 40 enum { kOffsetLevel = -100 };
41 41
42 typedef struct Stats { 42 typedef struct Stats {
43 float instant; 43 float instant;
44 float average; 44 float average;
45 float min; 45 float min;
46 float max; 46 float max;
47 float sum; 47 float sum;
48 float hisum; 48 float hisum;
49 float himean; 49 float himean;
50 int counter; 50 size_t counter;
51 int hicounter; 51 size_t hicounter;
52 } Stats; 52 } Stats;
53 53
54 typedef struct AecCore AecCore; 54 typedef struct AecCore AecCore;
55 55
56 AecCore* WebRtcAec_CreateAec(); // Returns NULL on error. 56 AecCore* WebRtcAec_CreateAec(); // Returns NULL on error.
57 void WebRtcAec_FreeAec(AecCore* aec); 57 void WebRtcAec_FreeAec(AecCore* aec);
58 int WebRtcAec_InitAec(AecCore* aec, int sampFreq); 58 int WebRtcAec_InitAec(AecCore* aec, int sampFreq);
59 void WebRtcAec_InitAec_SSE2(void); 59 void WebRtcAec_InitAec_SSE2(void);
60 #if defined(MIPS_FPU_LE) 60 #if defined(MIPS_FPU_LE)
61 void WebRtcAec_InitAec_mips(void); 61 void WebRtcAec_InitAec_mips(void);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 int WebRtcAec_system_delay(AecCore* self); 131 int WebRtcAec_system_delay(AecCore* self);
132 132
133 // Sets the |system_delay| to |value|. Note that if the value is changed 133 // Sets the |system_delay| to |value|. Note that if the value is changed
134 // improperly, there can be a performance regression. So it should be used with 134 // improperly, there can be a performance regression. So it should be used with
135 // care. 135 // care.
136 void WebRtcAec_SetSystemDelay(AecCore* self, int delay); 136 void WebRtcAec_SetSystemDelay(AecCore* self, int delay);
137 137
138 } // namespace webrtc 138 } // namespace webrtc
139 139
140 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_H_ 140 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/aec/aec_core.cc » ('j') | webrtc/modules/audio_processing/aec/aec_core.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698