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 |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 // TODO(asapersson): Can these be regular members (avoid separate heap | 171 // TODO(asapersson): Can these be regular members (avoid separate heap |
172 // allocs)? | 172 // allocs)? |
173 const rtc::scoped_ptr<EncodeTimeAvg> encode_time_ GUARDED_BY(crit_); | 173 const rtc::scoped_ptr<EncodeTimeAvg> encode_time_ GUARDED_BY(crit_); |
174 const rtc::scoped_ptr<SendProcessingUsage> usage_ GUARDED_BY(crit_); | 174 const rtc::scoped_ptr<SendProcessingUsage> usage_ GUARDED_BY(crit_); |
175 const rtc::scoped_ptr<FrameQueue> frame_queue_ GUARDED_BY(crit_); | 175 const rtc::scoped_ptr<FrameQueue> frame_queue_ GUARDED_BY(crit_); |
176 | 176 |
177 int64_t last_sample_time_ms_; // Only accessed by one thread. | 177 int64_t last_sample_time_ms_; // Only accessed by one thread. |
178 | 178 |
179 rtc::ThreadChecker processing_thread_; | 179 rtc::ThreadChecker processing_thread_; |
180 | 180 |
181 DISALLOW_COPY_AND_ASSIGN(OveruseFrameDetector); | 181 RTC_DISALLOW_COPY_AND_ASSIGN(OveruseFrameDetector); |
182 }; | 182 }; |
183 | 183 |
184 } // namespace webrtc | 184 } // namespace webrtc |
185 | 185 |
186 #endif // WEBRTC_VIDEO_ENGINE_OVERUSE_FRAME_DETECTOR_H_ | 186 #endif // WEBRTC_VIDEO_ENGINE_OVERUSE_FRAME_DETECTOR_H_ |
OLD | NEW |