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

Side by Side Diff: media/base/video_frame.h

Issue 7601002: Revert r95841 due to failing media_unittests on linux_shared bot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 | « media/base/video_decoder_config.h ('k') | media/base/video_util.h » ('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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BASE_VIDEO_FRAME_H_ 5 #ifndef MEDIA_BASE_VIDEO_FRAME_H_
6 #define MEDIA_BASE_VIDEO_FRAME_H_ 6 #define MEDIA_BASE_VIDEO_FRAME_H_
7 7
8 #include "media/base/buffers.h" 8 #include "media/base/buffers.h"
9 9
10 namespace media { 10 namespace media {
11 11
12 class MEDIA_EXPORT VideoFrame : public StreamSample { 12 class VideoFrame : public StreamSample {
13 public: 13 public:
14 static const size_t kMaxPlanes = 3; 14 static const size_t kMaxPlanes = 3;
15 15
16 static const size_t kNumRGBPlanes = 1; 16 static const size_t kNumRGBPlanes = 1;
17 static const size_t kRGBPlane = 0; 17 static const size_t kRGBPlane = 0;
18 18
19 static const size_t kNumYUVPlanes = 3; 19 static const size_t kNumYUVPlanes = 3;
20 static const size_t kNumNV12Planes = 2; 20 static const size_t kNumNV12Planes = 2;
21 static const size_t kYPlane = 0; 21 static const size_t kYPlane = 0;
22 static const size_t kUPlane = 1; 22 static const size_t kUPlane = 1;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 // Array of data pointers to each plane. 115 // Array of data pointers to each plane.
116 uint8* data_[kMaxPlanes]; 116 uint8* data_[kMaxPlanes];
117 117
118 DISALLOW_COPY_AND_ASSIGN(VideoFrame); 118 DISALLOW_COPY_AND_ASSIGN(VideoFrame);
119 }; 119 };
120 120
121 } // namespace media 121 } // namespace media
122 122
123 #endif // MEDIA_BASE_VIDEO_FRAME_H_ 123 #endif // MEDIA_BASE_VIDEO_FRAME_H_
OLDNEW
« no previous file with comments | « media/base/video_decoder_config.h ('k') | media/base/video_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698