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 import "mojo/common/common_custom_types.mojom"; | 8 import "mojo/common/common_custom_types.mojom"; |
9 | 9 |
10 // See media/base/buffering_state.h for descriptions. | 10 // See media/base/buffering_state.h for descriptions. |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 RGB24, | 116 RGB24, |
117 RGB32, | 117 RGB32, |
118 MJPEG, | 118 MJPEG, |
119 MT21, | 119 MT21, |
120 YUV420P9, | 120 YUV420P9, |
121 YUV420P10, | 121 YUV420P10, |
122 YUV422P9, | 122 YUV422P9, |
123 YUV422P10, | 123 YUV422P10, |
124 YUV444P9, | 124 YUV444P9, |
125 YUV444P10, | 125 YUV444P10, |
126 FORMAT_MAX = YUV444P10, | 126 Y8, |
| 127 Y16, |
| 128 FORMAT_MAX = Y16, |
127 }; | 129 }; |
128 | 130 |
129 // Kept in sync with media::ColorSpace via static_asserts. | 131 // Kept in sync with media::ColorSpace via static_asserts. |
130 enum ColorSpace { | 132 enum ColorSpace { |
131 UNSPECIFIED = 0, | 133 UNSPECIFIED = 0, |
132 JPEG = 1, | 134 JPEG = 1, |
133 HD_REC709 = 2, | 135 HD_REC709 = 2, |
134 SD_REC601 = 3, | 136 SD_REC601 = 3, |
135 MAX = SD_REC601, | 137 MAX = SD_REC601, |
136 }; | 138 }; |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 }; | 341 }; |
340 | 342 |
341 struct PipelineStatistics { | 343 struct PipelineStatistics { |
342 uint64 audio_bytes_decoded; | 344 uint64 audio_bytes_decoded; |
343 uint64 video_bytes_decoded; | 345 uint64 video_bytes_decoded; |
344 uint32 video_frames_decoded; | 346 uint32 video_frames_decoded; |
345 uint32 video_frames_dropped; | 347 uint32 video_frames_dropped; |
346 int64 audio_memory_usage; | 348 int64 audio_memory_usage; |
347 int64 video_memory_usage; | 349 int64 video_memory_usage; |
348 }; | 350 }; |
OLD | NEW |