[go: nahoru, domu]

blob: c822717c3c31fee16244e6466405d5b30704d594 [file] [log] [blame]
Emilian Peeve18057b2017-11-13 16:03:44 +00001/*
2 * Copyright (C) 2017 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.hardware.camera.device@3.4;
18
19import @3.2::StreamConfiguration;
20import @3.2::types;
21
22/**
23 * StreamConfiguration:
24 *
25 * Identical to @3.2::StreamConfiguration, except that it contains session parameters.
26 */
27struct StreamConfiguration {
28 /**
29 * The definition of StreamConfiguration from the prior version.
30 */
31 @3.2::StreamConfiguration v3_2;
32
33 /**
34 * Session wide camera parameters.
35 *
36 * The session parameters contain the initial values of any request keys that were
37 * made available via ANDROID_REQUEST_AVAILABLE_SESSION_KEYS. The Hal implementation
38 * can advertise any settings that can potentially introduce unexpected delays when
39 * their value changes during active process requests. Typical examples are
40 * parameters that trigger time-consuming HW re-configurations or internal camera
41 * pipeline updates. The field is optional, clients can choose to ignore it and avoid
42 * including any initial settings. If parameters are present, then hal must examine
43 * their values and configure the internal camera pipeline accordingly.
44 */
45 CameraMetadata sessionParams;
46};