From d537ce04fb9abba855e19d393d343165ea09ffbe Mon Sep 17 00:00:00 2001 From: Jayant Chowdhary Date: Fri, 24 Jul 2020 17:11:57 -0700 Subject: [PATCH] Update mandatory concurrent stream docs to specify support for lower resolutions. Bug: 162110784 Test: make doc-comment-check-docs Change-Id: I8a2677df320f8f496b185fd80234f04dd9eed97f Signed-off-by: Jayant Chowdhary --- core/java/android/hardware/camera2/CameraDevice.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/java/android/hardware/camera2/CameraDevice.java b/core/java/android/hardware/camera2/CameraDevice.java index 15625cdeb8f4a..decf05396c1fe 100644 --- a/core/java/android/hardware/camera2/CameraDevice.java +++ b/core/java/android/hardware/camera2/CameraDevice.java @@ -683,6 +683,8 @@ public abstract class CameraDevice implements AutoCloseable { *

BACKWARD_COMPATIBLE devices capable of streaming concurrently with other devices as described by * {@link android.hardware.camera2.CameraManager#getConcurrentCameraIds} have the * following guaranteed streams (when streaming concurrently with other devices)

+ *

Note: The sizes mentioned for these concurrent streams are the maximum sizes guaranteed + * to be supported. Sizes smaller than these, obtained by {@link StreamConfigurationMap#getOutputSizes} for a particular format, are supported as well.

* * * @@ -696,7 +698,7 @@ public abstract class CameraDevice implements AutoCloseable { *
Concurrent stream guaranteed configurations

*

* - *

Devices which are not backwards-compatible, support a mandatory single stream of size sVGA with image format {@code DEPTH16} during concurrent operation. + *

Devices which are not backwards-compatible, support a mandatory single stream of size sVGA with image format {@code DEPTH16} during concurrent operation.

* *

For guaranteed concurrent stream configurations:

*

sVGA refers to the camera device's maximum resolution for that format from {@link StreamConfigurationMap#getOutputSizes} or