OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CC_VIDEO_LAYER_IMPL_H_ | 5 #ifndef CC_LAYERS_VIDEO_LAYER_IMPL_H_ |
6 #define CC_VIDEO_LAYER_IMPL_H_ | 6 #define CC_LAYERS_VIDEO_LAYER_IMPL_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/synchronization/lock.h" | 9 #include "base/synchronization/lock.h" |
10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
11 #include "cc/layer_impl.h" | 11 #include "cc/layers/layer_impl.h" |
12 #include "cc/video_frame_provider.h" | 12 #include "cc/layers/video_frame_provider.h" |
13 #include "media/base/video_frame.h" | 13 #include "media/base/video_frame.h" |
14 #include "third_party/khronos/GLES2/gl2.h" | 14 #include "third_party/khronos/GLES2/gl2.h" |
15 #include "ui/gfx/size.h" | 15 #include "ui/gfx/size.h" |
16 #include "ui/gfx/transform.h" | 16 #include "ui/gfx/transform.h" |
17 | 17 |
18 namespace media { | 18 namespace media { |
19 class SkCanvasVideoRenderer; | 19 class SkCanvasVideoRenderer; |
20 } | 20 } |
21 | 21 |
22 namespace cc { | 22 namespace cc { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 scoped_ptr<media::SkCanvasVideoRenderer> video_renderer_; | 78 scoped_ptr<media::SkCanvasVideoRenderer> video_renderer_; |
79 | 79 |
80 // Each index in this array corresponds to a plane in media::VideoFrame. | 80 // Each index in this array corresponds to a plane in media::VideoFrame. |
81 FramePlane frame_planes_[media::VideoFrame::kMaxPlanes]; | 81 FramePlane frame_planes_[media::VideoFrame::kMaxPlanes]; |
82 | 82 |
83 DISALLOW_COPY_AND_ASSIGN(VideoLayerImpl); | 83 DISALLOW_COPY_AND_ASSIGN(VideoLayerImpl); |
84 }; | 84 }; |
85 | 85 |
86 } // namespace cc | 86 } // namespace cc |
87 | 87 |
88 #endif // CC_VIDEO_LAYER_IMPL_H_ | 88 #endif // CC_LAYERS_VIDEO_LAYER_IMPL_H_ |
OLD | NEW |