Chromium Code Reviews| 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 10 matching lines...) Expand all Loading... | |
| 21 | 21 |
| 22 // See media/base/channel_layout.h for descriptions. | 22 // See media/base/channel_layout.h for descriptions. |
| 23 [Native] | 23 [Native] |
| 24 enum ChannelLayout; | 24 enum ChannelLayout; |
| 25 | 25 |
| 26 // See media/base/sample_format.h for descriptions. | 26 // See media/base/sample_format.h for descriptions. |
| 27 [Native] | 27 [Native] |
| 28 enum SampleFormat; | 28 enum SampleFormat; |
| 29 | 29 |
| 30 // See media/base/video_types.h for descriptions. | 30 // See media/base/video_types.h for descriptions. |
| 31 [Native] | 31 enum VideoPixelFormat { |
|
xhwang
2016/10/27 04:57:09
OOC, why are you making this change?
chfremer
2016/10/27 17:15:44
My goal was to be able to use EnumTraits<> for typ
xhwang
2016/10/27 17:22:37
IPC::ParamTraits is the current recommended/allowe
chfremer
2016/10/27 20:32:18
I figured out the issue I had. I forgot to add #in
| |
| 32 enum VideoPixelFormat; | 32 UNKNOWN, |
| 33 I420, | |
| 34 YV12, | |
| 35 YV16, | |
| 36 YV12A, | |
| 37 YV24, | |
| 38 NV12, | |
| 39 NV21, | |
| 40 UYVY, | |
| 41 YUY2, | |
| 42 ARGB, | |
| 43 XRGB, | |
| 44 RGB24, | |
| 45 RGB32, | |
| 46 MJPEG, | |
| 47 MT21, | |
| 48 YUV420P9, | |
| 49 YUV420P10, | |
| 50 YUV422P9, | |
| 51 YUV422P10, | |
| 52 YUV444P9, | |
| 53 YUV444P10, | |
| 54 YUV420P12, | |
| 55 YUV422P12, | |
| 56 YUV444P12, | |
| 57 Y8, | |
| 58 Y16, | |
| 59 }; | |
| 33 | 60 |
| 34 // See media/base/video_types.h for descriptions. | 61 // See media/base/video_types.h for descriptions. |
| 35 [Native] | 62 [Native] |
| 36 enum ColorSpace; | 63 enum ColorSpace; |
| 37 | 64 |
| 38 // See media/base/video_codecs.h for descriptions. | 65 // See media/base/video_codecs.h for descriptions. |
| 39 [Native] | 66 [Native] |
| 40 enum VideoCodec; | 67 enum VideoCodec; |
| 41 | 68 |
| 42 // See media/base/video_codecs.h for descriptions. | 69 // See media/base/video_codecs.h for descriptions. |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 187 }; | 214 }; |
| 188 | 215 |
| 189 struct PipelineStatistics { | 216 struct PipelineStatistics { |
| 190 uint64 audio_bytes_decoded; | 217 uint64 audio_bytes_decoded; |
| 191 uint64 video_bytes_decoded; | 218 uint64 video_bytes_decoded; |
| 192 uint32 video_frames_decoded; | 219 uint32 video_frames_decoded; |
| 193 uint32 video_frames_dropped; | 220 uint32 video_frames_dropped; |
| 194 int64 audio_memory_usage; | 221 int64 audio_memory_usage; |
| 195 int64 video_memory_usage; | 222 int64 video_memory_usage; |
| 196 }; | 223 }; |
| OLD | NEW |