| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 ARGB, | 103 ARGB, |
| 104 FORMAT_MAX = ARGB, | 104 YV12HD, |
| 105 FORMAT_MAX = YV12HD, |
| 105 }; | 106 }; |
| 106 | 107 |
| 107 // See media/base/video_decoder_config.h for descriptions. | 108 // See media/base/video_decoder_config.h for descriptions. |
| 108 // Kept in sync with media::VideoCodec via static_asserts. | 109 // Kept in sync with media::VideoCodec via static_asserts. |
| 109 enum VideoCodec { | 110 enum VideoCodec { |
| 110 UNKNOWN = 0, | 111 UNKNOWN = 0, |
| 111 H264, | 112 H264, |
| 112 VC1, | 113 VC1, |
| 113 MPEG2, | 114 MPEG2, |
| 114 MPEG4, | 115 MPEG4, |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted. | 208 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted. |
| 208 DecryptConfig? decrypt_config; | 209 DecryptConfig? decrypt_config; |
| 209 | 210 |
| 210 // These fields indicate the amount of data to discard after decoding. | 211 // These fields indicate the amount of data to discard after decoding. |
| 211 int64 front_discard_usec; | 212 int64 front_discard_usec; |
| 212 int64 back_discard_usec; | 213 int64 back_discard_usec; |
| 213 | 214 |
| 214 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. | 215 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. |
| 215 int64 splice_timestamp_usec; | 216 int64 splice_timestamp_usec; |
| 216 }; | 217 }; |
| OLD | NEW |