OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 #ifndef WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ | 11 #ifndef WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ |
12 #define WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ | 12 #define WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ |
13 | 13 |
14 #include <map> | 14 #include <map> |
15 #include <string> | 15 #include <string> |
16 | 16 |
17 #include "webrtc/base/criticalsection.h" | 17 #include "webrtc/base/criticalsection.h" |
18 #include "webrtc/base/rate_statistics.h" | 18 #include "webrtc/base/rate_statistics.h" |
19 #include "webrtc/base/ratetracker.h" | 19 #include "webrtc/base/ratetracker.h" |
20 #include "webrtc/base/thread_annotations.h" | 20 #include "webrtc/base/thread_annotations.h" |
21 #include "webrtc/common_types.h" | 21 #include "webrtc/common_types.h" |
22 #include "webrtc/frame_callback.h" | 22 #include "webrtc/frame_callback.h" |
23 #include "webrtc/modules/video_coding/include/video_coding_defines.h" | 23 #include "webrtc/modules/video_coding/include/video_coding_defines.h" |
24 #include "webrtc/video/report_block_stats.h" | 24 #include "webrtc/video/report_block_stats.h" |
25 #include "webrtc/video/vie_channel.h" | 25 #include "webrtc/video/vie_channel.h" |
26 #include "webrtc/video_receive_stream.h" | 26 #include "webrtc/video_receive_stream.h" |
27 #include "webrtc/video_renderer.h" | |
28 | 27 |
29 namespace webrtc { | 28 namespace webrtc { |
30 | 29 |
31 class Clock; | 30 class Clock; |
32 class ViECodec; | 31 class ViECodec; |
33 class ViEDecoderObserver; | 32 class ViEDecoderObserver; |
34 struct CodecSpecificInfo; | 33 struct CodecSpecificInfo; |
35 | 34 |
36 class ReceiveStatisticsProxy : public VCMReceiveStatisticsCallback, | 35 class ReceiveStatisticsProxy : public VCMReceiveStatisticsCallback, |
37 public RtcpStatisticsCallback, | 36 public RtcpStatisticsCallback, |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 SampleCounter sync_offset_counter_ GUARDED_BY(crit_); | 109 SampleCounter sync_offset_counter_ GUARDED_BY(crit_); |
111 SampleCounter decode_time_counter_ GUARDED_BY(crit_); | 110 SampleCounter decode_time_counter_ GUARDED_BY(crit_); |
112 SampleCounter delay_counter_ GUARDED_BY(crit_); | 111 SampleCounter delay_counter_ GUARDED_BY(crit_); |
113 ReportBlockStats report_block_stats_ GUARDED_BY(crit_); | 112 ReportBlockStats report_block_stats_ GUARDED_BY(crit_); |
114 QpCounters qp_counters_; // Only accessed on the decoding thread. | 113 QpCounters qp_counters_; // Only accessed on the decoding thread. |
115 std::map<uint32_t, StreamDataCounters> rtx_stats_ GUARDED_BY(crit_); | 114 std::map<uint32_t, StreamDataCounters> rtx_stats_ GUARDED_BY(crit_); |
116 }; | 115 }; |
117 | 116 |
118 } // namespace webrtc | 117 } // namespace webrtc |
119 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ | 118 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ |
OLD | NEW |