| 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 YUV420P12, |
| 127 YUV422P12, |
| 128 YUV444P12, |
| 129 FORMAT_MAX = YUV444P12, |
| 127 }; | 130 }; |
| 128 | 131 |
| 129 // Kept in sync with media::ColorSpace via static_asserts. | 132 // Kept in sync with media::ColorSpace via static_asserts. |
| 130 enum ColorSpace { | 133 enum ColorSpace { |
| 131 UNSPECIFIED = 0, | 134 UNSPECIFIED = 0, |
| 132 JPEG = 1, | 135 JPEG = 1, |
| 133 HD_REC709 = 2, | 136 HD_REC709 = 2, |
| 134 SD_REC601 = 3, | 137 SD_REC601 = 3, |
| 135 MAX = SD_REC601, | 138 MAX = SD_REC601, |
| 136 }; | 139 }; |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 }; | 342 }; |
| 340 | 343 |
| 341 struct PipelineStatistics { | 344 struct PipelineStatistics { |
| 342 uint64 audio_bytes_decoded; | 345 uint64 audio_bytes_decoded; |
| 343 uint64 video_bytes_decoded; | 346 uint64 video_bytes_decoded; |
| 344 uint32 video_frames_decoded; | 347 uint32 video_frames_decoded; |
| 345 uint32 video_frames_dropped; | 348 uint32 video_frames_dropped; |
| 346 int64 audio_memory_usage; | 349 int64 audio_memory_usage; |
| 347 int64 video_memory_usage; | 350 int64 video_memory_usage; |
| 348 }; | 351 }; |
| OLD | NEW |