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

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

Issue 1326153002: Add PIXEL_FORMAT_MT21. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 3 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/blink/video_frame_compositor.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 media.interfaces; 5 module media.interfaces;
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 YV24, 100 YV24,
101 NV12, 101 NV12,
102 NV21, 102 NV21,
103 UYVY, 103 UYVY,
104 YUY2, 104 YUY2,
105 ARGB, 105 ARGB,
106 XRGB, 106 XRGB,
107 RGB24, 107 RGB24,
108 RGB32, 108 RGB32,
109 MJPEG, 109 MJPEG,
110 FORMAT_MAX = MJPEG, 110 MT21,
111 FORMAT_MAX = MT21,
111 }; 112 };
112 113
113 // Kept in sync with media::ColorSpace via static_asserts. 114 // Kept in sync with media::ColorSpace via static_asserts.
114 enum ColorSpace { 115 enum ColorSpace {
115 UNSPECIFIED = 0, 116 UNSPECIFIED = 0,
116 JPEG = 1, 117 JPEG = 1,
117 HD_REC709 = 2, 118 HD_REC709 = 2,
118 SD_REC601 = 3, 119 SD_REC601 = 3,
119 MAX = SD_REC601, 120 MAX = SD_REC601,
120 }; 121 };
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted. 224 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted.
224 DecryptConfig? decrypt_config; 225 DecryptConfig? decrypt_config;
225 226
226 // These fields indicate the amount of data to discard after decoding. 227 // These fields indicate the amount of data to discard after decoding.
227 int64 front_discard_usec; 228 int64 front_discard_usec;
228 int64 back_discard_usec; 229 int64 back_discard_usec;
229 230
230 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. 231 // Indicates this buffer is part of a splice around |splice_timestamp_usec|.
231 int64 splice_timestamp_usec; 232 int64 splice_timestamp_usec;
232 }; 233 };
OLDNEW
« no previous file with comments | « media/blink/video_frame_compositor.cc ('k') | media/mojo/services/media_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698