OLD | NEW |
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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 H264PROFILE_EXTENDED = 2, | 152 H264PROFILE_EXTENDED = 2, |
153 H264PROFILE_HIGH = 3, | 153 H264PROFILE_HIGH = 3, |
154 H264PROFILE_HIGH10PROFILE = 4, | 154 H264PROFILE_HIGH10PROFILE = 4, |
155 H264PROFILE_HIGH422PROFILE = 5, | 155 H264PROFILE_HIGH422PROFILE = 5, |
156 H264PROFILE_HIGH444PREDICTIVEPROFILE = 6, | 156 H264PROFILE_HIGH444PREDICTIVEPROFILE = 6, |
157 H264PROFILE_SCALABLEBASELINE = 7, | 157 H264PROFILE_SCALABLEBASELINE = 7, |
158 H264PROFILE_SCALABLEHIGH = 8, | 158 H264PROFILE_SCALABLEHIGH = 8, |
159 H264PROFILE_STEREOHIGH = 9, | 159 H264PROFILE_STEREOHIGH = 9, |
160 H264PROFILE_MULTIVIEWHIGH = 10, | 160 H264PROFILE_MULTIVIEWHIGH = 10, |
161 H264PROFILE_MAX = H264PROFILE_MULTIVIEWHIGH, | 161 H264PROFILE_MAX = H264PROFILE_MULTIVIEWHIGH, |
162 VP8PROFILE_MIN = 11, | 162 HEVCPROFILE_MIN = 11, |
| 163 HEVCPROFILE_MAIN = HEVCPROFILE_MIN, |
| 164 HEVCPROFILE_MAIN10 = 12, |
| 165 HEVCPROFILE_MAIN_STILL_PICTURE = 13, |
| 166 HEVCPROFILE_MAX = HEVCPROFILE_MAIN_STILL_PICTURE, |
| 167 VP8PROFILE_MIN = 14, |
163 VP8PROFILE_ANY = VP8PROFILE_MIN, | 168 VP8PROFILE_ANY = VP8PROFILE_MIN, |
164 VP8PROFILE_MAX = VP8PROFILE_ANY, | 169 VP8PROFILE_MAX = VP8PROFILE_ANY, |
165 VP9PROFILE_MIN = 12, | 170 VP9PROFILE_MIN = 15, |
166 VP9PROFILE_ANY = VP9PROFILE_MIN, | 171 VP9PROFILE_ANY = VP9PROFILE_MIN, |
167 VP9PROFILE_MAX = VP9PROFILE_ANY, | 172 VP9PROFILE_MAX = VP9PROFILE_ANY, |
168 VIDEO_CODEC_PROFILE_MAX = VP9PROFILE_MAX, | 173 VIDEO_CODEC_PROFILE_MAX = VP9PROFILE_MAX, |
169 }; | 174 }; |
170 | 175 |
171 // This defines a mojo transport format for media::AudioDecoderConfig. | 176 // This defines a mojo transport format for media::AudioDecoderConfig. |
172 // See media/base/audio_decoder_config.h for descriptions. | 177 // See media/base/audio_decoder_config.h for descriptions. |
173 struct AudioDecoderConfig { | 178 struct AudioDecoderConfig { |
174 AudioCodec codec; | 179 AudioCodec codec; |
175 SampleFormat sample_format; | 180 SampleFormat sample_format; |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 bool end_of_stream; | 290 bool end_of_stream; |
286 | 291 |
287 // Timestamp in microseconds of the associated frame. | 292 // Timestamp in microseconds of the associated frame. |
288 int64 timestamp_usec; | 293 int64 timestamp_usec; |
289 | 294 |
290 // Frame data for each plane. Will be null for EOS buffers. | 295 // Frame data for each plane. Will be null for EOS buffers. |
291 array<uint8>? y_data; | 296 array<uint8>? y_data; |
292 array<uint8>? u_data; | 297 array<uint8>? u_data; |
293 array<uint8>? v_data; | 298 array<uint8>? v_data; |
294 }; | 299 }; |
OLD | NEW |