diff options
author | 2015-04-13 20:01:32 +0000 | |
---|---|---|
committer | 2015-04-13 20:01:43 +0000 | |
commit | 7d43893bb998cb0909e021a9968ad3097246e43e (patch) | |
tree | ddb6cb117f5d5adf6405ed6ec031ef883600dfe9 | |
parent | f518a3ab70acf70d2f7d3ef3d1f6effd09b224df (diff) | |
parent | 7e3e431934aef6c7ca954fed00facaff8a4ee1d3 (diff) |
Merge "Camera: update AE/AWB lock spec"
-rw-r--r-- | core/java/android/hardware/camera2/CameraCharacteristics.java | 6 | ||||
-rw-r--r-- | core/java/android/hardware/camera2/CameraMetadata.java | 18 |
2 files changed, 21 insertions, 3 deletions
diff --git a/core/java/android/hardware/camera2/CameraCharacteristics.java b/core/java/android/hardware/camera2/CameraCharacteristics.java index f01c5406ad0b..8f7aed4f5919 100644 --- a/core/java/android/hardware/camera2/CameraCharacteristics.java +++ b/core/java/android/hardware/camera2/CameraCharacteristics.java @@ -639,7 +639,8 @@ public final class CameraCharacteristics extends CameraMetadata<CameraCharacteri /** * <p>Whether the camera device supports {@link CaptureRequest#CONTROL_AE_LOCK android.control.aeLock}</p> - * <p>LIMITED or FULL devices will always list <code>true</code></p> + * <p>Devices with MANUAL_SENSOR capability or BURST_CAPTURE capability will always + * list <code>true</code>. This includes FULL devices.</p> * <p>This key is available on all devices.</p> * * @see CaptureRequest#CONTROL_AE_LOCK @@ -650,7 +651,8 @@ public final class CameraCharacteristics extends CameraMetadata<CameraCharacteri /** * <p>Whether the camera device supports {@link CaptureRequest#CONTROL_AWB_LOCK android.control.awbLock}</p> - * <p>LIMITED or FULL devices will always list <code>true</code></p> + * <p>Devices with MANUAL_POST_PROCESSING capability or BURST_CAPTURE capability will + * always list <code>true</code>. This includes FULL devices.</p> * <p>This key is available on all devices.</p> * * @see CaptureRequest#CONTROL_AWB_LOCK diff --git a/core/java/android/hardware/camera2/CameraMetadata.java b/core/java/android/hardware/camera2/CameraMetadata.java index 2192ab74f5e8..4a5bd08372b6 100644 --- a/core/java/android/hardware/camera2/CameraMetadata.java +++ b/core/java/android/hardware/camera2/CameraMetadata.java @@ -347,6 +347,10 @@ public abstract class CameraMetadata<TKey> { * <li>{@link CaptureRequest#BLACK_LEVEL_LOCK android.blackLevel.lock}</li> * </ul> * </li> + * <li>Auto exposure lock<ul> + * <li>{@link CaptureRequest#CONTROL_AE_LOCK android.control.aeLock}</li> + * </ul> + * </li> * </ul> * <p>If any of the above 3A algorithms are enabled, then the camera * device will accurately report the values applied by 3A in the @@ -358,6 +362,7 @@ public abstract class CameraMetadata<TKey> { * zero for each supported size-format combination.</p> * * @see CaptureRequest#BLACK_LEVEL_LOCK + * @see CaptureRequest#CONTROL_AE_LOCK * @see CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP * @see CaptureRequest#SENSOR_EXPOSURE_TIME * @see CaptureRequest#SENSOR_FRAME_DURATION @@ -403,6 +408,10 @@ public abstract class CameraMetadata<TKey> { * <li>{@link CameraCharacteristics#COLOR_CORRECTION_AVAILABLE_ABERRATION_MODES android.colorCorrection.availableAberrationModes}</li> * </ul> * </li> + * <li>Auto white balance lock<ul> + * <li>{@link CaptureRequest#CONTROL_AWB_LOCK android.control.awbLock}</li> + * </ul> + * </li> * </ul> * <p>If auto white balance is enabled, then the camera device * will accurately report the values applied by AWB in the result.</p> @@ -413,6 +422,7 @@ public abstract class CameraMetadata<TKey> { * @see CameraCharacteristics#COLOR_CORRECTION_AVAILABLE_ABERRATION_MODES * @see CaptureRequest#COLOR_CORRECTION_GAINS * @see CaptureRequest#COLOR_CORRECTION_TRANSFORM + * @see CaptureRequest#CONTROL_AWB_LOCK * @see CaptureRequest#SHADING_MODE * @see CaptureRequest#STATISTICS_LENS_SHADING_MAP_MODE * @see CaptureRequest#TONEMAP_CURVE @@ -530,9 +540,15 @@ public abstract class CameraMetadata<TKey> { * YUV_420_888 format.</p> * </blockquote> * <p>In addition, the {@link CameraCharacteristics#SYNC_MAX_LATENCY android.sync.maxLatency} field is - * guaranted to have a value between 0 and 4, inclusive.</p> + * guaranted to have a value between 0 and 4, inclusive. + * {@link CameraCharacteristics#CONTROL_AE_LOCK_AVAILABLE android.control.aeLockAvailable} and + * {@link CameraCharacteristics#CONTROL_AWB_LOCK_AVAILABLE android.control.awbLockAvailable} are also guaranteed + * to be <code>true</code> so burst capture with these two locks ON + * yields consistent image output.</p> * * @see CameraCharacteristics#CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES + * @see CameraCharacteristics#CONTROL_AE_LOCK_AVAILABLE + * @see CameraCharacteristics#CONTROL_AWB_LOCK_AVAILABLE * @see CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP * @see CameraCharacteristics#SYNC_MAX_LATENCY * @see CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES |