From 8d709f3d5381795cdad942f64b9441d54e48d774 Mon Sep 17 00:00:00 2001 From: Eino-Ville Talvala Date: Mon, 17 Nov 2014 11:28:38 -0800 Subject: Camera: Add one more requirement to BURST_CAPTURE To enable full-AUTO bursts, also need to ensure a fast enough AE target FPS range is available. Bug: 18281970 Change-Id: I73f7747dfe16380a2cd277a56a002ecc1279154e --- core/java/android/hardware/camera2/CameraMetadata.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'core/java') diff --git a/core/java/android/hardware/camera2/CameraMetadata.java b/core/java/android/hardware/camera2/CameraMetadata.java index 271fc30..895ae04 100644 --- a/core/java/android/hardware/camera2/CameraMetadata.java +++ b/core/java/android/hardware/camera2/CameraMetadata.java @@ -490,12 +490,16 @@ public abstract class CameraMetadata { *

More specifically, this means that a size matching the * camera device's active array size is listed as a * supported size for the YUV_420_888 format in - * {@link CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP android.scaler.streamConfigurationMap}, and the - * minimum frame duration for that format and size is <= - * 1/20 s.

+ * {@link CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP android.scaler.streamConfigurationMap}, the minimum frame + * duration for that format and size is <= 1/20 s, and + * the {@link CameraCharacteristics#CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES android.control.aeAvailableTargetFpsRanges} entry + * lists at least one FPS range where the minimum FPS + * is >= 1 / minimumFrameDuration for the maximum-size + * YUV_420_888 format.

*

In addition, the {@link CameraCharacteristics#SYNC_MAX_LATENCY android.sync.maxLatency} field is * guaranted to have a value between 0 and 4, inclusive.

* + * @see CameraCharacteristics#CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES * @see CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP * @see CameraCharacteristics#SYNC_MAX_LATENCY * @see CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES -- cgit v1.1