OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_FILTERS_VIDEO_CADENCE_ESTIMATOR_H_ | 5 #ifndef MEDIA_FILTERS_VIDEO_CADENCE_ESTIMATOR_H_ |
6 #define MEDIA_FILTERS_VIDEO_CADENCE_ESTIMATOR_H_ | 6 #define MEDIA_FILTERS_VIDEO_CADENCE_ESTIMATOR_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include <vector> | 11 #include <vector> |
9 | 12 |
10 #include "base/macros.h" | 13 #include "base/macros.h" |
11 #include "base/time/time.h" | 14 #include "base/time/time.h" |
12 #include "media/base/media_export.h" | 15 #include "media/base/media_export.h" |
13 | 16 |
14 namespace media { | 17 namespace media { |
15 | 18 |
16 // Estimates whether a given frame duration and render interval length have a | 19 // Estimates whether a given frame duration and render interval length have a |
17 // render cadence which would allow for optimal uniformity of displayed frame | 20 // render cadence which would allow for optimal uniformity of displayed frame |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 const base::TimeDelta minimum_time_until_max_drift_; | 159 const base::TimeDelta minimum_time_until_max_drift_; |
157 | 160 |
158 bool is_variable_frame_rate_; | 161 bool is_variable_frame_rate_; |
159 | 162 |
160 DISALLOW_COPY_AND_ASSIGN(VideoCadenceEstimator); | 163 DISALLOW_COPY_AND_ASSIGN(VideoCadenceEstimator); |
161 }; | 164 }; |
162 | 165 |
163 } // namespace media | 166 } // namespace media |
164 | 167 |
165 #endif // MEDIA_FILTERS_VIDEO_CADENCE_ESTIMATOR_H_ | 168 #endif // MEDIA_FILTERS_VIDEO_CADENCE_ESTIMATOR_H_ |
OLD | NEW |