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

Unified Diff: media/base/ipc/media_param_traits_macros.h

Issue 2606983002: Media Capture Depth Stream Extensions API: focal length and depth range. (Closed)
Patch Set: review #25 fix. Thanks kinuko@. Created 3 years, 11 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/base/ipc/media_param_traits_macros.h
diff --git a/media/base/ipc/media_param_traits_macros.h b/media/base/ipc/media_param_traits_macros.h
index fff70465757d50906f51d6f211c393203306b657..ef1c410d75f963469b0f9c4b9fb33d17c4d4b36f 100644
--- a/media/base/ipc/media_param_traits_macros.h
+++ b/media/base/ipc/media_param_traits_macros.h
@@ -22,6 +22,7 @@
#include "media/base/subsample_entry.h"
#include "media/base/video_codecs.h"
#include "media/base/video_types.h"
+#include "media/capture/video/video_capture_device_descriptor.h"
// Enum traits.
@@ -95,4 +96,11 @@ IPC_STRUCT_TRAITS_BEGIN(media::SubsampleEntry)
IPC_STRUCT_TRAITS_MEMBER(cypher_bytes)
IPC_STRUCT_TRAITS_END()
+IPC_STRUCT_TRAITS_BEGIN(media::VideoCaptureDeviceDescriptor::CameraCalibration)
+IPC_STRUCT_TRAITS_MEMBER(focal_length_x)
nasko 2017/01/11 18:41:41 nit: Please indent by two spaces to match the styl
aleksandar.stojiljkovic 2017/01/11 23:06:22 Done.
+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_BASE_IPC_MEDIA_PARAM_TRAITS_MACROS_H_

Powered by Google App Engine
This is Rietveld 408576698