| 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_OVERUSE_FRAME_DETECTOR_H_ | 11 #ifndef WEBRTC_VIDEO_OVERUSE_FRAME_DETECTOR_H_ |
| 12 #define WEBRTC_VIDEO_OVERUSE_FRAME_DETECTOR_H_ | 12 #define WEBRTC_VIDEO_OVERUSE_FRAME_DETECTOR_H_ |
| 13 | 13 |
| 14 #include <list> | 14 #include <list> |
| 15 #include <memory> | 15 #include <memory> |
| 16 | 16 |
| 17 #include "webrtc/api/optional.h" |
| 17 #include "webrtc/modules/video_coding/utility/quality_scaler.h" | 18 #include "webrtc/modules/video_coding/utility/quality_scaler.h" |
| 18 #include "webrtc/rtc_base/constructormagic.h" | 19 #include "webrtc/rtc_base/constructormagic.h" |
| 19 #include "webrtc/rtc_base/numerics/exp_filter.h" | 20 #include "webrtc/rtc_base/numerics/exp_filter.h" |
| 20 #include "webrtc/rtc_base/optional.h" | |
| 21 #include "webrtc/rtc_base/sequenced_task_checker.h" | 21 #include "webrtc/rtc_base/sequenced_task_checker.h" |
| 22 #include "webrtc/rtc_base/task_queue.h" | 22 #include "webrtc/rtc_base/task_queue.h" |
| 23 #include "webrtc/rtc_base/thread_annotations.h" | 23 #include "webrtc/rtc_base/thread_annotations.h" |
| 24 | 24 |
| 25 namespace webrtc { | 25 namespace webrtc { |
| 26 | 26 |
| 27 class EncodedFrameObserver; | 27 class EncodedFrameObserver; |
| 28 class VideoFrame; | 28 class VideoFrame; |
| 29 | 29 |
| 30 struct CpuOveruseOptions { | 30 struct CpuOveruseOptions { |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 // allocs)? | 154 // allocs)? |
| 155 const std::unique_ptr<SendProcessingUsage> usage_ GUARDED_BY(task_checker_); | 155 const std::unique_ptr<SendProcessingUsage> usage_ GUARDED_BY(task_checker_); |
| 156 std::list<FrameTiming> frame_timing_ GUARDED_BY(task_checker_); | 156 std::list<FrameTiming> frame_timing_ GUARDED_BY(task_checker_); |
| 157 | 157 |
| 158 RTC_DISALLOW_COPY_AND_ASSIGN(OveruseFrameDetector); | 158 RTC_DISALLOW_COPY_AND_ASSIGN(OveruseFrameDetector); |
| 159 }; | 159 }; |
| 160 | 160 |
| 161 } // namespace webrtc | 161 } // namespace webrtc |
| 162 | 162 |
| 163 #endif // WEBRTC_VIDEO_OVERUSE_FRAME_DETECTOR_H_ | 163 #endif // WEBRTC_VIDEO_OVERUSE_FRAME_DETECTOR_H_ |
| OLD | NEW |