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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: media/capture/ipc/capture_param_traits_macros.h
diff --git a/media/capture/ipc/capture_param_traits_macros.h b/media/capture/ipc/capture_param_traits_macros.h
index 1e07f8abd11882da6b71573b258c2c6197b3ca0f..9f232d33f3d4108b4a76a24060e701cbe3e295d6 100644
--- a/media/capture/ipc/capture_param_traits_macros.h
+++ b/media/capture/ipc/capture_param_traits_macros.h
@@ -6,8 +6,16 @@
#define MEDIA_CAPTURE_IPC_CAPTURE_PARAM_TRAITS_MACROS_H_
#include "ipc/ipc_message_macros.h"
+#include "media/capture/video/video_capture_device_descriptor.h"
#include "media/capture/video_capture_types.h"
IPC_ENUM_TRAITS_MAX_VALUE(media::VideoPixelStorage, media::PIXEL_STORAGE_MAX)
+IPC_STRUCT_TRAITS_BEGIN(media::VideoCaptureDeviceDescriptor::CameraCalibration)
+ IPC_STRUCT_TRAITS_MEMBER(focal_length_x)
+ IPC_STRUCT_TRAITS_MEMBER(focal_length_y)
+ IPC_STRUCT_TRAITS_MEMBER(depth_near)
+ IPC_STRUCT_TRAITS_MEMBER(depth_far)
+IPC_STRUCT_TRAITS_END()
+
#endif // MEDIA_CAPTURE_IPC_CAPTURE_PARAM_TRAITS_MACROS_H_
« 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