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

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

Issue 12902002: Remove WebVideoFrame, WebVideoFrameProvider, and WebVideoLayer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Just removing code Created 7 years, 8 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
OLDNEW
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_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 "base/callback.h" 8 #include "base/callback.h"
9 #include "base/md5.h" 9 #include "base/md5.h"
10 #include "media/base/buffers.h" 10 #include "media/base/buffers.h"
(...skipping 16 matching lines...) Expand all
27 kRGBPlane = 0, 27 kRGBPlane = 0,
28 28
29 kYPlane = 0, 29 kYPlane = 0,
30 kUPlane = 1, 30 kUPlane = 1,
31 kVPlane = 2, 31 kVPlane = 2,
32 }; 32 };
33 33
34 // Surface formats roughly based on FOURCC labels, see: 34 // Surface formats roughly based on FOURCC labels, see:
35 // http://www.fourcc.org/rgb.php 35 // http://www.fourcc.org/rgb.php
36 // http://www.fourcc.org/yuv.php 36 // http://www.fourcc.org/yuv.php
37 // Keep in sync with WebKit::WebVideoFrame!
38 enum Format { 37 enum Format {
39 INVALID = 0, // Invalid format value. Used for error reporting. 38 INVALID = 0, // Invalid format value. Used for error reporting.
40 RGB32 = 4, // 32bpp RGB packed with extra byte 8:8:8 39 RGB32 = 4, // 32bpp RGB packed with extra byte 8:8:8
41 YV12 = 6, // 12bpp YVU planar 1x1 Y, 2x2 VU samples 40 YV12 = 6, // 12bpp YVU planar 1x1 Y, 2x2 VU samples
42 YV16 = 7, // 16bpp YVU planar 1x1 Y, 2x1 VU samples 41 YV16 = 7, // 16bpp YVU planar 1x1 Y, 2x1 VU samples
43 EMPTY = 9, // An empty frame. 42 EMPTY = 9, // An empty frame.
44 I420 = 11, // 12bpp YVU planar 1x1 Y, 2x2 UV samples. 43 I420 = 11, // 12bpp YVU planar 1x1 Y, 2x2 UV samples.
45 NATIVE_TEXTURE = 12, // Native texture. Pixel-format agnostic. 44 NATIVE_TEXTURE = 12, // Native texture. Pixel-format agnostic.
46 #if defined(GOOGLE_TV) 45 #if defined(GOOGLE_TV)
47 HOLE = 13, // Hole frame. 46 HOLE = 13, // Hole frame.
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 base::Closure no_longer_needed_cb_; 220 base::Closure no_longer_needed_cb_;
222 221
223 base::TimeDelta timestamp_; 222 base::TimeDelta timestamp_;
224 223
225 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoFrame); 224 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoFrame);
226 }; 225 };
227 226
228 } // namespace media 227 } // namespace media
229 228
230 #endif // MEDIA_BASE_VIDEO_FRAME_H_ 229 #endif // MEDIA_BASE_VIDEO_FRAME_H_
OLDNEW
« no previous file with comments | « content/renderer/media/stream_texture_factory_impl_android.cc ('k') | webkit/compositor_bindings/compositor_bindings.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698