diff options
| author | 2019-06-28 23:54:09 +0000 | |
|---|---|---|
| committer | 2019-06-28 23:54:09 +0000 | |
| commit | 6da414a8f6ed90c376fd20250779be7bb87c273d (patch) | |
| tree | 314ef9376565451a1c5b281d5563ac7b6113270f | |
| parent | f4535c8d5118edac968ac0bd3c25d1c71aebad67 (diff) | |
| parent | da189bddc242df81ad283683ef45670e80a843fb (diff) | |
Merge "Camera: Clarify manual capture behavior for logical camera" into qt-dev
| -rw-r--r-- | core/java/android/hardware/camera2/CameraMetadata.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/core/java/android/hardware/camera2/CameraMetadata.java b/core/java/android/hardware/camera2/CameraMetadata.java index 04e8cf421baa..5ac13d8a067d 100644 --- a/core/java/android/hardware/camera2/CameraMetadata.java +++ b/core/java/android/hardware/camera2/CameraMetadata.java @@ -925,14 +925,14 @@ public abstract class CameraMetadata<TKey> { * case, when the application configures a RAW stream, the camera device will make sure * the active physical camera will remain active to ensure consistent RAW output * behavior, and not switch to other physical cameras.</p> - * <p>To maintain backward compatibility, the capture request and result metadata tags - * required for basic camera functionalities will be solely based on the - * logical camera capabiltity. Other request and result metadata tags, on the other - * hand, will be based on current active physical camera. For example, the physical - * cameras' sensor sensitivity and lens capability could be different from each other. - * So when the application manually controls sensor exposure time/gain, or does manual - * focus control, it must checks the current active physical camera's exposure, gain, - * and focus distance range.</p> + * <p>The capture request and result metadata tags required for backward compatible camera + * functionalities will be solely based on the logical camera capabiltity. On the other + * hand, the use of manual capture controls (sensor or post-processing) with a + * logical camera may result in unexpected behavior when the HAL decides to switch + * between physical cameras with different characteristics under the hood. For example, + * when the application manually sets exposure time and sensitivity while zooming in, + * the brightness of the camera images may suddenly change because HAL switches from one + * physical camera to the other.</p> * * @see CameraCharacteristics#LENS_DISTORTION * @see CameraCharacteristics#LENS_INFO_FOCUS_DISTANCE_CALIBRATION |