From efa0be90f93ee03261a0ee640cf0dc61b6bb3c8c Mon Sep 17 00:00:00 2001 From: Eino-Ville Talvala Date: Wed, 27 Jan 2016 14:16:20 -0800 Subject: Camera2: Clarify LEVEL_3 requirements. Bug: 25114814 Change-Id: I0d7e0c17c8860e443cded79506e9144db25fe10b --- core/java/android/hardware/camera2/CameraDevice.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/core/java/android/hardware/camera2/CameraDevice.java b/core/java/android/hardware/camera2/CameraDevice.java index 28bb22acfe39..6aacc9cf3df7 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.
InputTarget 1Target 2Target 3Target 4Reprocess-only targetSample use case(s)
InputTarget 1Target 2Target 3Target 4Target 5Sample use case(s)
TypeMax sizeTypeMax sizeTypeMax sizeTypeMax sizeTypeMax sizeTypeMax 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.

*

-- cgit v1.2.3-59-g8ed1b