| 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/api/optional.h" |
| 17 #include "webrtc/call/video_receive_stream.h" | 18 #include "webrtc/call/video_receive_stream.h" |
| 18 #include "webrtc/common_types.h" | 19 #include "webrtc/common_types.h" |
| 19 #include "webrtc/common_video/include/frame_callback.h" | 20 #include "webrtc/common_video/include/frame_callback.h" |
| 20 #include "webrtc/modules/video_coding/include/video_coding_defines.h" | 21 #include "webrtc/modules/video_coding/include/video_coding_defines.h" |
| 21 #include "webrtc/rtc_base/criticalsection.h" | 22 #include "webrtc/rtc_base/criticalsection.h" |
| 22 #include "webrtc/rtc_base/moving_max_counter.h" | 23 #include "webrtc/rtc_base/moving_max_counter.h" |
| 23 #include "webrtc/rtc_base/optional.h" | |
| 24 #include "webrtc/rtc_base/rate_statistics.h" | 24 #include "webrtc/rtc_base/rate_statistics.h" |
| 25 #include "webrtc/rtc_base/ratetracker.h" | 25 #include "webrtc/rtc_base/ratetracker.h" |
| 26 #include "webrtc/rtc_base/thread_annotations.h" | 26 #include "webrtc/rtc_base/thread_annotations.h" |
| 27 #include "webrtc/video/quality_threshold.h" | 27 #include "webrtc/video/quality_threshold.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/video_stream_decoder.h" | 30 #include "webrtc/video/video_stream_decoder.h" |
| 31 | 31 |
| 32 namespace webrtc { | 32 namespace webrtc { |
| 33 | 33 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 VideoContentType last_content_type_ GUARDED_BY(&crit_); | 178 VideoContentType last_content_type_ GUARDED_BY(&crit_); |
| 179 rtc::Optional<int64_t> last_decoded_frame_time_ms_ GUARDED_BY(&crit_); | 179 rtc::Optional<int64_t> last_decoded_frame_time_ms_ GUARDED_BY(&crit_); |
| 180 // Mutable because calling Max() on MovingMaxCounter is not const. Yet it is | 180 // Mutable because calling Max() on MovingMaxCounter is not const. Yet it is |
| 181 // called from const GetStats(). | 181 // called from const GetStats(). |
| 182 mutable rtc::MovingMaxCounter<TimingFrameInfo> timing_frame_info_counter_ | 182 mutable rtc::MovingMaxCounter<TimingFrameInfo> timing_frame_info_counter_ |
| 183 GUARDED_BY(&crit_); | 183 GUARDED_BY(&crit_); |
| 184 }; | 184 }; |
| 185 | 185 |
| 186 } // namespace webrtc | 186 } // namespace webrtc |
| 187 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ | 187 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ |
| OLD | NEW |