| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 pipe_config.loss_percent = flags::LossPercent(); | 212 pipe_config.loss_percent = flags::LossPercent(); |
| 213 pipe_config.link_capacity_kbps = flags::LinkCapacityKbps(); | 213 pipe_config.link_capacity_kbps = flags::LinkCapacityKbps(); |
| 214 pipe_config.queue_length_packets = flags::QueueSize(); | 214 pipe_config.queue_length_packets = flags::QueueSize(); |
| 215 pipe_config.queue_delay_ms = flags::AvgPropagationDelayMs(); | 215 pipe_config.queue_delay_ms = flags::AvgPropagationDelayMs(); |
| 216 pipe_config.delay_standard_deviation_ms = flags::StdPropagationDelayMs(); | 216 pipe_config.delay_standard_deviation_ms = flags::StdPropagationDelayMs(); |
| 217 pipe_config.allow_reordering = flags::FLAGS_allow_reordering; | 217 pipe_config.allow_reordering = flags::FLAGS_allow_reordering; |
| 218 | 218 |
| 219 Call::Config::BitrateConfig call_bitrate_config; | 219 Call::Config::BitrateConfig call_bitrate_config; |
| 220 call_bitrate_config.min_bitrate_bps = flags::MinBitrateKbps() * 1000; | 220 call_bitrate_config.min_bitrate_bps = flags::MinBitrateKbps() * 1000; |
| 221 call_bitrate_config.start_bitrate_bps = flags::StartBitrateKbps() * 1000; | 221 call_bitrate_config.start_bitrate_bps = flags::StartBitrateKbps() * 1000; |
| 222 call_bitrate_config.max_bitrate_bps = flags::MaxBitrateKbps() * 1000; | 222 call_bitrate_config.max_bitrate_bps = |
| 223 rtc::Optional<int>(flags::MaxBitrateKbps() * 1000); |
| 223 | 224 |
| 224 VideoQualityTest::Params params{ | 225 VideoQualityTest::Params params{ |
| 225 {flags::Width(), flags::Height(), flags::Fps(), | 226 {flags::Width(), flags::Height(), flags::Fps(), |
| 226 flags::MinBitrateKbps() * 1000, flags::TargetBitrateKbps() * 1000, | 227 flags::MinBitrateKbps() * 1000, flags::TargetBitrateKbps() * 1000, |
| 227 flags::MaxBitrateKbps() * 1000, flags::Codec(), | 228 flags::MaxBitrateKbps() * 1000, flags::Codec(), |
| 228 flags::NumTemporalLayers(), flags::SelectedTL(), | 229 flags::NumTemporalLayers(), flags::SelectedTL(), |
| 229 flags::MinTransmitBitrateKbps() * 1000, call_bitrate_config, | 230 flags::MinTransmitBitrateKbps() * 1000, call_bitrate_config, |
| 230 flags::FLAGS_send_side_bwe}, | 231 flags::FLAGS_send_side_bwe}, |
| 231 {}, // Video specific. | 232 {}, // Video specific. |
| 232 {true, flags::SlideChangeInterval(), flags::ScrollDuration()}, | 233 {true, flags::SlideChangeInterval(), flags::ScrollDuration()}, |
| (...skipping 22 matching lines...) Expand all Loading... |
| 255 } // namespace webrtc | 256 } // namespace webrtc |
| 256 | 257 |
| 257 int main(int argc, char* argv[]) { | 258 int main(int argc, char* argv[]) { |
| 258 ::testing::InitGoogleTest(&argc, argv); | 259 ::testing::InitGoogleTest(&argc, argv); |
| 259 google::ParseCommandLineFlags(&argc, &argv, true); | 260 google::ParseCommandLineFlags(&argc, &argv, true); |
| 260 webrtc::test::InitFieldTrialsFromString( | 261 webrtc::test::InitFieldTrialsFromString( |
| 261 webrtc::flags::FLAGS_force_fieldtrials); | 262 webrtc::flags::FLAGS_force_fieldtrials); |
| 262 webrtc::test::RunTest(webrtc::Loopback); | 263 webrtc::test::RunTest(webrtc::Loopback); |
| 263 return 0; | 264 return 0; |
| 264 } | 265 } |
| OLD | NEW |