OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |