| 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.mojom; | 5 module media.mojom; |
| 6 | 6 |
| 7 import "ui/gfx/geometry/mojo/geometry.mojom"; | 7 import "ui/gfx/geometry/mojo/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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 RGB24, | 115 RGB24, |
| 116 RGB32, | 116 RGB32, |
| 117 MJPEG, | 117 MJPEG, |
| 118 MT21, | 118 MT21, |
| 119 YUV420P9, | 119 YUV420P9, |
| 120 YUV420P10, | 120 YUV420P10, |
| 121 YUV422P9, | 121 YUV422P9, |
| 122 YUV422P10, | 122 YUV422P10, |
| 123 YUV444P9, | 123 YUV444P9, |
| 124 YUV444P10, | 124 YUV444P10, |
| 125 FORMAT_MAX = YUV444P10, | 125 Y8, |
| 126 Y16, |
| 127 FORMAT_MAX = Y16, |
| 126 }; | 128 }; |
| 127 | 129 |
| 128 // Kept in sync with media::ColorSpace via static_asserts. | 130 // Kept in sync with media::ColorSpace via static_asserts. |
| 129 enum ColorSpace { | 131 enum ColorSpace { |
| 130 UNSPECIFIED = 0, | 132 UNSPECIFIED = 0, |
| 131 JPEG = 1, | 133 JPEG = 1, |
| 132 HD_REC709 = 2, | 134 HD_REC709 = 2, |
| 133 SD_REC601 = 3, | 135 SD_REC601 = 3, |
| 134 MAX = SD_REC601, | 136 MAX = SD_REC601, |
| 135 }; | 137 }; |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 | 331 |
| 330 // Stride and offsets for each plane. Offsets are relative to the start | 332 // Stride and offsets for each plane. Offsets are relative to the start |
| 331 // of |frame_data|. | 333 // of |frame_data|. |
| 332 int32 y_stride; | 334 int32 y_stride; |
| 333 int32 u_stride; | 335 int32 u_stride; |
| 334 int32 v_stride; | 336 int32 v_stride; |
| 335 uint64 y_offset; | 337 uint64 y_offset; |
| 336 uint64 u_offset; | 338 uint64 u_offset; |
| 337 uint64 v_offset; | 339 uint64 v_offset; |
| 338 }; | 340 }; |
| OLD | NEW |