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

Side by Side Diff: media/mojo/interfaces/media_types.mojom

Issue 1154153003: Relanding 1143663007: VideoFrame: Separate Pixel Format from Storage Type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added NV12 support in CrOS Created 5 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 | « media/filters/ffmpeg_video_decoder.cc ('k') | media/mojo/services/media_type_converters.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 module mojo; 5 module mojo;
6 6
7 import "ui/mojo/geometry/geometry.mojom"; 7 import "ui/mojo/geometry/geometry.mojom";
8 8
9 // See media/base/buffering_state.h for descriptions. 9 // See media/base/buffering_state.h for descriptions.
10 // Kept in sync with media::BufferingState via static_asserts. 10 // Kept in sync with media::BufferingState via static_asserts.
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // Kept in sync with media::VideoFrame::Format via static_asserts. 93 // Kept in sync with media::VideoFrame::Format via static_asserts.
94 enum VideoFormat { 94 enum VideoFormat {
95 UNKNOWN = 0, 95 UNKNOWN = 0,
96 YV12, 96 YV12,
97 I420, 97 I420,
98 YV16, 98 YV16,
99 YV12A, 99 YV12A,
100 YV24, 100 YV24,
101 NV12, 101 NV12,
102 ARGB, 102 ARGB,
103 HOLE, 103 XRGB,
104 NATIVE_TEXTURE, 104 FORMAT_MAX = XRGB,
105 FORMAT_MAX = NATIVE_TEXTURE,
106 }; 105 };
107 106
108 // See media/base/video_decoder_config.h for descriptions. 107 // See media/base/video_decoder_config.h for descriptions.
109 // Kept in sync with media::VideoCodec via static_asserts. 108 // Kept in sync with media::VideoCodec via static_asserts.
110 enum VideoCodec { 109 enum VideoCodec {
111 UNKNOWN = 0, 110 UNKNOWN = 0,
112 H264, 111 H264,
113 VC1, 112 VC1,
114 MPEG2, 113 MPEG2,
115 MPEG4, 114 MPEG4,
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted. 207 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted.
209 DecryptConfig? decrypt_config; 208 DecryptConfig? decrypt_config;
210 209
211 // These fields indicate the amount of data to discard after decoding. 210 // These fields indicate the amount of data to discard after decoding.
212 int64 front_discard_usec; 211 int64 front_discard_usec;
213 int64 back_discard_usec; 212 int64 back_discard_usec;
214 213
215 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. 214 // Indicates this buffer is part of a splice around |splice_timestamp_usec|.
216 int64 splice_timestamp_usec; 215 int64 splice_timestamp_usec;
217 }; 216 };
OLDNEW
« no previous file with comments | « media/filters/ffmpeg_video_decoder.cc ('k') | media/mojo/services/media_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698