Shuzhen Wang | 39cf8fd | 2017-12-29 16:17:09 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2018 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 | |
| 17 | package android.hardware.camera.device@3.4; |
| 18 | |
| 19 | import @3.2::ICameraDeviceCallback; |
| 20 | |
| 21 | /** |
| 22 | * |
| 23 | * Callback methods for the HAL to call into the framework. |
| 24 | * |
| 25 | * These methods are used to return metadata and image buffers for a completed |
| 26 | * or failed captures, and to notify the framework of asynchronous events such |
| 27 | * as errors. |
| 28 | * |
| 29 | * The framework must not call back into the HAL from within these callbacks, |
| 30 | * and these calls must not block for extended periods. |
| 31 | * |
| 32 | */ |
| 33 | interface ICameraDeviceCallback extends @3.2::ICameraDeviceCallback { |
| 34 | /** |
| 35 | * processCaptureResult_3_4: |
| 36 | * |
| 37 | * Identical to @3.2::ICameraDeviceCallback.processCaptureResult, except |
| 38 | * that it takes a list of @3.4::CaptureResult, which could contain |
| 39 | * physical camera metadata for logical multi-camera. |
| 40 | * |
| 41 | */ |
| 42 | processCaptureResult_3_4(vec<@3.4::CaptureResult> results); |
| 43 | }; |