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 <string> | 14 #include <string> |
15 | 15 |
16 #include "webrtc/base/criticalsection.h" | 16 #include "webrtc/base/criticalsection.h" |
| 17 #include "webrtc/base/exp_filter.h" |
17 #include "webrtc/base/ratetracker.h" | 18 #include "webrtc/base/ratetracker.h" |
18 #include "webrtc/base/thread_annotations.h" | 19 #include "webrtc/base/thread_annotations.h" |
19 #include "webrtc/common_types.h" | 20 #include "webrtc/common_types.h" |
20 #include "webrtc/frame_callback.h" | 21 #include "webrtc/frame_callback.h" |
21 #include "webrtc/modules/remote_bitrate_estimator/rate_statistics.h" | 22 #include "webrtc/modules/remote_bitrate_estimator/rate_statistics.h" |
22 #include "webrtc/modules/video_coding/main/interface/video_coding_defines.h" | 23 #include "webrtc/modules/video_coding/main/interface/video_coding_defines.h" |
23 #include "webrtc/video_engine/report_block_stats.h" | 24 #include "webrtc/video_engine/report_block_stats.h" |
24 #include "webrtc/video_engine/vie_channel.h" | 25 #include "webrtc/video_engine/vie_channel.h" |
25 #include "webrtc/video_receive_stream.h" | 26 #include "webrtc/video_receive_stream.h" |
26 #include "webrtc/video_renderer.h" | 27 #include "webrtc/video_renderer.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 RateStatistics decode_fps_estimator_ GUARDED_BY(crit_); | 100 RateStatistics decode_fps_estimator_ GUARDED_BY(crit_); |
100 RateStatistics renders_fps_estimator_ GUARDED_BY(crit_); | 101 RateStatistics renders_fps_estimator_ GUARDED_BY(crit_); |
101 rtc::RateTracker render_fps_tracker_ GUARDED_BY(crit_); | 102 rtc::RateTracker render_fps_tracker_ GUARDED_BY(crit_); |
102 rtc::RateTracker render_pixel_tracker_ GUARDED_BY(crit_); | 103 rtc::RateTracker render_pixel_tracker_ GUARDED_BY(crit_); |
103 SampleCounter render_width_counter_ GUARDED_BY(crit_); | 104 SampleCounter render_width_counter_ GUARDED_BY(crit_); |
104 SampleCounter render_height_counter_ GUARDED_BY(crit_); | 105 SampleCounter render_height_counter_ GUARDED_BY(crit_); |
105 SampleCounter decode_time_counter_ GUARDED_BY(crit_); | 106 SampleCounter decode_time_counter_ GUARDED_BY(crit_); |
106 SampleCounter delay_counter_ GUARDED_BY(crit_); | 107 SampleCounter delay_counter_ GUARDED_BY(crit_); |
107 ReportBlockStats report_block_stats_ GUARDED_BY(crit_); | 108 ReportBlockStats report_block_stats_ GUARDED_BY(crit_); |
108 QpCounters qp_counters_; // Only accessed on the decoding thread. | 109 QpCounters qp_counters_; // Only accessed on the decoding thread. |
| 110 rtc::ExpFilter qp_; // Only accessed on the decoding thread. |
109 }; | 111 }; |
110 | 112 |
111 } // namespace webrtc | 113 } // namespace webrtc |
112 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ | 114 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ |
OLD | NEW |