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

Side by Side Diff: media/capture/video/chromeos/mojo/arc_camera3_metadata.mojom

Issue 2936373002: Revert of media: add video capture device for ARC++ camera HAL v3 (Closed)
Patch Set: Created 3 years, 6 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 // CameraMetadataEntry is a translation of the camera_metadata_entry_t in
20 // Android camera HAL v3 API (https://goo.gl/OC8sOH). A CameraMetadataEntry
21 // holds the values of one type of metadata specified by |tag|.
22 struct CameraMetadataEntry {
23 uint32 index;
24 CameraMetadataTag tag;
25 EntryType type;
26 uint32 count; // The number of data entries as |type| in |data|.
27 array<uint8> data;
28 };
29
30 // CameraMetadata is a translation of the camera_metadata struct in Android
31 // camera HAL v3 API (https://goo.gl/G7ligz). A CameraMetadata holds a
32 // collection of metadata tags and their values.
33 struct CameraMetadata {
34 uint32 size;
35 uint32 entry_count;
36 uint32 entry_capacity;
37 uint32 data_count;
38 uint32 data_capacity;
39 array<CameraMetadataEntry>? entries;
40 };
OLDNEW
« no previous file with comments | « media/capture/video/chromeos/mojo/arc_camera3.mojom ('k') | media/capture/video/chromeos/mojo/camera_metadata_tags.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698