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/public/interfaces/geometry/geometry.mojom"; | 7 import "mojo/services/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 COMPILE_ASSERTs. | 10 // Kept in sync with media::BufferingState via COMPILE_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 COMPILE_ASSERTs. | 17 // Kept in sync with media::AudioCodec via COMPILE_ASSERTs. |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted. | 205 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted. |
206 DecryptConfig? decrypt_config; | 206 DecryptConfig? decrypt_config; |
207 | 207 |
208 // These fields indicate the amount of data to discard after decoding. | 208 // These fields indicate the amount of data to discard after decoding. |
209 int64 front_discard_usec; | 209 int64 front_discard_usec; |
210 int64 back_discard_usec; | 210 int64 back_discard_usec; |
211 | 211 |
212 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. | 212 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. |
213 int64 splice_timestamp_usec; | 213 int64 splice_timestamp_usec; |
214 }; | 214 }; |
OLD | NEW |