Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1415)

Side by Side Diff: media/capture/ipc/capture_param_traits_macros.h

Issue 2606983002: Media Capture Depth Stream Extensions API: focal length and depth range. (Closed)
Patch Set: 80-char line fix in test html. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_
OLDNEW
« no previous file with comments | « content/test/data/media/getusermedia-depth-capture.html ('k') | media/capture/video/fake_video_capture_device_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698