| 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 CCVideoLayerImpl_h | 5 #ifndef CC_VIDEO_LAYER_IMPL_H_ |
| 6 #define CCVideoLayerImpl_h | 6 #define CC_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/cc_export.h" | 10 #include "cc/cc_export.h" |
| 11 #include "cc/layer_impl.h" | 11 #include "cc/layer_impl.h" |
| 12 #include "media/base/video_frame.h" | 12 #include "media/base/video_frame.h" |
| 13 #include "third_party/khronos/GLES2/gl2.h" | 13 #include "third_party/khronos/GLES2/gl2.h" |
| 14 #include "ui/gfx/size.h" | 14 #include "ui/gfx/size.h" |
| 15 #include <public/WebTransformationMatrix.h> | 15 #include <public/WebTransformationMatrix.h> |
| 16 #include <public/WebVideoFrameProvider.h> | 16 #include <public/WebVideoFrameProvider.h> |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 bool m_convertYUV; | 92 bool m_convertYUV; |
| 93 ResourceProvider::ResourceId m_externalTextureResource; | 93 ResourceProvider::ResourceId m_externalTextureResource; |
| 94 scoped_ptr<media::SkCanvasVideoRenderer> m_videoRenderer; | 94 scoped_ptr<media::SkCanvasVideoRenderer> m_videoRenderer; |
| 95 | 95 |
| 96 // Each index in this array corresponds to a plane in media::VideoFrame. | 96 // Each index in this array corresponds to a plane in media::VideoFrame. |
| 97 FramePlane m_framePlanes[media::VideoFrame::kMaxPlanes]; | 97 FramePlane m_framePlanes[media::VideoFrame::kMaxPlanes]; |
| 98 }; | 98 }; |
| 99 | 99 |
| 100 } // namespace cc | 100 } // namespace cc |
| 101 | 101 |
| 102 #endif // CCVideoLayerImpl_h | 102 #endif // CC_VIDEO_LAYER_IMPL_H_ |
| OLD | NEW |