| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 Max = HEVC, | 141 Max = HEVC, |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 // See media/base/video_decoder_config.h for descriptions. | 144 // See media/base/video_decoder_config.h for descriptions. |
| 145 // Kept in sync with media::VideoCodecProfile via static_asserts. | 145 // Kept in sync with media::VideoCodecProfile via static_asserts. |
| 146 enum VideoCodecProfile { | 146 enum VideoCodecProfile { |
| 147 VIDEO_CODEC_PROFILE_UNKNOWN = -1, | 147 VIDEO_CODEC_PROFILE_UNKNOWN = -1, |
| 148 VIDEO_CODEC_PROFILE_MIN = VIDEO_CODEC_PROFILE_UNKNOWN, | 148 VIDEO_CODEC_PROFILE_MIN = VIDEO_CODEC_PROFILE_UNKNOWN, |
| 149 H264PROFILE_MIN = 0, | 149 H264PROFILE_MIN = 0, |
| 150 H264PROFILE_BASELINE = H264PROFILE_MIN, | 150 H264PROFILE_BASELINE = H264PROFILE_MIN, |
| 151 H264PROFILE_MAIN = 1, | 151 H264PROFILE_MAIN, |
| 152 H264PROFILE_EXTENDED = 2, | 152 H264PROFILE_EXTENDED, |
| 153 H264PROFILE_HIGH = 3, | 153 H264PROFILE_HIGH, |
| 154 H264PROFILE_HIGH10PROFILE = 4, | 154 H264PROFILE_HIGH10PROFILE, |
| 155 H264PROFILE_HIGH422PROFILE = 5, | 155 H264PROFILE_HIGH422PROFILE, |
| 156 H264PROFILE_HIGH444PREDICTIVEPROFILE = 6, | 156 H264PROFILE_HIGH444PREDICTIVEPROFILE, |
| 157 H264PROFILE_SCALABLEBASELINE = 7, | 157 H264PROFILE_SCALABLEBASELINE, |
| 158 H264PROFILE_SCALABLEHIGH = 8, | 158 H264PROFILE_SCALABLEHIGH, |
| 159 H264PROFILE_STEREOHIGH = 9, | 159 H264PROFILE_STEREOHIGH, |
| 160 H264PROFILE_MULTIVIEWHIGH = 10, | 160 H264PROFILE_MULTIVIEWHIGH, |
| 161 H264PROFILE_MAX = H264PROFILE_MULTIVIEWHIGH, | 161 H264PROFILE_MAX = H264PROFILE_MULTIVIEWHIGH, |
| 162 VP8PROFILE_MIN = 11, | 162 VP8PROFILE_MIN, |
| 163 VP8PROFILE_ANY = VP8PROFILE_MIN, | 163 VP8PROFILE_ANY = VP8PROFILE_MIN, |
| 164 VP8PROFILE_MAX = VP8PROFILE_ANY, | 164 VP8PROFILE_MAX = VP8PROFILE_ANY, |
| 165 VP9PROFILE_MIN, | 165 VP9PROFILE_MIN, |
| 166 VP9PROFILE_PROFILE0 = VP9PROFILE_MIN, | 166 VP9PROFILE_PROFILE0 = VP9PROFILE_MIN, |
| 167 VP9PROFILE_PROFILE1, | 167 VP9PROFILE_PROFILE1, |
| 168 VP9PROFILE_PROFILE2, | 168 VP9PROFILE_PROFILE2, |
| 169 VP9PROFILE_PROFILE3, | 169 VP9PROFILE_PROFILE3, |
| 170 VP9PROFILE_MAX = VP9PROFILE_PROFILE3, | 170 VP9PROFILE_MAX = VP9PROFILE_PROFILE3, |
| 171 VIDEO_CODEC_PROFILE_MAX = VP9PROFILE_MAX, | 171 HEVCPROFILE_MIN, |
| 172 HEVCPROFILE_MAIN = HEVCPROFILE_MIN, |
| 173 HEVCPROFILE_MAIN10, |
| 174 HEVCPROFILE_MAIN_STILL_PICTURE, |
| 175 HEVCPROFILE_MAX = HEVCPROFILE_MAIN_STILL_PICTURE, |
| 176 VIDEO_CODEC_PROFILE_MAX = HEVCPROFILE_MAX, |
| 172 }; | 177 }; |
| 173 | 178 |
| 174 // See media/base/encryption_scheme.h. | 179 // See media/base/encryption_scheme.h. |
| 175 // Kept in sync with media::CipherMode via static_asserts. | 180 // Kept in sync with media::CipherMode via static_asserts. |
| 176 enum CipherMode { | 181 enum CipherMode { |
| 177 UNENCRYPTED = 0, | 182 UNENCRYPTED = 0, |
| 178 AES_CTR, | 183 AES_CTR, |
| 179 AES_CBC, | 184 AES_CBC, |
| 180 MAX = AES_CBC | 185 MAX = AES_CBC |
| 181 }; | 186 }; |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 | 322 |
| 318 // Stride and offsets for each plane. Offsets are relative to the start | 323 // Stride and offsets for each plane. Offsets are relative to the start |
| 319 // of |frame_data|. | 324 // of |frame_data|. |
| 320 int32 y_stride; | 325 int32 y_stride; |
| 321 int32 u_stride; | 326 int32 u_stride; |
| 322 int32 v_stride; | 327 int32 v_stride; |
| 323 uint64 y_offset; | 328 uint64 y_offset; |
| 324 uint64 u_offset; | 329 uint64 u_offset; |
| 325 uint64 v_offset; | 330 uint64 v_offset; |
| 326 }; | 331 }; |
| OLD | NEW |