Chromium Code Reviews| Index: media/mojo/interfaces/media_types.mojom |
| diff --git a/media/mojo/interfaces/media_types.mojom b/media/mojo/interfaces/media_types.mojom |
| index e9b679699b79dcfab73a787bcbe121091a0281fe..0daea9d5f8c70c6ef62f328be82439cf55f0311f 100644 |
| --- a/media/mojo/interfaces/media_types.mojom |
| +++ b/media/mojo/interfaces/media_types.mojom |
| @@ -28,8 +28,35 @@ enum ChannelLayout; |
| enum SampleFormat; |
| // See media/base/video_types.h for descriptions. |
| -[Native] |
| -enum VideoPixelFormat; |
| +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
|
| + UNKNOWN, |
| + I420, |
| + YV12, |
| + YV16, |
| + YV12A, |
| + YV24, |
| + NV12, |
| + NV21, |
| + UYVY, |
| + YUY2, |
| + ARGB, |
| + XRGB, |
| + RGB24, |
| + RGB32, |
| + MJPEG, |
| + MT21, |
| + YUV420P9, |
| + YUV420P10, |
| + YUV422P9, |
| + YUV422P10, |
| + YUV444P9, |
| + YUV444P10, |
| + YUV420P12, |
| + YUV422P12, |
| + YUV444P12, |
| + Y8, |
| + Y16, |
| +}; |
| // See media/base/video_types.h for descriptions. |
| [Native] |