OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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_MODULES_VIDEO_CODING_JITTER_ESTIMATOR_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_JITTER_ESTIMATOR_H_ |
12 #define WEBRTC_MODULES_VIDEO_CODING_JITTER_ESTIMATOR_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_JITTER_ESTIMATOR_H_ |
13 | 13 |
14 #include "webrtc/base/rollingaccumulator.h" | |
15 #include "webrtc/modules/video_coding/rtt_filter.h" | 14 #include "webrtc/modules/video_coding/rtt_filter.h" |
| 15 #include "webrtc/rtc_base/rollingaccumulator.h" |
16 #include "webrtc/typedefs.h" | 16 #include "webrtc/typedefs.h" |
17 | 17 |
18 namespace webrtc { | 18 namespace webrtc { |
19 | 19 |
20 class Clock; | 20 class Clock; |
21 | 21 |
22 class VCMJitterEstimator { | 22 class VCMJitterEstimator { |
23 public: | 23 public: |
24 VCMJitterEstimator(const Clock* clock, | 24 VCMJitterEstimator(const Clock* clock, |
25 int32_t vcmId = 0, | 25 int32_t vcmId = 0, |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 | 161 |
162 rtc::RollingAccumulator<uint64_t> fps_counter_; | 162 rtc::RollingAccumulator<uint64_t> fps_counter_; |
163 enum ExperimentFlag { kInit, kEnabled, kDisabled }; | 163 enum ExperimentFlag { kInit, kEnabled, kDisabled }; |
164 ExperimentFlag low_rate_experiment_; | 164 ExperimentFlag low_rate_experiment_; |
165 const Clock* clock_; | 165 const Clock* clock_; |
166 }; | 166 }; |
167 | 167 |
168 } // namespace webrtc | 168 } // namespace webrtc |
169 | 169 |
170 #endif // WEBRTC_MODULES_VIDEO_CODING_JITTER_ESTIMATOR_H_ | 170 #endif // WEBRTC_MODULES_VIDEO_CODING_JITTER_ESTIMATOR_H_ |
OLD | NEW |