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_RENDERER_ALGORITHM_H_ | 5 #ifndef MEDIA_FILTERS_VIDEO_RENDERER_ALGORITHM_H_ |
6 #define MEDIA_FILTERS_VIDEO_RENDERER_ALGORITHM_H_ | 6 #define MEDIA_FILTERS_VIDEO_RENDERER_ALGORITHM_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/time/time.h" | 13 #include "base/time/time.h" |
13 #include "media/base/media_export.h" | 14 #include "media/base/media_export.h" |
14 #include "media/base/moving_average.h" | 15 #include "media/base/moving_average.h" |
15 #include "media/base/video_frame.h" | 16 #include "media/base/video_frame.h" |
16 #include "media/base/video_renderer.h" | 17 #include "media/base/video_renderer.h" |
17 #include "media/filters/video_cadence_estimator.h" | 18 #include "media/filters/video_cadence_estimator.h" |
18 | 19 |
19 namespace media { | 20 namespace media { |
20 | 21 |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 // UpdateFrameStatistics() during Render() or externally by | 315 // UpdateFrameStatistics() during Render() or externally by |
315 // set_time_stopped(). | 316 // set_time_stopped(). |
316 bool was_time_moving_; | 317 bool was_time_moving_; |
317 | 318 |
318 DISALLOW_COPY_AND_ASSIGN(VideoRendererAlgorithm); | 319 DISALLOW_COPY_AND_ASSIGN(VideoRendererAlgorithm); |
319 }; | 320 }; |
320 | 321 |
321 } // namespace media | 322 } // namespace media |
322 | 323 |
323 #endif // MEDIA_FILTERS_VIDEO_RENDERER_ALGORITHM_H_ | 324 #endif // MEDIA_FILTERS_VIDEO_RENDERER_ALGORITHM_H_ |
OLD | NEW |