webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Functions
activity_metric.cc File Reference
#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"

Classes

class  webrtc::AgcStat
 

Namespaces

 webrtc
 

Functions

 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[])
 

Function Documentation

◆ 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[] 
)