| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 YV24, | 100 YV24, |
| 101 NV12, | 101 NV12, |
| 102 NV21, | 102 NV21, |
| 103 UYVY, | 103 UYVY, |
| 104 YUY2, | 104 YUY2, |
| 105 ARGB, | 105 ARGB, |
| 106 XRGB, | 106 XRGB, |
| 107 RGB24, | 107 RGB24, |
| 108 RGB32, | 108 RGB32, |
| 109 MJPEG, | 109 MJPEG, |
| 110 FORMAT_MAX = MJPEG, | 110 MT21, |
| 111 FORMAT_MAX = MT21, |
| 111 }; | 112 }; |
| 112 | 113 |
| 113 // Kept in sync with media::ColorSpace via static_asserts. | 114 // Kept in sync with media::ColorSpace via static_asserts. |
| 114 enum ColorSpace { | 115 enum ColorSpace { |
| 115 UNSPECIFIED = 0, | 116 UNSPECIFIED = 0, |
| 116 JPEG = 1, | 117 JPEG = 1, |
| 117 HD_REC709 = 2, | 118 HD_REC709 = 2, |
| 118 SD_REC601 = 3, | 119 SD_REC601 = 3, |
| 119 MAX = SD_REC601, | 120 MAX = SD_REC601, |
| 120 }; | 121 }; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted. | 224 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted. |
| 224 DecryptConfig? decrypt_config; | 225 DecryptConfig? decrypt_config; |
| 225 | 226 |
| 226 // These fields indicate the amount of data to discard after decoding. | 227 // These fields indicate the amount of data to discard after decoding. |
| 227 int64 front_discard_usec; | 228 int64 front_discard_usec; |
| 228 int64 back_discard_usec; | 229 int64 back_discard_usec; |
| 229 | 230 |
| 230 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. | 231 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. |
| 231 int64 splice_timestamp_usec; | 232 int64 splice_timestamp_usec; |
| 232 }; | 233 }; |
| OLD | NEW |