webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Functions
video_loopback.cc File Reference
#include <stdio.h>
#include "gflags/gflags.h"
#include "webrtc/test/field_trial.h"
#include "webrtc/test/gtest.h"
#include "webrtc/test/run_test.h"
#include "webrtc/video/video_quality_test.h"

Namespaces

 webrtc
 
 webrtc::flags
 

Functions

 webrtc::flags::DEFINE_int32 (width, 640, "Video width.")
 
size_t webrtc::flags::Width ()
 
 webrtc::flags::DEFINE_int32 (height, 480, "Video height.")
 
size_t webrtc::flags::Height ()
 
 webrtc::flags::DEFINE_int32 (fps, 30, "Frames per second.")
 
int webrtc::flags::Fps ()
 
 webrtc::flags::DEFINE_int32 (min_bitrate, 50, "Call and stream min bitrate in kbps.")
 
int webrtc::flags::MinBitrateKbps ()
 
 webrtc::flags::DEFINE_int32 (start_bitrate, 300, "Call start bitrate in kbps.")
 
int webrtc::flags::StartBitrateKbps ()
 
 webrtc::flags::DEFINE_int32 (target_bitrate, 800, "Stream target bitrate in kbps.")
 
int webrtc::flags::TargetBitrateKbps ()
 
 webrtc::flags::DEFINE_int32 (max_bitrate, 800, "Call and stream max bitrate in kbps.")
 
int webrtc::flags::MaxBitrateKbps ()
 
 webrtc::flags::DEFINE_bool (suspend_below_min_bitrate, false, "Suspends video below the configured min bitrate.")
 
 webrtc::flags::DEFINE_int32 (num_temporal_layers, 1, "Number of temporal layers. Set to 1-4 to override.")
 
int webrtc::flags::NumTemporalLayers ()
 
 webrtc::flags::DEFINE_string (codec, "VP8", "Video codec to use.")
 
 webrtc::flags::DEFINE_int32 (selected_tl, -1, "Temporal layer to show or analyze. -1 to disable filtering.")
 
int webrtc::flags::SelectedTL ()
 
 webrtc::flags::DEFINE_int32 (duration, 0, "Duration of the test in seconds. If 0, rendered will be shown instead.")
 
int webrtc::flags::DurationSecs ()
 
 webrtc::flags::DEFINE_string (output_filename, "", "Target graph data filename.")
 
std::string webrtc::flags::OutputFilename ()
 
 webrtc::flags::DEFINE_string (graph_title, "", "If empty, title will be generated automatically.")
 
std::string webrtc::flags::GraphTitle ()
 
 webrtc::flags::DEFINE_int32 (loss_percent, 0, "Percentage of packets randomly lost.")
 
int webrtc::flags::LossPercent ()
 
 webrtc::flags::DEFINE_int32 (avg_burst_loss_length, -1, "Average burst length of lost packets.")
 
int webrtc::flags::AvgBurstLossLength ()
 
 webrtc::flags::DEFINE_int32 (link_capacity, 0, "Capacity (kbps) of the fake link. 0 means infinite.")
 
int webrtc::flags::LinkCapacityKbps ()
 
 webrtc::flags::DEFINE_int32 (queue_size, 0, "Size of the bottleneck link queue in packets.")
 
int webrtc::flags::QueueSize ()
 
 webrtc::flags::DEFINE_int32 (avg_propagation_delay_ms, 0, "Average link propagation delay in ms.")
 
int webrtc::flags::AvgPropagationDelayMs ()
 
 webrtc::flags::DEFINE_int32 (std_propagation_delay_ms, 0, "Link propagation delay standard deviation in ms.")
 
int webrtc::flags::StdPropagationDelayMs ()
 
 webrtc::flags::DEFINE_int32 (selected_stream, 0, "ID of the stream to show or analyze.")
 
int webrtc::flags::SelectedStream ()
 
 webrtc::flags::DEFINE_int32 (num_spatial_layers, 1, "Number of spatial layers to use.")
 
int webrtc::flags::NumSpatialLayers ()
 
 webrtc::flags::DEFINE_int32 (selected_sl, -1, "Spatial layer to show or analyze. -1 to disable filtering.")
 
int webrtc::flags::SelectedSL ()
 
 webrtc::flags::DEFINE_string (stream0, "", "Comma separated values describing VideoStream for stream #0.")
 
std::string webrtc::flags::Stream0 ()
 
 webrtc::flags::DEFINE_string (stream1, "", "Comma separated values describing VideoStream for stream #1.")
 
std::string webrtc::flags::Stream1 ()
 
 webrtc::flags::DEFINE_string (sl0, "", "Comma separated values describing SpatialLayer for layer #0.")
 
std::string webrtc::flags::SL0 ()
 
 webrtc::flags::DEFINE_string (sl1, "", "Comma separated values describing SpatialLayer for layer #1.")
 
std::string webrtc::flags::SL1 ()
 
 webrtc::flags::DEFINE_string (encoded_frame_path, "", "The base path for encoded frame logs. Created files will have " "the form <encoded_frame_path>.<n>.(recv|send.<m>).ivf")
 
std::string webrtc::flags::EncodedFramePath ()
 
 webrtc::flags::DEFINE_bool (logs, false, "print logs to stderr")
 
 webrtc::flags::DEFINE_bool (send_side_bwe, true, "Use send-side bandwidth estimation")
 
 webrtc::flags::DEFINE_bool (allow_reordering, false, "Allow packet reordering to occur")
 
 webrtc::flags::DEFINE_bool (use_ulpfec, false, "Use RED+ULPFEC forward error correction.")
 
 webrtc::flags::DEFINE_bool (use_flexfec, false, "Use FlexFEC forward error correction.")
 
 webrtc::flags::DEFINE_bool (audio, false, "Add audio stream")
 
 webrtc::flags::DEFINE_bool (audio_video_sync, false, "Sync audio and video stream (no effect if" " audio is false)")
 
 webrtc::flags::DEFINE_bool (video, true, "Add video stream")
 
 webrtc::flags::DEFINE_string (force_fieldtrials, "", "Field trials control experimental feature code which can be forced. " "E.g. running with --force_fieldtrials=WebRTC-FooFeature/Enable/" " will assign the group Enable to field trial WebRTC-FooFeature. Multiple " "trials are separated by \\)
 
 webrtc::flags::DEFINE_string (clip, "", "Name of the clip to show. If empty, using chroma generator.")
 
std::string webrtc::flags::Clip ()
 
void webrtc::Loopback ()
 
int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)