Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: webrtc/video/receive_statistics_proxy.h

Issue 1720883002: Move RTCP histograms from vie_channel to video channel stats proxies. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 int sum; 87 int sum;
88 int num_samples; 88 int num_samples;
89 }; 89 };
90 struct QpCounters { 90 struct QpCounters {
91 SampleCounter vp8; 91 SampleCounter vp8;
92 }; 92 };
93 93
94 void UpdateHistograms() EXCLUSIVE_LOCKS_REQUIRED(crit_); 94 void UpdateHistograms() EXCLUSIVE_LOCKS_REQUIRED(crit_);
95 95
96 Clock* const clock_; 96 Clock* const clock_;
97 const int64_t start_time_ms_;
97 98
98 rtc::CriticalSection crit_; 99 rtc::CriticalSection crit_;
99 VideoReceiveStream::Stats stats_ GUARDED_BY(crit_); 100 VideoReceiveStream::Stats stats_ GUARDED_BY(crit_);
100 RateStatistics decode_fps_estimator_ GUARDED_BY(crit_); 101 RateStatistics decode_fps_estimator_ GUARDED_BY(crit_);
101 RateStatistics renders_fps_estimator_ GUARDED_BY(crit_); 102 RateStatistics renders_fps_estimator_ GUARDED_BY(crit_);
102 rtc::RateTracker render_fps_tracker_ GUARDED_BY(crit_); 103 rtc::RateTracker render_fps_tracker_ GUARDED_BY(crit_);
103 rtc::RateTracker render_pixel_tracker_ GUARDED_BY(crit_); 104 rtc::RateTracker render_pixel_tracker_ GUARDED_BY(crit_);
104 SampleCounter render_width_counter_ GUARDED_BY(crit_); 105 SampleCounter render_width_counter_ GUARDED_BY(crit_);
105 SampleCounter render_height_counter_ GUARDED_BY(crit_); 106 SampleCounter render_height_counter_ GUARDED_BY(crit_);
106 SampleCounter decode_time_counter_ GUARDED_BY(crit_); 107 SampleCounter decode_time_counter_ GUARDED_BY(crit_);
107 SampleCounter delay_counter_ GUARDED_BY(crit_); 108 SampleCounter delay_counter_ GUARDED_BY(crit_);
108 ReportBlockStats report_block_stats_ GUARDED_BY(crit_); 109 ReportBlockStats report_block_stats_ GUARDED_BY(crit_);
109 QpCounters qp_counters_; // Only accessed on the decoding thread. 110 QpCounters qp_counters_; // Only accessed on the decoding thread.
110 }; 111 };
111 112
112 } // namespace webrtc 113 } // namespace webrtc
113 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ 114 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698