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 mojo; | 5 module mojo; |
6 | 6 |
7 import "mojo/services/geometry/public/interfaces/geometry.mojom"; | 7 import "third_party/mojo_services/src/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. |
11 enum BufferingState { | 11 enum BufferingState { |
12 HAVE_NOTHING, | 12 HAVE_NOTHING, |
13 HAVE_ENOUGH, | 13 HAVE_ENOUGH, |
14 }; | 14 }; |
15 | 15 |
16 // See media/base/audio_decoder_config.h for descriptions. | 16 // See media/base/audio_decoder_config.h for descriptions. |
17 // Kept in sync with media::AudioCodec via static_asserts. | 17 // Kept in sync with media::AudioCodec via static_asserts. |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted. | 210 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted. |
211 DecryptConfig? decrypt_config; | 211 DecryptConfig? decrypt_config; |
212 | 212 |
213 // These fields indicate the amount of data to discard after decoding. | 213 // These fields indicate the amount of data to discard after decoding. |
214 int64 front_discard_usec; | 214 int64 front_discard_usec; |
215 int64 back_discard_usec; | 215 int64 back_discard_usec; |
216 | 216 |
217 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. | 217 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. |
218 int64 splice_timestamp_usec; | 218 int64 splice_timestamp_usec; |
219 }; | 219 }; |
OLD | NEW |