diff --git a/core/java/android/hardware/camera2/CameraDevice.java b/core/java/android/hardware/camera2/CameraDevice.java index 28bb22acfe39e..6aacc9cf3df71 100644 --- a/core/java/android/hardware/camera2/CameraDevice.java +++ b/core/java/android/hardware/camera2/CameraDevice.java @@ -575,14 +575,16 @@ public abstract class CameraDevice implements AutoCloseable { * {@code == }{@link CameraMetadata#INFO_SUPPORTED_HARDWARE_LEVEL_3 LEVEL_3}) devices * support at least the following stream combinations for creating a reprocessable capture * session in addition to those for - * {@link CameraMetadata#INFO_SUPPORTED_HARDWARE_LEVEL_FULL FULL} devices. Note that targets in the "Reprocess-only target" column may only be - * used as an output target for a reprocess capture request, not as an output to a regular capture request. + * {@link CameraMetadata#INFO_SUPPORTED_HARDWARE_LEVEL_FULL FULL} devices. Note that while + * the second configuration allows for configuring {@code MAXIMUM} {@code YUV} and {@code JPEG} + * outputs at the same time, that configuration is not listed for regular capture sessions, and + * therefore simultaneous output to both targets is not allowed. * *
| LEVEL-3 additional guaranteed configurations for creating a reprocessable capture session ({@code PRIV} input is guaranteed only if PRIVATE reprocessing is supported. {@code YUV} input is always guaranteed. | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Input | Target 1 | Target 2 | Target 3 | Target 4 | Reprocess-only target | Sample use case(s) | ||||||
| Input | Target 1 | Target 2 | Target 3 | Target 4 | Target 5 | Sample use case(s) | ||||||
| Type | Max size | Type | Max size | Type | Max size | Type | Max size | Type | Max size | Type | Max size | |
| {@code PRIV}/{@code YUV} | {@code MAXIMUM} | Same as input | {@code MAXIMUM} | {@code PRIV} | {@code PREVIEW} | {@code PRIV} | {@code 640x480} | {@code RAW} | {@code MAXIMUM} | In-app viewfinder analysis with ZSL and RAW. | ||
| {@code YUV} | {@code MAXIMUM} | {@code YUV} | {@code MAXIMUM} | {@code PRIV} | {@code PREVIEW} | {@code PRIV} | {@code 640x480} | {@code RAW} | {@code MAXIMUM} | In-app viewfinder analysis with ZSL and RAW. | ||
| {@code PRIV}/{@code YUV} | {@code MAXIMUM} | Same as input | {@code MAXIMUM} | {@code PRIV} | {@code PREVIEW} | {@code PRIV} | {@code 640x480} | {@code RAW} | {@code MAXIMUM} | {@code JPEG} | {@code MAXIMUM} | In-app viewfinder analysis with ZSL, RAW, and JPEG reprocessing output. |