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

Side by Side Diff: webrtc/modules/video_coding/frame_buffer2.h

Issue 2946413002: Report timing frames info in GetStats. (Closed)
Patch Set: rebase Created 3 years, 5 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) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 // Update the corresponding FrameInfo of |frame| and all FrameInfos that 147 // Update the corresponding FrameInfo of |frame| and all FrameInfos that
148 // |frame| references. 148 // |frame| references.
149 // Return false if |frame| will never be decodable, true otherwise. 149 // Return false if |frame| will never be decodable, true otherwise.
150 bool UpdateFrameInfoWithIncomingFrame(const FrameObject& frame, 150 bool UpdateFrameInfoWithIncomingFrame(const FrameObject& frame,
151 FrameMap::iterator info) 151 FrameMap::iterator info)
152 EXCLUSIVE_LOCKS_REQUIRED(crit_); 152 EXCLUSIVE_LOCKS_REQUIRED(crit_);
153 153
154 void UpdateJitterDelay() EXCLUSIVE_LOCKS_REQUIRED(crit_); 154 void UpdateJitterDelay() EXCLUSIVE_LOCKS_REQUIRED(crit_);
155 155
156 void UpdateTimingFrameInfo() EXCLUSIVE_LOCKS_REQUIRED(crit_);
157
156 void ClearFramesAndHistory() EXCLUSIVE_LOCKS_REQUIRED(crit_); 158 void ClearFramesAndHistory() EXCLUSIVE_LOCKS_REQUIRED(crit_);
157 159
158 bool HasBadRenderTiming(const FrameObject& frame, int64_t now_ms) 160 bool HasBadRenderTiming(const FrameObject& frame, int64_t now_ms)
159 EXCLUSIVE_LOCKS_REQUIRED(crit_); 161 EXCLUSIVE_LOCKS_REQUIRED(crit_);
160 162
161 FrameMap frames_ GUARDED_BY(crit_); 163 FrameMap frames_ GUARDED_BY(crit_);
162 164
163 rtc::CriticalSection crit_; 165 rtc::CriticalSection crit_;
164 Clock* const clock_; 166 Clock* const clock_;
165 rtc::Event new_continuous_frame_event_; 167 rtc::Event new_continuous_frame_event_;
(...skipping 10 matching lines...) Expand all
176 VCMVideoProtection protection_mode_ GUARDED_BY(crit_); 178 VCMVideoProtection protection_mode_ GUARDED_BY(crit_);
177 VCMReceiveStatisticsCallback* const stats_callback_; 179 VCMReceiveStatisticsCallback* const stats_callback_;
178 180
179 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(FrameBuffer); 181 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(FrameBuffer);
180 }; 182 };
181 183
182 } // namespace video_coding 184 } // namespace video_coding
183 } // namespace webrtc 185 } // namespace webrtc
184 186
185 #endif // WEBRTC_MODULES_VIDEO_CODING_FRAME_BUFFER2_H_ 187 #endif // WEBRTC_MODULES_VIDEO_CODING_FRAME_BUFFER2_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc ('k') | webrtc/modules/video_coding/frame_buffer2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698