| /* |
| * Copyright (C) 2017 The Android Open Source Project |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| package android.hardware.camera.device@3.4; |
| |
| import @3.2::StreamConfiguration; |
| import @3.2::types; |
| |
| /** |
| * StreamConfiguration: |
| * |
| * Identical to @3.2::StreamConfiguration, except that it contains session parameters. |
| */ |
| struct StreamConfiguration { |
| /** |
| * The definition of StreamConfiguration from the prior version. |
| */ |
| @3.2::StreamConfiguration v3_2; |
| |
| /** |
| * Session wide camera parameters. |
| * |
| * The session parameters contain the initial values of any request keys that were |
| * made available via ANDROID_REQUEST_AVAILABLE_SESSION_KEYS. The Hal implementation |
| * can advertise any settings that can potentially introduce unexpected delays when |
| * their value changes during active process requests. Typical examples are |
| * parameters that trigger time-consuming HW re-configurations or internal camera |
| * pipeline updates. The field is optional, clients can choose to ignore it and avoid |
| * including any initial settings. If parameters are present, then hal must examine |
| * their values and configure the internal camera pipeline accordingly. |
| */ |
| CameraMetadata sessionParams; |
| }; |