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

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

Issue 809883004: Revert hardware decoder changes causing ChromeOS HW test crash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/skcanvas_video_renderer.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 "mojo/services/geometry/public/interfaces/geometry.mojom"; 7 import "mojo/services/geometry/public/interfaces/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 UNKNOWN = 0, 93 UNKNOWN = 0,
94 YV12, 94 YV12,
95 YV16, 95 YV16,
96 I420, 96 I420,
97 YV12A, 97 YV12A,
98 HOLE, 98 HOLE,
99 NATIVE_TEXTURE, 99 NATIVE_TEXTURE,
100 YV12J, 100 YV12J,
101 NV12, 101 NV12,
102 YV24, 102 YV24,
103 ARGB, 103 FORMAT_MAX = YV24,
104 FORMAT_MAX = ARGB,
105 }; 104 };
106 105
107 // See media/base/video_decoder_config.h for descriptions. 106 // See media/base/video_decoder_config.h for descriptions.
108 // Kept in sync with media::VideoCodec via static_asserts. 107 // Kept in sync with media::VideoCodec via static_asserts.
109 enum VideoCodec { 108 enum VideoCodec {
110 UNKNOWN = 0, 109 UNKNOWN = 0,
111 H264, 110 H264,
112 VC1, 111 VC1,
113 MPEG2, 112 MPEG2,
114 MPEG4, 113 MPEG4,
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted. 206 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted.
208 DecryptConfig? decrypt_config; 207 DecryptConfig? decrypt_config;
209 208
210 // These fields indicate the amount of data to discard after decoding. 209 // These fields indicate the amount of data to discard after decoding.
211 int64 front_discard_usec; 210 int64 front_discard_usec;
212 int64 back_discard_usec; 211 int64 back_discard_usec;
213 212
214 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. 213 // Indicates this buffer is part of a splice around |splice_timestamp_usec|.
215 int64 splice_timestamp_usec; 214 int64 splice_timestamp_usec;
216 }; 215 };
OLDNEW
« no previous file with comments | « media/filters/skcanvas_video_renderer.cc ('k') | media/mojo/services/media_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698