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_SEND_STATISTICS_PROXY_H_ | 11 #ifndef WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_ |
12 #define WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_ | 12 #define WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_ |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 | 15 |
16 #include "webrtc/base/criticalsection.h" | 16 #include "webrtc/base/criticalsection.h" |
17 #include "webrtc/base/ratetracker.h" | 17 #include "webrtc/base/ratetracker.h" |
18 #include "webrtc/base/scoped_ptr.h" | 18 #include "webrtc/base/scoped_ptr.h" |
19 #include "webrtc/base/thread_annotations.h" | 19 #include "webrtc/base/thread_annotations.h" |
20 #include "webrtc/common_types.h" | 20 #include "webrtc/common_types.h" |
21 #include "webrtc/modules/video_coding/codecs/interface/video_codec_interface.h" | 21 #include "webrtc/modules/video_coding/include/video_codec_interface.h" |
22 #include "webrtc/modules/video_coding/main/interface/video_coding_defines.h" | 22 #include "webrtc/modules/video_coding/include/video_coding_defines.h" |
23 #include "webrtc/system_wrappers/include/clock.h" | 23 #include "webrtc/system_wrappers/include/clock.h" |
24 #include "webrtc/video_engine/overuse_frame_detector.h" | 24 #include "webrtc/video_engine/overuse_frame_detector.h" |
25 #include "webrtc/video_engine/vie_encoder.h" | 25 #include "webrtc/video_engine/vie_encoder.h" |
26 #include "webrtc/video_send_stream.h" | 26 #include "webrtc/video_send_stream.h" |
27 | 27 |
28 namespace webrtc { | 28 namespace webrtc { |
29 | 29 |
30 class SendStatisticsProxy : public CpuOveruseMetricsObserver, | 30 class SendStatisticsProxy : public CpuOveruseMetricsObserver, |
31 public RtcpStatisticsCallback, | 31 public RtcpStatisticsCallback, |
32 public RtcpPacketTypeCounterObserver, | 32 public RtcpPacketTypeCounterObserver, |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 BoolSampleCounter quality_limited_frame_counter_ GUARDED_BY(crit_); | 141 BoolSampleCounter quality_limited_frame_counter_ GUARDED_BY(crit_); |
142 SampleCounter quality_downscales_counter_ GUARDED_BY(crit_); | 142 SampleCounter quality_downscales_counter_ GUARDED_BY(crit_); |
143 BoolSampleCounter bw_limited_frame_counter_ GUARDED_BY(crit_); | 143 BoolSampleCounter bw_limited_frame_counter_ GUARDED_BY(crit_); |
144 SampleCounter bw_resolutions_disabled_counter_ GUARDED_BY(crit_); | 144 SampleCounter bw_resolutions_disabled_counter_ GUARDED_BY(crit_); |
145 SampleCounter delay_counter_ GUARDED_BY(crit_); | 145 SampleCounter delay_counter_ GUARDED_BY(crit_); |
146 SampleCounter max_delay_counter_ GUARDED_BY(crit_); | 146 SampleCounter max_delay_counter_ GUARDED_BY(crit_); |
147 }; | 147 }; |
148 | 148 |
149 } // namespace webrtc | 149 } // namespace webrtc |
150 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_ | 150 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_ |
OLD | NEW |