OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef MEDIA_CAPTURE_IPC_CAPTURE_PARAM_TRAITS_MACROS_H_ | 5 #ifndef MEDIA_CAPTURE_IPC_CAPTURE_PARAM_TRAITS_MACROS_H_ |
6 #define MEDIA_CAPTURE_IPC_CAPTURE_PARAM_TRAITS_MACROS_H_ | 6 #define MEDIA_CAPTURE_IPC_CAPTURE_PARAM_TRAITS_MACROS_H_ |
7 | 7 |
8 #include "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
| 9 #include "media/capture/video/video_capture_device_descriptor.h" |
9 #include "media/capture/video_capture_types.h" | 10 #include "media/capture/video_capture_types.h" |
10 | 11 |
11 IPC_ENUM_TRAITS_MAX_VALUE(media::VideoPixelStorage, media::PIXEL_STORAGE_MAX) | 12 IPC_ENUM_TRAITS_MAX_VALUE(media::VideoPixelStorage, media::PIXEL_STORAGE_MAX) |
12 | 13 |
| 14 IPC_STRUCT_TRAITS_BEGIN(media::VideoCaptureDeviceDescriptor::CameraCalibration) |
| 15 IPC_STRUCT_TRAITS_MEMBER(focal_length_x) |
| 16 IPC_STRUCT_TRAITS_MEMBER(focal_length_y) |
| 17 IPC_STRUCT_TRAITS_MEMBER(depth_near) |
| 18 IPC_STRUCT_TRAITS_MEMBER(depth_far) |
| 19 IPC_STRUCT_TRAITS_END() |
| 20 |
13 #endif // MEDIA_CAPTURE_IPC_CAPTURE_PARAM_TRAITS_MACROS_H_ | 21 #endif // MEDIA_CAPTURE_IPC_CAPTURE_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |