Merge changes from topic 'enableZslApi' into oc-dev
* changes: camera: Clarify TEMPLATE_ZERO_SHUTTER_LAG camera: Clarify ZSL supports
This commit is contained in:
committed by
Android (Google) Code Review
commit
9414a25592
@@ -107,7 +107,8 @@ public abstract class CameraDevice implements AutoCloseable {
|
||||
/**
|
||||
* Create a request suitable for zero shutter lag still capture. This means
|
||||
* means maximizing image quality without compromising preview frame rate.
|
||||
* AE/AWB/AF should be on auto mode.
|
||||
* AE/AWB/AF should be on auto mode. This is intended for application-operated ZSL. For
|
||||
* device-operated ZSL, use {@link CaptureRequest#CONTROL_ENABLE_ZSL} if available.
|
||||
* This template is guaranteed to be supported on camera devices that support the
|
||||
* {@link CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_PRIVATE_REPROCESSING PRIVATE_REPROCESSING}
|
||||
* capability or the
|
||||
@@ -115,6 +116,7 @@ public abstract class CameraDevice implements AutoCloseable {
|
||||
* capability.
|
||||
*
|
||||
* @see #createCaptureRequest
|
||||
* @see CaptureRequest#CONTROL_ENABLE_ZSL
|
||||
*/
|
||||
public static final int TEMPLATE_ZERO_SHUTTER_LAG = 5;
|
||||
|
||||
|
||||
@@ -1669,6 +1669,7 @@ public final class CaptureRequest extends CameraMetadata<CaptureRequest.Key<?>>
|
||||
* <code>false</code> if present.</p>
|
||||
* <p>For applications targeting SDK versions older than O, the value of enableZsl in all
|
||||
* capture templates is always <code>false</code> if present.</p>
|
||||
* <p>For application-operated ZSL, use CAMERA3_TEMPLATE_ZERO_SHUTTER_LAG template.</p>
|
||||
* <p><b>Optional</b> - This value may be {@code null} on some devices.</p>
|
||||
*
|
||||
* @see CaptureRequest#CONTROL_CAPTURE_INTENT
|
||||
|
||||
@@ -2174,6 +2174,7 @@ public class CaptureResult extends CameraMetadata<CaptureResult.Key<?>> {
|
||||
* <code>false</code> if present.</p>
|
||||
* <p>For applications targeting SDK versions older than O, the value of enableZsl in all
|
||||
* capture templates is always <code>false</code> if present.</p>
|
||||
* <p>For application-operated ZSL, use CAMERA3_TEMPLATE_ZERO_SHUTTER_LAG template.</p>
|
||||
* <p><b>Optional</b> - This value may be {@code null} on some devices.</p>
|
||||
*
|
||||
* @see CaptureRequest#CONTROL_CAPTURE_INTENT
|
||||
|
||||
Reference in New Issue
Block a user