Chromium Code Reviews| OLD | NEW | 
|---|---|
| 1 /* | 1 /* | 
| 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 70 "Plot the audio encoder frame length."); | 70 "Plot the audio encoder frame length."); | 
| 71 DEFINE_bool( | 71 DEFINE_bool( | 
| 72 audio_encoder_uplink_packet_loss_fraction, | 72 audio_encoder_uplink_packet_loss_fraction, | 
| 73 false, | 73 false, | 
| 74 "Plot the uplink packet loss fraction which is send to the audio encoder."); | 74 "Plot the uplink packet loss fraction which is send to the audio encoder."); | 
| 75 DEFINE_bool(audio_encoder_fec, false, "Plot the audio encoder FEC."); | 75 DEFINE_bool(audio_encoder_fec, false, "Plot the audio encoder FEC."); | 
| 76 DEFINE_bool(audio_encoder_dtx, false, "Plot the audio encoder DTX."); | 76 DEFINE_bool(audio_encoder_dtx, false, "Plot the audio encoder DTX."); | 
| 77 DEFINE_bool(audio_encoder_num_channels, | 77 DEFINE_bool(audio_encoder_num_channels, | 
| 78 false, | 78 false, | 
| 79 "Plot the audio encoder number of channels."); | 79 "Plot the audio encoder number of channels."); | 
| 80 DEFINE_bool(plot_audio_jitter_buffer, | |
| 81 false, | |
| 82 "Plot the audio jitter buffer delay profile."); | |
| 80 DEFINE_string( | 83 DEFINE_string( | 
| 81 force_fieldtrials, | 84 force_fieldtrials, | 
| 82 "", | 85 "", | 
| 83 "Field trials control experimental feature code which can be forced. " | 86 "Field trials control experimental feature code which can be forced. " | 
| 84 "E.g. running with --force_fieldtrials=WebRTC-FooFeature/Enabled/" | 87 "E.g. running with --force_fieldtrials=WebRTC-FooFeature/Enabled/" | 
| 85 " will assign the group Enabled to field trial WebRTC-FooFeature. Multiple " | 88 " will assign the group Enabled to field trial WebRTC-FooFeature. Multiple " | 
| 86 "trials are separated by \"/\""); | 89 "trials are separated by \"/\""); | 
| 87 | 90 | 
| 88 int main(int argc, char* argv[]) { | 91 int main(int argc, char* argv[]) { | 
| 89 std::string program_name = argv[0]; | 92 std::string program_name = argv[0]; | 
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 220 } | 223 } | 
| 221 | 224 | 
| 222 if (FLAGS_plot_all || FLAGS_audio_encoder_dtx) { | 225 if (FLAGS_plot_all || FLAGS_audio_encoder_dtx) { | 
| 223 analyzer.CreateAudioEncoderEnableDtxGraph(collection->AppendNewPlot()); | 226 analyzer.CreateAudioEncoderEnableDtxGraph(collection->AppendNewPlot()); | 
| 224 } | 227 } | 
| 225 | 228 | 
| 226 if (FLAGS_plot_all || FLAGS_audio_encoder_num_channels) { | 229 if (FLAGS_plot_all || FLAGS_audio_encoder_num_channels) { | 
| 227 analyzer.CreateAudioEncoderNumChannelsGraph(collection->AppendNewPlot()); | 230 analyzer.CreateAudioEncoderNumChannelsGraph(collection->AppendNewPlot()); | 
| 228 } | 231 } | 
| 229 | 232 | 
| 233 if (FLAGS_plot_all || FLAGS_plot_audio_jitter_buffer) { | |
| 
 
owb1
2017/05/17 19:31:39
I think it should be FLAG instead of FLAGS
 
hlundin-webrtc
2017/05/30 14:56:07
Not in gflags: https://gflags.github.io/gflags/#us
 
ivoc
2017/05/30 16:29:45
It turns out someone updated this tool to use base
 
hlundin-webrtc
2017/05/31 06:38:33
Oh, I see. I'll get to the rebase when everything
 
 | |
| 234 analyzer.CreateAudioJitterBufferGraph( | |
| 235 "/usr/local/google/home/hlundin/webrtc_src/junk/krefsme48.pcm", 48000, | |
| 
 
ivoc
2017/05/16 13:25:50
This looks like it could use an update :-)
 
hlundin-webrtc
2017/05/30 14:56:07
You think? :)
Done!
 
 | |
| 236 collection->AppendNewPlot()); | |
| 237 } | |
| 238 | |
| 230 collection->Draw(); | 239 collection->Draw(); | 
| 231 | 240 | 
| 232 return 0; | 241 return 0; | 
| 233 } | 242 } | 
| OLD | NEW |