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 <map> | 14 #include <map> |
15 #include <memory> | 15 #include <memory> |
16 #include <string> | 16 #include <string> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
| 19 #include "webrtc/base/criticalsection.h" |
| 20 #include "webrtc/base/numerics/exp_filter.h" |
| 21 #include "webrtc/base/ratetracker.h" |
| 22 #include "webrtc/base/thread_annotations.h" |
19 #include "webrtc/common_types.h" | 23 #include "webrtc/common_types.h" |
20 #include "webrtc/modules/video_coding/include/video_codec_interface.h" | 24 #include "webrtc/modules/video_coding/include/video_codec_interface.h" |
21 #include "webrtc/modules/video_coding/include/video_coding_defines.h" | 25 #include "webrtc/modules/video_coding/include/video_coding_defines.h" |
22 #include "webrtc/rtc_base/criticalsection.h" | |
23 #include "webrtc/rtc_base/numerics/exp_filter.h" | |
24 #include "webrtc/rtc_base/ratetracker.h" | |
25 #include "webrtc/rtc_base/thread_annotations.h" | |
26 #include "webrtc/system_wrappers/include/clock.h" | 26 #include "webrtc/system_wrappers/include/clock.h" |
27 #include "webrtc/video/overuse_frame_detector.h" | 27 #include "webrtc/video/overuse_frame_detector.h" |
28 #include "webrtc/video/report_block_stats.h" | 28 #include "webrtc/video/report_block_stats.h" |
29 #include "webrtc/video/stats_counter.h" | 29 #include "webrtc/video/stats_counter.h" |
30 #include "webrtc/video/vie_encoder.h" | 30 #include "webrtc/video/vie_encoder.h" |
31 #include "webrtc/video_send_stream.h" | 31 #include "webrtc/video_send_stream.h" |
32 | 32 |
33 namespace webrtc { | 33 namespace webrtc { |
34 | 34 |
35 class SendStatisticsProxy : public CpuOveruseMetricsObserver, | 35 class SendStatisticsProxy : public CpuOveruseMetricsObserver, |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 | 234 |
235 std::map<int, QpCounters> | 235 std::map<int, QpCounters> |
236 qp_counters_; // QP counters mapped by spatial idx. | 236 qp_counters_; // QP counters mapped by spatial idx. |
237 }; | 237 }; |
238 | 238 |
239 std::unique_ptr<UmaSamplesContainer> uma_container_ GUARDED_BY(crit_); | 239 std::unique_ptr<UmaSamplesContainer> uma_container_ GUARDED_BY(crit_); |
240 }; | 240 }; |
241 | 241 |
242 } // namespace webrtc | 242 } // namespace webrtc |
243 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_ | 243 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_ |
OLD | NEW |