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

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

Issue 2849006: Chromoting unit test: Adding DecoderVerbatimTest (Closed)
Patch Set: add file Created 10 years, 6 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
« no previous file with comments | « no previous file | media/base/video_frame.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 {
(...skipping 16 matching lines...) Expand all
27 enum Format { 27 enum Format {
28 INVALID, // Invalid format value. Used for error reporting. 28 INVALID, // Invalid format value. Used for error reporting.
29 RGB555, // 16bpp RGB packed 5:5:5 29 RGB555, // 16bpp RGB packed 5:5:5
30 RGB565, // 16bpp RGB packed 5:6:5 30 RGB565, // 16bpp RGB packed 5:6:5
31 RGB24, // 24bpp RGB packed 8:8:8 31 RGB24, // 24bpp RGB packed 8:8:8
32 RGB32, // 32bpp RGB packed with extra byte 8:8:8 32 RGB32, // 32bpp RGB packed with extra byte 8:8:8
33 RGBA, // 32bpp RGBA packed 8:8:8:8 33 RGBA, // 32bpp RGBA packed 8:8:8:8
34 YV12, // 12bpp YVU planar 1x1 Y, 2x2 VU samples 34 YV12, // 12bpp YVU planar 1x1 Y, 2x2 VU samples
35 YV16, // 16bpp YVU planar 1x1 Y, 2x1 VU samples 35 YV16, // 16bpp YVU planar 1x1 Y, 2x1 VU samples
36 EMPTY, // An empty frame. 36 EMPTY, // An empty frame.
37 ASCII, // A frame with ASCII content. For testing only.
37 }; 38 };
38 39
39 enum BufferType { 40 enum BufferType {
40 TYPE_SYSTEM_MEMORY, 41 TYPE_SYSTEM_MEMORY,
41 TYPE_OMX_BUFFER_HEAD, 42 TYPE_OMX_BUFFER_HEAD,
42 TYPE_EGL_IMAGE, 43 TYPE_EGL_IMAGE,
43 }; 44 };
44 45
45 public: 46 public:
46 // Creates a new frame with given parameters. Buffers for the frame are 47 // Creates a new frame with given parameters. Buffers for the frame are
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 146
146 // Private buffer pointer, can be used for EGLImage. 147 // Private buffer pointer, can be used for EGLImage.
147 void* private_buffer_; 148 void* private_buffer_;
148 149
149 DISALLOW_COPY_AND_ASSIGN(VideoFrame); 150 DISALLOW_COPY_AND_ASSIGN(VideoFrame);
150 }; 151 };
151 152
152 } // namespace media 153 } // namespace media
153 154
154 #endif // MEDIA_BASE_VIDEO_FRAME_H_ 155 #endif // MEDIA_BASE_VIDEO_FRAME_H_
OLDNEW
« no previous file with comments | « no previous file | media/base/video_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698