Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(524)

Side by Side Diff: cc/yuv_video_draw_quad.h

Issue 11145033: cc: Get rid of CC*.h temporary header files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased - fixed the conflicts hopefuly Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/video_layer_impl.cc ('k') | cc/yuv_video_draw_quad.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CCYUVVideoDrawQuad_h 5 #ifndef CCYUVVideoDrawQuad_h
6 #define CCYUVVideoDrawQuad_h 6 #define CCYUVVideoDrawQuad_h
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "CCDrawQuad.h" 10 #include "CCDrawQuad.h"
11 #include "CCVideoLayerImpl.h" 11 #include "cc/video_layer_impl.h"
12 12
13 namespace cc { 13 namespace cc {
14 14
15 class CCYUVVideoDrawQuad : public CCDrawQuad { 15 class CCYUVVideoDrawQuad : public CCDrawQuad {
16 public: 16 public:
17 static scoped_ptr<CCYUVVideoDrawQuad> create(const CCSharedQuadState*, const IntRect&, const CCVideoLayerImpl::FramePlane& yPlane, const CCVideoLayerImpl::F ramePlane& uPlane, const CCVideoLayerImpl::FramePlane& vPlane); 17 static scoped_ptr<CCYUVVideoDrawQuad> create(const CCSharedQuadState*, const IntRect&, const CCVideoLayerImpl::FramePlane& yPlane, const CCVideoLayerImpl::F ramePlane& uPlane, const CCVideoLayerImpl::FramePlane& vPlane);
18 18
19 const CCVideoLayerImpl::FramePlane& yPlane() const { return m_yPlane; } 19 const CCVideoLayerImpl::FramePlane& yPlane() const { return m_yPlane; }
20 const CCVideoLayerImpl::FramePlane& uPlane() const { return m_uPlane; } 20 const CCVideoLayerImpl::FramePlane& uPlane() const { return m_uPlane; }
21 const CCVideoLayerImpl::FramePlane& vPlane() const { return m_vPlane; } 21 const CCVideoLayerImpl::FramePlane& vPlane() const { return m_vPlane; }
22 22
23 static const CCYUVVideoDrawQuad* materialCast(const CCDrawQuad*); 23 static const CCYUVVideoDrawQuad* materialCast(const CCDrawQuad*);
24 private: 24 private:
25 CCYUVVideoDrawQuad(const CCSharedQuadState*, const IntRect&, const CCVideoLa yerImpl::FramePlane& yPlane, const CCVideoLayerImpl::FramePlane& uPlane, const C CVideoLayerImpl::FramePlane& vPlane); 25 CCYUVVideoDrawQuad(const CCSharedQuadState*, const IntRect&, const CCVideoLa yerImpl::FramePlane& yPlane, const CCVideoLayerImpl::FramePlane& uPlane, const C CVideoLayerImpl::FramePlane& vPlane);
26 26
27 CCVideoLayerImpl::FramePlane m_yPlane; 27 CCVideoLayerImpl::FramePlane m_yPlane;
28 CCVideoLayerImpl::FramePlane m_uPlane; 28 CCVideoLayerImpl::FramePlane m_uPlane;
29 CCVideoLayerImpl::FramePlane m_vPlane; 29 CCVideoLayerImpl::FramePlane m_vPlane;
30 30
31 DISALLOW_COPY_AND_ASSIGN(CCYUVVideoDrawQuad); 31 DISALLOW_COPY_AND_ASSIGN(CCYUVVideoDrawQuad);
32 }; 32 };
33 33
34 } 34 }
35 35
36 #endif 36 #endif
OLDNEW
« no previous file with comments | « cc/video_layer_impl.cc ('k') | cc/yuv_video_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698