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

Side by Side Diff: webrtc/rtc_tools/agc/activity_metric.cc

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 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) 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
11 11
12 #include <math.h> 12 #include <math.h>
13 #include <stdio.h> 13 #include <stdio.h>
14 #include <stdlib.h> 14 #include <stdlib.h>
15 15
16 #include <algorithm> 16 #include <algorithm>
17 #include <memory> 17 #include <memory>
18 18
19 #include "webrtc/base/flags.h"
20 #include "webrtc/base/safe_minmax.h"
21 #include "webrtc/modules/audio_processing/agc/agc.h" 19 #include "webrtc/modules/audio_processing/agc/agc.h"
22 #include "webrtc/modules/audio_processing/agc/loudness_histogram.h" 20 #include "webrtc/modules/audio_processing/agc/loudness_histogram.h"
23 #include "webrtc/modules/audio_processing/agc/utility.h" 21 #include "webrtc/modules/audio_processing/agc/utility.h"
24 #include "webrtc/modules/audio_processing/vad/common.h" 22 #include "webrtc/modules/audio_processing/vad/common.h"
25 #include "webrtc/modules/audio_processing/vad/pitch_based_vad.h" 23 #include "webrtc/modules/audio_processing/vad/pitch_based_vad.h"
26 #include "webrtc/modules/audio_processing/vad/standalone_vad.h" 24 #include "webrtc/modules/audio_processing/vad/standalone_vad.h"
27 #include "webrtc/modules/audio_processing/vad/vad_audio_proc.h" 25 #include "webrtc/modules/audio_processing/vad/vad_audio_proc.h"
28 #include "webrtc/modules/include/module_common_types.h" 26 #include "webrtc/modules/include/module_common_types.h"
27 #include "webrtc/rtc_base/flags.h"
28 #include "webrtc/rtc_base/safe_minmax.h"
29 #include "webrtc/test/gtest.h" 29 #include "webrtc/test/gtest.h"
30 30
31 static const int kAgcAnalWindowSamples = 100; 31 static const int kAgcAnalWindowSamples = 100;
32 static const float kDefaultActivityThreshold = 0.3f; 32 static const float kDefaultActivityThreshold = 0.3f;
33 33
34 DEFINE_bool(standalone_vad, true, "enable stand-alone VAD"); 34 DEFINE_bool(standalone_vad, true, "enable stand-alone VAD");
35 DEFINE_string(true_vad, "", "name of a file containing true VAD in 'int'" 35 DEFINE_string(true_vad, "", "name of a file containing true VAD in 'int'"
36 " format"); 36 " format");
37 DEFINE_string(video_vad, "", "name of a file containing video VAD (activity" 37 DEFINE_string(video_vad, "", "name of a file containing video VAD (activity"
38 " probabilities) in double format. One activity per 10ms is" 38 " probabilities) in double format. One activity per 10ms is"
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 return 0; 386 return 0;
387 } 387 }
388 rtc::FlagList::SetFlagsFromCommandLine(&argc, argv, true); 388 rtc::FlagList::SetFlagsFromCommandLine(&argc, argv, true);
389 if (FLAG_help) { 389 if (FLAG_help) {
390 rtc::FlagList::Print(nullptr, false); 390 rtc::FlagList::Print(nullptr, false);
391 return 0; 391 return 0;
392 } 392 }
393 webrtc::void_main(argc, argv); 393 webrtc::void_main(argc, argv);
394 return 0; 394 return 0;
395 } 395 }
OLDNEW
« no previous file with comments | « webrtc/pc/webrtcsessiondescriptionfactory.cc ('k') | webrtc/rtc_tools/event_log_visualizer/analyzer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698