#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <algorithm>
#include <memory>
#include "gflags/gflags.h"
#include "webrtc/modules/audio_processing/agc/agc.h"
#include "webrtc/modules/audio_processing/agc/loudness_histogram.h"
#include "webrtc/modules/audio_processing/agc/utility.h"
#include "webrtc/modules/audio_processing/vad/common.h"
#include "webrtc/modules/audio_processing/vad/pitch_based_vad.h"
#include "webrtc/modules/audio_processing/vad/standalone_vad.h"
#include "webrtc/modules/audio_processing/vad/vad_audio_proc.h"
#include "webrtc/modules/include/module_common_types.h"
#include "webrtc/test/gtest.h"
|
| DEFINE_bool (standalone_vad, true, "enable stand-alone VAD") |
|
| DEFINE_string (true_vad, "", "name of a file containing true VAD in 'int'" " format") |
|
| DEFINE_string (video_vad, "", "name of a file containing video VAD (activity" " probabilities) in double format. One activity per 10ms is" " required. If no file is given the video information is not" " incorporated. Negative activity is interpreted as video is" " not adapted and the statistics are not computed during" " the learning phase. Note that the negative video activities" " are ONLY allowed at the beginning.") |
|
| DEFINE_string (result, "", "name of a file to write the results. The results" " will be appended to the end of the file. This is optional.") |
|
| DEFINE_string (audio_content, "", "name of a file where audio content is written" " to, in double format.") |
|
| DEFINE_double (activity_threshold, kDefaultActivityThreshold, "Activity threshold") |
|
void | webrtc::void_main (int argc, char *argv[]) |
|
int | main (int argc, char *argv[]) |
|
◆ DEFINE_bool()
DEFINE_bool |
( |
standalone_vad |
, |
|
|
true |
, |
|
|
"enable stand-alone VAD" |
|
|
) |
| |
◆ DEFINE_double()
DEFINE_double |
( |
activity_threshold |
, |
|
|
kDefaultActivityThreshold |
, |
|
|
"Activity threshold" |
|
|
) |
| |
◆ DEFINE_string() [1/4]
DEFINE_string |
( |
true_vad |
, |
|
|
"" |
, |
|
|
"name of a file containing true VAD in 'int'" " format" |
|
|
) |
| |
◆ DEFINE_string() [2/4]
DEFINE_string |
( |
video_vad |
, |
|
|
"" |
, |
|
|
"name of a file containing video VAD (activity" " probabilities) in double format. One activity per 10ms is" " required. If no file is given the video information is not" " incorporated. Negative activity is interpreted as video is" " not adapted and the statistics are not computed during" " the learning phase. Note that the negative video activities" " are ONLY allowed at the beginning." |
|
|
) |
| |
◆ DEFINE_string() [3/4]
DEFINE_string |
( |
result |
, |
|
|
"" |
, |
|
|
"name of a file to write the results. The results" " will be appended to the end of the file. This is optional." |
|
|
) |
| |
◆ DEFINE_string() [4/4]
DEFINE_string |
( |
audio_content |
, |
|
|
"" |
, |
|
|
"name of a file where audio content is written" " |
to, |
|
|
in double format." |
|
|
) |
| |
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |