| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 11 #include "media/base/media_export.h" | 12 #include "media/base/media_export.h" |
| 12 | 13 |
| 13 namespace media { | 14 namespace media { |
| 14 | 15 |
| 15 // Estimates whether a given frame duration and render interval length have a | 16 // Estimates whether a given frame duration and render interval length have a |
| 16 // render cadence which would allow for optimal uniformity of displayed frame | 17 // render cadence which would allow for optimal uniformity of displayed frame |
| 17 // durations over time. | 18 // durations over time. |
| 18 // | 19 // |
| 19 // Cadence is the ideal repeating frame pattern for a group of frames; currently | 20 // Cadence is the ideal repeating frame pattern for a group of frames; currently |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 const base::TimeDelta minimum_time_until_max_drift_; | 156 const base::TimeDelta minimum_time_until_max_drift_; |
| 156 | 157 |
| 157 bool is_variable_frame_rate_; | 158 bool is_variable_frame_rate_; |
| 158 | 159 |
| 159 DISALLOW_COPY_AND_ASSIGN(VideoCadenceEstimator); | 160 DISALLOW_COPY_AND_ASSIGN(VideoCadenceEstimator); |
| 160 }; | 161 }; |
| 161 | 162 |
| 162 } // namespace media | 163 } // namespace media |
| 163 | 164 |
| 164 #endif // MEDIA_FILTERS_VIDEO_CADENCE_ESTIMATOR_H_ | 165 #endif // MEDIA_FILTERS_VIDEO_CADENCE_ESTIMATOR_H_ |
| OLD | NEW |