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