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

Side by Side 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, 7 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module arc.mojom;
6
7 import "camera_metadata_tags.mojom";
8
9 enum EntryType {
10 TYPE_BYTE = 0,
11 TYPE_INT32 = 1,
12 TYPE_FLOAT = 2,
13 TYPE_INT64 = 3,
14 TYPE_DOUBLE = 4,
15 TYPE_RATIONAL = 5,
16 NUM_TYPES
17 };
18
19 struct CameraMetadataRational {
20 int32 numerator;
21 int32 denominator;
22 };
23
24 struct CameraMetadataEntry {
25 uint32 index;
26 CameraMetadataTag tag;
27 EntryType type;
28 uint32 count;
29 array<uint8> data;
30 };
31
32 struct CameraMetadata {
33 uint32 size;
34 uint32 entry_count;
35 uint32 entry_capacity;
36 uint32 data_count;
37 uint32 data_capacity;
38 array<CameraMetadataEntry>? entries;
39 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698