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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 VP8PROFILE_MIN = 11, |
163 VP8PROFILE_ANY = VP8PROFILE_MIN, | 163 VP8PROFILE_ANY = VP8PROFILE_MIN, |
164 VP8PROFILE_MAX = VP8PROFILE_ANY, | 164 VP8PROFILE_MAX = VP8PROFILE_ANY, |
165 VP9PROFILE_MIN = 12, | 165 VP9PROFILE_MIN, |
166 VP9PROFILE_ANY = VP9PROFILE_MIN, | 166 VP9PROFILE_PROFILE0 = VP9PROFILE_MIN, |
167 VP9PROFILE_MAX = VP9PROFILE_ANY, | 167 VP9PROFILE_PROFILE1, |
| 168 VP9PROFILE_PROFILE2, |
| 169 VP9PROFILE_PROFILE3, |
| 170 VP9PROFILE_MAX = VP9PROFILE_PROFILE3, |
168 VIDEO_CODEC_PROFILE_MAX = VP9PROFILE_MAX, | 171 VIDEO_CODEC_PROFILE_MAX = VP9PROFILE_MAX, |
169 }; | 172 }; |
170 | 173 |
171 // See media/base/encryption_scheme.h. | 174 // See media/base/encryption_scheme.h. |
172 // Kept in sync with media::CipherMode via static_asserts. | 175 // Kept in sync with media::CipherMode via static_asserts. |
173 enum CipherMode { | 176 enum CipherMode { |
174 UNENCRYPTED = 0, | 177 UNENCRYPTED = 0, |
175 AES_CTR, | 178 AES_CTR, |
176 AES_CBC, | 179 AES_CBC, |
177 MAX = AES_CBC | 180 MAX = AES_CBC |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 | 317 |
315 // Stride and offsets for each plane. Offsets are relative to the start | 318 // Stride and offsets for each plane. Offsets are relative to the start |
316 // of |frame_data|. | 319 // of |frame_data|. |
317 int32 y_stride; | 320 int32 y_stride; |
318 int32 u_stride; | 321 int32 u_stride; |
319 int32 v_stride; | 322 int32 v_stride; |
320 uint64 y_offset; | 323 uint64 y_offset; |
321 uint64 u_offset; | 324 uint64 u_offset; |
322 uint64 v_offset; | 325 uint64 v_offset; |
323 }; | 326 }; |
OLD | NEW |