From 03d36e2f74cdd6e0a9a0489419ab735b3d025324 Mon Sep 17 00:00:00 2001 From: Shuzhen Wang Date: Tue, 13 Feb 2018 17:34:59 -0800 Subject: [PATCH] Camera2: Update logical multi-camera requirement - Require timestamp source of logical and physical cameras to be the same. - Clarify requirement for guaranteed raw stream combinations. Test: Compile Bug: 64691172 Change-Id: Ibb82b0028e1626e6e95ba19424216fbe7bcb3204 --- .../android/hardware/camera2/CameraMetadata.java | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/core/java/android/hardware/camera2/CameraMetadata.java b/core/java/android/hardware/camera2/CameraMetadata.java index 732f6a519781e..e558b7e29a205 100644 --- a/core/java/android/hardware/camera2/CameraMetadata.java +++ b/core/java/android/hardware/camera2/CameraMetadata.java @@ -829,19 +829,24 @@ public abstract class CameraMetadata { *
  • {@link CameraCharacteristics#LENS_RADIAL_DISTORTION android.lens.radialDistortion}
  • * * + *
  • The SENSOR_INFO_TIMESTAMP_SOURCE of the logical device and physical devices must be + * the same.
  • *
  • The logical camera device must be LIMITED or higher device.
  • * *

    Both the logical camera device and its underlying physical devices support the * mandatory stream combinations required for their device levels.

    *

    Additionally, for each guaranteed stream combination, the logical camera supports:

    * *

    Using physical streams in place of a logical stream of the same size and format will * not slow down the frame rate of the capture, as long as the minimum frame duration