From 4d641386b33e7323fe8c44d4fc538049736ee4ee Mon Sep 17 00:00:00 2001 From: Shuzhen Wang Date: Wed, 26 Jun 2019 14:46:02 -0700 Subject: [PATCH] Camera: Clarify manual capture behavior for logical camera Test: Build and read docs Bug: 136098496 Change-Id: I2d62c383798b86c3fa4f7bcb9d55cd990a6d1718 --- .../ndk/include/camera/NdkCameraMetadataTags.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/camera/ndk/include/camera/NdkCameraMetadataTags.h b/camera/ndk/include/camera/NdkCameraMetadataTags.h index 7cd832afbb..8dd6e00e49 100644 --- a/camera/ndk/include/camera/NdkCameraMetadataTags.h +++ b/camera/ndk/include/camera/NdkCameraMetadataTags.h @@ -7689,14 +7689,14 @@ typedef enum acamera_metadata_enum_acamera_request_available_capabilities { * 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.

- *

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.

+ *

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.

* * @see ACAMERA_LENS_DISTORTION * @see ACAMERA_LENS_INFO_FOCUS_DISTANCE_CALIBRATION @@ -8330,7 +8330,7 @@ typedef enum acamera_metadata_enum_acamera_info_supported_hardware_level { * fire the flash for flash power metering during precapture, and then fire the flash * for the final capture, if a flash is available on the device and the AE mode is set to * enable the flash.

- *

Devices that initially shipped with Android version Q or newer will not include any LEGACY-level devices.

+ *

Devices that initially shipped with Android version Q or newer will not include any LEGACY-level devices.

* * @see ACAMERA_CONTROL_AE_PRECAPTURE_TRIGGER * @see ACAMERA_REQUEST_AVAILABLE_CAPABILITIES