| 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 H264PROFILE_HIGH444PREDICTIVEPROFILE, | 156 H264PROFILE_HIGH444PREDICTIVEPROFILE, |
| 157 H264PROFILE_SCALABLEBASELINE, | 157 H264PROFILE_SCALABLEBASELINE, |
| 158 H264PROFILE_SCALABLEHIGH, | 158 H264PROFILE_SCALABLEHIGH, |
| 159 H264PROFILE_STEREOHIGH, | 159 H264PROFILE_STEREOHIGH, |
| 160 H264PROFILE_MULTIVIEWHIGH, | 160 H264PROFILE_MULTIVIEWHIGH, |
| 161 H264PROFILE_MAX = H264PROFILE_MULTIVIEWHIGH, | 161 H264PROFILE_MAX = H264PROFILE_MULTIVIEWHIGH, |
| 162 VP8PROFILE_MIN, | 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_ANY = VP9PROFILE_MIN, | 166 VP9PROFILE_PROFILE0 = VP9PROFILE_MIN, |
| 167 VP9PROFILE_MAX = VP9PROFILE_ANY, | 167 VP9PROFILE_PROFILE1, |
| 168 // 4 profile values are reserved for VP9 profiles. | 168 VP9PROFILE_PROFILE2, |
| 169 HEVCPROFILE_MIN = 16, | 169 VP9PROFILE_PROFILE3, |
| 170 VP9PROFILE_MAX = VP9PROFILE_PROFILE3, |
| 171 HEVCPROFILE_MIN, |
| 170 HEVCPROFILE_MAIN = HEVCPROFILE_MIN, | 172 HEVCPROFILE_MAIN = HEVCPROFILE_MIN, |
| 171 HEVCPROFILE_MAIN10, | 173 HEVCPROFILE_MAIN10, |
| 172 HEVCPROFILE_MAIN_STILL_PICTURE, | 174 HEVCPROFILE_MAIN_STILL_PICTURE, |
| 173 HEVCPROFILE_MAX = HEVCPROFILE_MAIN_STILL_PICTURE, | 175 HEVCPROFILE_MAX = HEVCPROFILE_MAIN_STILL_PICTURE, |
| 174 VIDEO_CODEC_PROFILE_MAX = HEVCPROFILE_MAX, | 176 VIDEO_CODEC_PROFILE_MAX = HEVCPROFILE_MAX, |
| 175 }; | 177 }; |
| 176 | 178 |
| 177 // This defines a mojo transport format for media::AudioDecoderConfig. | 179 // This defines a mojo transport format for media::AudioDecoderConfig. |
| 178 // See media/base/audio_decoder_config.h for descriptions. | 180 // See media/base/audio_decoder_config.h for descriptions. |
| 179 struct AudioDecoderConfig { | 181 struct AudioDecoderConfig { |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 bool end_of_stream; | 293 bool end_of_stream; |
| 292 | 294 |
| 293 // Timestamp in microseconds of the associated frame. | 295 // Timestamp in microseconds of the associated frame. |
| 294 int64 timestamp_usec; | 296 int64 timestamp_usec; |
| 295 | 297 |
| 296 // Frame data for each plane. Will be null for EOS buffers. | 298 // Frame data for each plane. Will be null for EOS buffers. |
| 297 array<uint8>? y_data; | 299 array<uint8>? y_data; |
| 298 array<uint8>? u_data; | 300 array<uint8>? u_data; |
| 299 array<uint8>? v_data; | 301 array<uint8>? v_data; |
| 300 }; | 302 }; |
| OLD | NEW |