| 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 "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 static_asserts. | 10 // Kept in sync with media::BufferingState via static_asserts. |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 UNKNOWN = 0, | 93 UNKNOWN = 0, |
| 94 YV12, | 94 YV12, |
| 95 YV16, | 95 YV16, |
| 96 I420, | 96 I420, |
| 97 YV12A, | 97 YV12A, |
| 98 HOLE, | 98 HOLE, |
| 99 NATIVE_TEXTURE, | 99 NATIVE_TEXTURE, |
| 100 YV12J, | 100 YV12J, |
| 101 NV12, | 101 NV12, |
| 102 YV24, | 102 YV24, |
| 103 FORMAT_MAX = YV24, | 103 ARGB, |
| 104 FORMAT_MAX = ARGB, |
| 104 }; | 105 }; |
| 105 | 106 |
| 106 // See media/base/video_decoder_config.h for descriptions. | 107 // See media/base/video_decoder_config.h for descriptions. |
| 107 // Kept in sync with media::VideoCodec via static_asserts. | 108 // Kept in sync with media::VideoCodec via static_asserts. |
| 108 enum VideoCodec { | 109 enum VideoCodec { |
| 109 UNKNOWN = 0, | 110 UNKNOWN = 0, |
| 110 H264, | 111 H264, |
| 111 VC1, | 112 VC1, |
| 112 MPEG2, | 113 MPEG2, |
| 113 MPEG4, | 114 MPEG4, |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted. | 207 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted. |
| 207 DecryptConfig? decrypt_config; | 208 DecryptConfig? decrypt_config; |
| 208 | 209 |
| 209 // These fields indicate the amount of data to discard after decoding. | 210 // These fields indicate the amount of data to discard after decoding. |
| 210 int64 front_discard_usec; | 211 int64 front_discard_usec; |
| 211 int64 back_discard_usec; | 212 int64 back_discard_usec; |
| 212 | 213 |
| 213 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. | 214 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. |
| 214 int64 splice_timestamp_usec; | 215 int64 splice_timestamp_usec; |
| 215 }; | 216 }; |
| OLD | NEW |