| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERERS_SKCANVAS_VIDEO_RENDERER_H_ | 5 #ifndef MEDIA_RENDERERS_SKCANVAS_VIDEO_RENDERER_H_ |
| 6 #define MEDIA_RENDERERS_SKCANVAS_VIDEO_RENDERER_H_ | 6 #define MEDIA_RENDERERS_SKCANVAS_VIDEO_RENDERER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
| 14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
| 15 #include "base/timer/timer.h" | 15 #include "base/timer/timer.h" |
| 16 #include "media/base/media_export.h" | 16 #include "media/base/media_export.h" |
| 17 #include "media/base/timestamp_constants.h" | 17 #include "media/base/timestamp_constants.h" |
| 18 #include "media/base/video_frame.h" | 18 #include "media/base/video_frame.h" |
| 19 #include "media/base/video_rotation.h" | 19 #include "media/base/video_rotation.h" |
| 20 #include "media/filters/context_3d.h" | 20 #include "media/filters/context_3d.h" |
| 21 #include "third_party/skia/include/core/SkImage.h" | 21 #include "third_party/skia/include/core/SkImage.h" |
| 22 #include "third_party/skia/include/core/SkRefCnt.h" | 22 #include "third_party/skia/include/core/SkRefCnt.h" |
| 23 #include "third_party/skia/include/core/SkXfermode.h" | |
| 24 | 23 |
| 25 class SkCanvas; | 24 class SkCanvas; |
| 26 | 25 |
| 27 namespace gfx { | 26 namespace gfx { |
| 28 class RectF; | 27 class RectF; |
| 29 } | 28 } |
| 30 | 29 |
| 31 namespace media { | 30 namespace media { |
| 32 class VideoImageGenerator; | 31 class VideoImageGenerator; |
| 33 | 32 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 120 |
| 122 // Used for unit test. | 121 // Used for unit test. |
| 123 SkISize last_image_dimensions_for_testing_; | 122 SkISize last_image_dimensions_for_testing_; |
| 124 | 123 |
| 125 DISALLOW_COPY_AND_ASSIGN(SkCanvasVideoRenderer); | 124 DISALLOW_COPY_AND_ASSIGN(SkCanvasVideoRenderer); |
| 126 }; | 125 }; |
| 127 | 126 |
| 128 } // namespace media | 127 } // namespace media |
| 129 | 128 |
| 130 #endif // MEDIA_RENDERERS_SKCANVAS_VIDEO_RENDERER_H_ | 129 #endif // MEDIA_RENDERERS_SKCANVAS_VIDEO_RENDERER_H_ |
| OLD | NEW |