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

Unified Diff: media/capture/video/chromeos/mojo/arc_camera3_metadata.mojom

Issue 2837273004: media: add video capture device for ARC++ camera HAL v3 (Closed)
Patch Set: WIP: media: add video capture device for ARC++ camera HAL v3 Created 3 years, 8 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/video/chromeos/mojo/arc_camera3_metadata.mojom
diff --git a/media/capture/video/chromeos/mojo/arc_camera3_metadata.mojom b/media/capture/video/chromeos/mojo/arc_camera3_metadata.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..f1216063e433a176db6ffcbf8c75da910126efce
--- /dev/null
+++ b/media/capture/video/chromeos/mojo/arc_camera3_metadata.mojom
@@ -0,0 +1,39 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module arc.mojom;
+
+import "camera_metadata_tags.mojom";
+
+enum EntryType {
+ TYPE_BYTE = 0,
+ TYPE_INT32 = 1,
+ TYPE_FLOAT = 2,
+ TYPE_INT64 = 3,
+ TYPE_DOUBLE = 4,
+ TYPE_RATIONAL = 5,
+ NUM_TYPES
+};
+
+struct CameraMetadataRational {
+ int32 numerator;
+ int32 denominator;
+};
+
+struct CameraMetadataEntry {
+ uint32 index;
+ CameraMetadataTag tag;
+ EntryType type;
+ uint32 count;
+ array<uint8> data;
+};
+
+struct CameraMetadata {
+ uint32 size;
+ uint32 entry_count;
+ uint32 entry_capacity;
+ uint32 data_count;
+ uint32 data_capacity;
+ array<CameraMetadataEntry>? entries;
+};

Powered by Google App Engine
This is Rietveld 408576698