Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Side by Side Diff: webrtc/rtc_tools/event_log_visualizer/analyzer.cc

Issue 3000253002: Move video send/receive stream headers to webrtc/call. (Closed)
Patch Set: Headers moved to 'webrtc/call' instead of 'webrtc/api'. Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
11 #include "webrtc/rtc_tools/event_log_visualizer/analyzer.h" 11 #include "webrtc/rtc_tools/event_log_visualizer/analyzer.h"
12 12
13 #include <algorithm> 13 #include <algorithm>
14 #include <limits> 14 #include <limits>
15 #include <map> 15 #include <map>
16 #include <sstream> 16 #include <sstream>
17 #include <string> 17 #include <string>
18 #include <utility> 18 #include <utility>
19 19
20 #include "webrtc/call/audio_receive_stream.h" 20 #include "webrtc/call/audio_receive_stream.h"
21 #include "webrtc/call/audio_send_stream.h" 21 #include "webrtc/call/audio_send_stream.h"
22 #include "webrtc/call/call.h" 22 #include "webrtc/call/call.h"
23 #include "webrtc/call/video_receive_stream.h"
24 #include "webrtc/call/video_send_stream.h"
23 #include "webrtc/common_types.h" 25 #include "webrtc/common_types.h"
24 #include "webrtc/modules/audio_coding/neteq/tools/audio_sink.h" 26 #include "webrtc/modules/audio_coding/neteq/tools/audio_sink.h"
25 #include "webrtc/modules/audio_coding/neteq/tools/fake_decode_from_file.h" 27 #include "webrtc/modules/audio_coding/neteq/tools/fake_decode_from_file.h"
26 #include "webrtc/modules/audio_coding/neteq/tools/neteq_delay_analyzer.h" 28 #include "webrtc/modules/audio_coding/neteq/tools/neteq_delay_analyzer.h"
27 #include "webrtc/modules/audio_coding/neteq/tools/neteq_replacement_input.h" 29 #include "webrtc/modules/audio_coding/neteq/tools/neteq_replacement_input.h"
28 #include "webrtc/modules/audio_coding/neteq/tools/neteq_test.h" 30 #include "webrtc/modules/audio_coding/neteq/tools/neteq_test.h"
29 #include "webrtc/modules/audio_coding/neteq/tools/resample_input_audio_file.h" 31 #include "webrtc/modules/audio_coding/neteq/tools/resample_input_audio_file.h"
30 #include "webrtc/modules/congestion_controller/include/congestion_controller.h" 32 #include "webrtc/modules/congestion_controller/include/congestion_controller.h"
31 #include "webrtc/modules/include/module_common_types.h" 33 #include "webrtc/modules/include/module_common_types.h"
32 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" 34 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h"
33 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 35 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
34 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/common_header.h" 36 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/common_header.h"
35 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h" 37 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h"
36 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.h" 38 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.h"
37 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h" 39 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h"
38 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" 40 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h"
39 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" 41 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h"
40 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" 42 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h"
41 #include "webrtc/rtc_base/checks.h" 43 #include "webrtc/rtc_base/checks.h"
42 #include "webrtc/rtc_base/format_macros.h" 44 #include "webrtc/rtc_base/format_macros.h"
43 #include "webrtc/rtc_base/logging.h" 45 #include "webrtc/rtc_base/logging.h"
44 #include "webrtc/rtc_base/ptr_util.h" 46 #include "webrtc/rtc_base/ptr_util.h"
45 #include "webrtc/rtc_base/rate_statistics.h" 47 #include "webrtc/rtc_base/rate_statistics.h"
46 #include "webrtc/video_receive_stream.h"
47 #include "webrtc/video_send_stream.h"
48 48
49 namespace webrtc { 49 namespace webrtc {
50 namespace plotting { 50 namespace plotting {
51 51
52 namespace { 52 namespace {
53 53
54 void SortPacketFeedbackVector(std::vector<PacketFeedback>* vec) { 54 void SortPacketFeedbackVector(std::vector<PacketFeedback>* vec) {
55 auto pred = [](const PacketFeedback& packet_feedback) { 55 auto pred = [](const PacketFeedback& packet_feedback) {
56 return packet_feedback.arrival_time_ms == PacketFeedback::kNotReceived; 56 return packet_feedback.arrival_time_ms == PacketFeedback::kNotReceived;
57 }; 57 };
(...skipping 1664 matching lines...) Expand 10 before | Expand all | Expand 10 after
1722 plot->AppendTimeSeries(std::move(series.second)); 1722 plot->AppendTimeSeries(std::move(series.second));
1723 } 1723 }
1724 1724
1725 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin); 1725 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin);
1726 plot->SetYAxis(min_y_axis, max_y_axis, "Relative delay (ms)", kBottomMargin, 1726 plot->SetYAxis(min_y_axis, max_y_axis, "Relative delay (ms)", kBottomMargin,
1727 kTopMargin); 1727 kTopMargin);
1728 plot->SetTitle("NetEq timing"); 1728 plot->SetTitle("NetEq timing");
1729 } 1729 }
1730 } // namespace plotting 1730 } // namespace plotting
1731 } // namespace webrtc 1731 } // namespace webrtc
OLDNEW
« webrtc/BUILD.gn ('K') | « webrtc/rtc_tools/BUILD.gn ('k') | webrtc/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698