From 13a19e11e65e4af7832e0358cda9176b4ada46b1 Mon Sep 17 00:00:00 2001 From: Shuzhen Wang Date: Wed, 8 Mar 2017 16:41:13 -0800 Subject: [PATCH] Camera: Update camera3.h doc for high speed video batching Now cameraservice only sends one shutter notify and capture result to the application per batch. Update the HAL interface doc to reflect this. Test: Compiles Bug: 35775704 Change-Id: I290ef93f842f4a02e5bdaeb0e50298f79fcef602 --- include/hardware/camera3.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/hardware/camera3.h b/include/hardware/camera3.h index a7df0eee..cce0debc 100644 --- a/include/hardware/camera3.h +++ b/include/hardware/camera3.h @@ -1479,6 +1479,13 @@ typedef enum camera3_stream_configuration_mode { * android.lens.opticalStabilizationMode (if it is supported) * android.scaler.cropRegion * android.statistics.faceDetectMode (if it is supported) + * 6. To reduce the amount of data passed across process boundaries at + * high frame rate, within one batch, camera framework only propagates + * the last shutter notify and the last capture results (including partial + * results and final result) to the app. The shutter notifies and capture + * results for the other requests in the batch are derived by + * the camera framework. As a result, the HAL can return empty metadata + * except for the last result in the batch. * * For more details about high speed stream requirements, see * android.control.availableHighSpeedVideoConfigurations and CONSTRAINED_HIGH_SPEED_VIDEO