Merge "Camera: Create links to mandatory stream combinations" into udc-dev am: caa08c2cad
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23681003 Change-Id: Idef529d0f7db5c6438c5aef26f58ba6c0dddba21 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -3202,8 +3202,9 @@ public final class CameraCharacteristics extends CameraMetadata<CameraCharacteri
|
|||||||
* or if the camera device isn't a primary rear/front camera, the minimum required output
|
* or if the camera device isn't a primary rear/front camera, the minimum required output
|
||||||
* stream configurations are the same as for applications targeting SDK version older than
|
* stream configurations are the same as for applications targeting SDK version older than
|
||||||
* 31.</p>
|
* 31.</p>
|
||||||
* <p>Refer to {@link CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES android.request.availableCapabilities} and {@link android.hardware.camera2.CameraDevice#createCaptureSession } for additional mandatory
|
* <p>Refer to {@link CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES android.request.availableCapabilities} and
|
||||||
* stream configurations on a per-capability basis.</p>
|
* {@link android.hardware.camera2.CameraDevice#legacy-level-guaranteed-configurations }
|
||||||
|
* for additional mandatory stream configurations on a per-capability basis.</p>
|
||||||
* <p>*1: For JPEG format, the sizes may be restricted by below conditions:</p>
|
* <p>*1: For JPEG format, the sizes may be restricted by below conditions:</p>
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>The HAL may choose the aspect ratio of each Jpeg size to be one of well known ones
|
* <li>The HAL may choose the aspect ratio of each Jpeg size to be one of well known ones
|
||||||
@@ -3321,12 +3322,11 @@ public final class CameraCharacteristics extends CameraMetadata<CameraCharacteri
|
|||||||
* {@link android.hardware.camera2.CameraCharacteristics#INFO_SUPPORTED_HARDWARE_LEVEL }
|
* {@link android.hardware.camera2.CameraCharacteristics#INFO_SUPPORTED_HARDWARE_LEVEL }
|
||||||
* and {@link android.hardware.camera2.CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES }.
|
* and {@link android.hardware.camera2.CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES }.
|
||||||
* This is an app-readable conversion of the mandatory stream combination
|
* This is an app-readable conversion of the mandatory stream combination
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession tables}.</p>
|
* {@link android.hardware.camera2.CameraDevice#legacy-level-guaranteed-configurations tables}.</p>
|
||||||
* <p>The array of
|
* <p>The array of
|
||||||
* {@link android.hardware.camera2.params.MandatoryStreamCombination combinations} is
|
* {@link android.hardware.camera2.params.MandatoryStreamCombination combinations} is
|
||||||
* generated according to the documented
|
* generated according to the documented
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession guideline} based on
|
* {@link android.hardware.camera2.CameraDevice#legacy-level-guaranteed-configurations guideline} based on specific device level and capabilities.
|
||||||
* specific device level and capabilities.
|
|
||||||
* Clients can use the array as a quick reference to find an appropriate camera stream
|
* Clients can use the array as a quick reference to find an appropriate camera stream
|
||||||
* combination.
|
* combination.
|
||||||
* As per documentation, the stream combinations with given PREVIEW, RECORD and
|
* As per documentation, the stream combinations with given PREVIEW, RECORD and
|
||||||
@@ -3355,12 +3355,11 @@ public final class CameraCharacteristics extends CameraMetadata<CameraCharacteri
|
|||||||
/**
|
/**
|
||||||
* <p>An array of mandatory concurrent stream combinations.
|
* <p>An array of mandatory concurrent stream combinations.
|
||||||
* This is an app-readable conversion of the concurrent mandatory stream combination
|
* This is an app-readable conversion of the concurrent mandatory stream combination
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession tables}.</p>
|
* {@link android.hardware.camera2.CameraDevice#concurrent-stream-guaranteed-configurations tables}.</p>
|
||||||
* <p>The array of
|
* <p>The array of
|
||||||
* {@link android.hardware.camera2.params.MandatoryStreamCombination combinations} is
|
* {@link android.hardware.camera2.params.MandatoryStreamCombination combinations} is
|
||||||
* generated according to the documented
|
* generated according to the documented
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession guideline} for each
|
* {@link android.hardware.camera2.CameraDevice#concurrent-stream-guaranteed-configurations guideline} for each device which has its Id present in the set returned by
|
||||||
* device which has its Id present in the set returned by
|
|
||||||
* {@link android.hardware.camera2.CameraManager#getConcurrentCameraIds }.
|
* {@link android.hardware.camera2.CameraManager#getConcurrentCameraIds }.
|
||||||
* Clients can use the array as a quick reference to find an appropriate camera stream
|
* Clients can use the array as a quick reference to find an appropriate camera stream
|
||||||
* combination.
|
* combination.
|
||||||
@@ -3465,7 +3464,8 @@ public final class CameraCharacteristics extends CameraMetadata<CameraCharacteri
|
|||||||
* <p>If a camera device supports multi-resolution output streams for a particular format, for
|
* <p>If a camera device supports multi-resolution output streams for a particular format, for
|
||||||
* each of its mandatory stream combinations, the camera device will support using a
|
* each of its mandatory stream combinations, the camera device will support using a
|
||||||
* MultiResolutionImageReader for the MAXIMUM stream of supported formats. Refer to
|
* MultiResolutionImageReader for the MAXIMUM stream of supported formats. Refer to
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession } for additional details.</p>
|
* {@link android.hardware.camera2.CameraDevice#legacy-level-additional-guaranteed-combinations-with-multiresolutionoutputs }
|
||||||
|
* for additional details.</p>
|
||||||
* <p>To use multi-resolution input streams, the supported formats can be queried by {@link android.hardware.camera2.params.MultiResolutionStreamConfigurationMap#getInputFormats }.
|
* <p>To use multi-resolution input streams, the supported formats can be queried by {@link android.hardware.camera2.params.MultiResolutionStreamConfigurationMap#getInputFormats }.
|
||||||
* A reprocessable CameraCaptureSession can then be created using an {@link android.hardware.camera2.params.InputConfiguration InputConfiguration} constructed with
|
* A reprocessable CameraCaptureSession can then be created using an {@link android.hardware.camera2.params.InputConfiguration InputConfiguration} constructed with
|
||||||
* the input MultiResolutionStreamInfo group, queried by {@link android.hardware.camera2.params.MultiResolutionStreamConfigurationMap#getInputInfo }.</p>
|
* the input MultiResolutionStreamInfo group, queried by {@link android.hardware.camera2.params.MultiResolutionStreamConfigurationMap#getInputInfo }.</p>
|
||||||
@@ -3473,8 +3473,8 @@ public final class CameraCharacteristics extends CameraMetadata<CameraCharacteri
|
|||||||
* {@code YUV} output, or multi-resolution {@code PRIVATE} input and multi-resolution
|
* {@code YUV} output, or multi-resolution {@code PRIVATE} input and multi-resolution
|
||||||
* {@code PRIVATE} output, {@code JPEG} and {@code YUV} are guaranteed to be supported
|
* {@code PRIVATE} output, {@code JPEG} and {@code YUV} are guaranteed to be supported
|
||||||
* multi-resolution output stream formats. Refer to
|
* multi-resolution output stream formats. Refer to
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession } for
|
* {@link android.hardware.camera2.CameraDevice#legacy-level-additional-guaranteed-combinations-with-multiresolutionoutputs }}
|
||||||
* details about the additional mandatory stream combinations in this case.</p>
|
* for details about the additional mandatory stream combinations in this case.</p>
|
||||||
* <p><b>Optional</b> - The value for this key may be {@code null} on some devices.</p>
|
* <p><b>Optional</b> - The value for this key may be {@code null} on some devices.</p>
|
||||||
*/
|
*/
|
||||||
@PublicKey
|
@PublicKey
|
||||||
@@ -3586,12 +3586,11 @@ public final class CameraCharacteristics extends CameraMetadata<CameraCharacteri
|
|||||||
* {@link android.hardware.camera2.CaptureRequest } has {@link CaptureRequest#SENSOR_PIXEL_MODE android.sensor.pixelMode} set
|
* {@link android.hardware.camera2.CaptureRequest } has {@link CaptureRequest#SENSOR_PIXEL_MODE android.sensor.pixelMode} set
|
||||||
* to {@link android.hardware.camera2.CameraMetadata#SENSOR_PIXEL_MODE_MAXIMUM_RESOLUTION }.
|
* to {@link android.hardware.camera2.CameraMetadata#SENSOR_PIXEL_MODE_MAXIMUM_RESOLUTION }.
|
||||||
* This is an app-readable conversion of the maximum resolution mandatory stream combination
|
* This is an app-readable conversion of the maximum resolution mandatory stream combination
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession tables}.</p>
|
* {@link android.hardware.camera2.CameraDevice#additional-guaranteed-combinations-for-ultra-high-resolution-sensors tables}.</p>
|
||||||
* <p>The array of
|
* <p>The array of
|
||||||
* {@link android.hardware.camera2.params.MandatoryStreamCombination combinations} is
|
* {@link android.hardware.camera2.params.MandatoryStreamCombination combinations} is
|
||||||
* generated according to the documented
|
* generated according to the documented
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession guideline} for each
|
* {@link android.hardware.camera2.CameraDevice#additional-guaranteed-combinations-for-ultra-high-resolution-sensors guideline} for each device which has the
|
||||||
* device which has the
|
|
||||||
* {@link android.hardware.camera2.CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_ULTRA_HIGH_RESOLUTION_SENSOR }
|
* {@link android.hardware.camera2.CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_ULTRA_HIGH_RESOLUTION_SENSOR }
|
||||||
* capability.
|
* capability.
|
||||||
* Clients can use the array as a quick reference to find an appropriate camera stream
|
* Clients can use the array as a quick reference to find an appropriate camera stream
|
||||||
@@ -3614,12 +3613,11 @@ public final class CameraCharacteristics extends CameraMetadata<CameraCharacteri
|
|||||||
* 10-bit output capability
|
* 10-bit output capability
|
||||||
* {@link android.hardware.camera2.CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES_DYNAMIC_RANGE_TEN_BIT }
|
* {@link android.hardware.camera2.CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES_DYNAMIC_RANGE_TEN_BIT }
|
||||||
* This is an app-readable conversion of the 10 bit output mandatory stream combination
|
* This is an app-readable conversion of the 10 bit output mandatory stream combination
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession tables}.</p>
|
* {@link android.hardware.camera2.CameraDevice#10-bit-output-additional-guaranteed-configurations tables}.</p>
|
||||||
* <p>The array of
|
* <p>The array of
|
||||||
* {@link android.hardware.camera2.params.MandatoryStreamCombination combinations} is
|
* {@link android.hardware.camera2.params.MandatoryStreamCombination combinations} is
|
||||||
* generated according to the documented
|
* generated according to the documented
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession guideline} for each
|
* {@link android.hardware.camera2.CameraDevice#10-bit-output-additional-guaranteed-configurations guideline} for each device which has the
|
||||||
* device which has the
|
|
||||||
* {@link android.hardware.camera2.CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES_DYNAMIC_RANGE_TEN_BIT }
|
* {@link android.hardware.camera2.CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES_DYNAMIC_RANGE_TEN_BIT }
|
||||||
* capability.
|
* capability.
|
||||||
* Clients can use the array as a quick reference to find an appropriate camera stream
|
* Clients can use the array as a quick reference to find an appropriate camera stream
|
||||||
@@ -3639,12 +3637,12 @@ public final class CameraCharacteristics extends CameraMetadata<CameraCharacteri
|
|||||||
* <p>An array of mandatory stream combinations which are applicable when device lists
|
* <p>An array of mandatory stream combinations which are applicable when device lists
|
||||||
* {@code PREVIEW_STABILIZATION} in {@link CameraCharacteristics#CONTROL_AVAILABLE_VIDEO_STABILIZATION_MODES android.control.availableVideoStabilizationModes}.
|
* {@code PREVIEW_STABILIZATION} in {@link CameraCharacteristics#CONTROL_AVAILABLE_VIDEO_STABILIZATION_MODES android.control.availableVideoStabilizationModes}.
|
||||||
* This is an app-readable conversion of the preview stabilization mandatory stream
|
* This is an app-readable conversion of the preview stabilization mandatory stream
|
||||||
* combination {@link android.hardware.camera2.CameraDevice#createCaptureSession tables}.</p>
|
* combination
|
||||||
|
* {@link android.hardware.camera2.CameraDevice#preview-stabilization-guaranteed-stream-configurations tables}.</p>
|
||||||
* <p>The array of
|
* <p>The array of
|
||||||
* {@link android.hardware.camera2.params.MandatoryStreamCombination combinations} is
|
* {@link android.hardware.camera2.params.MandatoryStreamCombination combinations} is
|
||||||
* generated according to the documented
|
* generated according to the documented
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession guideline} for each
|
* {@link android.hardware.camera2.CameraDevice#preview-stabilization-guaranteed-stream-configurations guideline} for each device which supports {@code PREVIEW_STABILIZATION}
|
||||||
* device which supports {@code PREVIEW_STABILIZATION}
|
|
||||||
* Clients can use the array as a quick reference to find an appropriate camera stream
|
* Clients can use the array as a quick reference to find an appropriate camera stream
|
||||||
* combination.
|
* combination.
|
||||||
* The mandatory stream combination array will be {@code null} in case the device does not
|
* The mandatory stream combination array will be {@code null} in case the device does not
|
||||||
@@ -3717,8 +3715,8 @@ public final class CameraCharacteristics extends CameraMetadata<CameraCharacteri
|
|||||||
* <p>The guaranteed stream combinations related to stream use case for a camera device with
|
* <p>The guaranteed stream combinations related to stream use case for a camera device with
|
||||||
* {@link android.hardware.camera2.CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES_STREAM_USE_CASE }
|
* {@link android.hardware.camera2.CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES_STREAM_USE_CASE }
|
||||||
* capability is documented in the camera device
|
* capability is documented in the camera device
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession guideline}. The
|
* {@link android.hardware.camera2.CameraDevice#stream-use-case-capability-additional-guaranteed-configurations guideline}. The application is strongly recommended to use one of the guaranteed stream
|
||||||
* application is strongly recommended to use one of the guaranteed stream combinations.
|
* combinations.
|
||||||
* If the application creates a session with a stream combination not in the guaranteed
|
* If the application creates a session with a stream combination not in the guaranteed
|
||||||
* list, or with mixed DEFAULT and non-DEFAULT use cases within the same session,
|
* list, or with mixed DEFAULT and non-DEFAULT use cases within the same session,
|
||||||
* the camera device may ignore some stream use cases due to hardware constraints
|
* the camera device may ignore some stream use cases due to hardware constraints
|
||||||
@@ -3754,13 +3752,11 @@ public final class CameraCharacteristics extends CameraMetadata<CameraCharacteri
|
|||||||
/**
|
/**
|
||||||
* <p>An array of mandatory stream combinations with stream use cases.
|
* <p>An array of mandatory stream combinations with stream use cases.
|
||||||
* This is an app-readable conversion of the mandatory stream combination
|
* This is an app-readable conversion of the mandatory stream combination
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession tables} with
|
* {@link android.hardware.camera2.CameraDevice#stream-use-case-capability-additional-guaranteed-configurations tables} with each stream's use case being set.</p>
|
||||||
* each stream's use case being set.</p>
|
|
||||||
* <p>The array of
|
* <p>The array of
|
||||||
* {@link android.hardware.camera2.params.MandatoryStreamCombination combinations} is
|
* {@link android.hardware.camera2.params.MandatoryStreamCombination combinations} is
|
||||||
* generated according to the documented
|
* generated according to the documented
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession guideline} for a
|
* {@link android.hardware.camera2.CameraDevice#stream-use-case-capability-additional-guaranteed-configurations guideline} for a camera device with
|
||||||
* camera device with
|
|
||||||
* {@link android.hardware.camera2.CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES_STREAM_USE_CASE }
|
* {@link android.hardware.camera2.CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES_STREAM_USE_CASE }
|
||||||
* capability.
|
* capability.
|
||||||
* The mandatory stream combination array will be {@code null} in case the device doesn't
|
* The mandatory stream combination array will be {@code null} in case the device doesn't
|
||||||
|
|||||||
@@ -636,8 +636,9 @@ public abstract class CameraDevice implements AutoCloseable {
|
|||||||
* {@code == }{@link CameraMetadata#INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY LEGACY}) support at
|
* {@code == }{@link CameraMetadata#INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY LEGACY}) support at
|
||||||
* least the following stream combinations:
|
* least the following stream combinations:
|
||||||
*
|
*
|
||||||
|
* <h5>LEGACY-level guaranteed configurations</h5>
|
||||||
|
*
|
||||||
* <table>
|
* <table>
|
||||||
* <tr><th colspan="7">LEGACY-level guaranteed configurations</th></tr>
|
|
||||||
* <tr> <th colspan="2" id="rb">Target 1</th> <th colspan="2" id="rb">Target 2</th> <th colspan="2" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
* <tr> <th colspan="2" id="rb">Target 1</th> <th colspan="2" id="rb">Target 2</th> <th colspan="2" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
||||||
* <tr> <th>Type</th><th id="rb">Max size</th> <th>Type</th><th id="rb">Max size</th> <th>Type</th><th id="rb">Max size</th></tr>
|
* <tr> <th>Type</th><th id="rb">Max size</th> <th>Type</th><th id="rb">Max size</th> <th>Type</th><th id="rb">Max size</th></tr>
|
||||||
* <tr> <td>{@code PRIV}</td><td id="rb">{@code MAXIMUM}</td> <td colspan="2" id="rb"></td> <td colspan="2" id="rb"></td> <td>Simple preview, GPU video processing, or no-preview video recording.</td> </tr>
|
* <tr> <td>{@code PRIV}</td><td id="rb">{@code MAXIMUM}</td> <td colspan="2" id="rb"></td> <td colspan="2" id="rb"></td> <td>Simple preview, GPU video processing, or no-preview video recording.</td> </tr>
|
||||||
@@ -656,8 +657,9 @@ public abstract class CameraDevice implements AutoCloseable {
|
|||||||
* support at least the following stream combinations in addition to those for
|
* support at least the following stream combinations in addition to those for
|
||||||
* {@link CameraMetadata#INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY LEGACY} devices:
|
* {@link CameraMetadata#INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY LEGACY} devices:
|
||||||
*
|
*
|
||||||
|
* <h5>LIMITED-level additional guaranteed configurations</h5>
|
||||||
|
*
|
||||||
* <table>
|
* <table>
|
||||||
* <tr><th colspan="7">LIMITED-level additional guaranteed configurations</th></tr>
|
|
||||||
* <tr><th colspan="2" id="rb">Target 1</th><th colspan="2" id="rb">Target 2</th><th colspan="2" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
* <tr><th colspan="2" id="rb">Target 1</th><th colspan="2" id="rb">Target 2</th><th colspan="2" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
||||||
* <tr><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th></tr>
|
* <tr><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th></tr>
|
||||||
* <tr> <td>{@code PRIV}</td><td id="rb">{@code PREVIEW}</td> <td>{@code PRIV}</td><td id="rb">{@code RECORD }</td> <td colspan="2" id="rb"></td> <td>High-resolution video recording with preview.</td> </tr>
|
* <tr> <td>{@code PRIV}</td><td id="rb">{@code PREVIEW}</td> <td>{@code PRIV}</td><td id="rb">{@code RECORD }</td> <td colspan="2" id="rb"></td> <td>High-resolution video recording with preview.</td> </tr>
|
||||||
@@ -674,8 +676,9 @@ public abstract class CameraDevice implements AutoCloseable {
|
|||||||
* support at least the following stream combinations in addition to those for
|
* support at least the following stream combinations in addition to those for
|
||||||
* {@link CameraMetadata#INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED LIMITED} devices:
|
* {@link CameraMetadata#INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED LIMITED} devices:
|
||||||
*
|
*
|
||||||
|
* <h5>FULL-level additional guaranteed configurations</h5>
|
||||||
|
*
|
||||||
* <table>
|
* <table>
|
||||||
* <tr><th colspan="7">FULL-level additional guaranteed configurations</th></tr>
|
|
||||||
* <tr><th colspan="2" id="rb">Target 1</th><th colspan="2" id="rb">Target 2</th><th colspan="2" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
* <tr><th colspan="2" id="rb">Target 1</th><th colspan="2" id="rb">Target 2</th><th colspan="2" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
||||||
* <tr><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th> </tr>
|
* <tr><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th> </tr>
|
||||||
* <tr> <td>{@code PRIV}</td><td id="rb">{@code PREVIEW}</td> <td>{@code PRIV}</td><td id="rb">{@code MAXIMUM}</td> <td colspan="2" id="rb"></td> <td>Maximum-resolution GPU processing with preview.</td> </tr>
|
* <tr> <td>{@code PRIV}</td><td id="rb">{@code PREVIEW}</td> <td>{@code PRIV}</td><td id="rb">{@code MAXIMUM}</td> <td colspan="2" id="rb"></td> <td>Maximum-resolution GPU processing with preview.</td> </tr>
|
||||||
@@ -693,8 +696,9 @@ public abstract class CameraDevice implements AutoCloseable {
|
|||||||
* {@link CameraMetadata#INFO_SUPPORTED_HARDWARE_LEVEL_FULL FULL} and
|
* {@link CameraMetadata#INFO_SUPPORTED_HARDWARE_LEVEL_FULL FULL} and
|
||||||
* {@link CameraMetadata#INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED LIMITED} devices:
|
* {@link CameraMetadata#INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED LIMITED} devices:
|
||||||
*
|
*
|
||||||
|
* <h5>RAW-capability additional guaranteed configurations</h5>
|
||||||
|
*
|
||||||
* <table>
|
* <table>
|
||||||
* <tr><th colspan="7">RAW-capability additional guaranteed configurations</th></tr>
|
|
||||||
* <tr><th colspan="2" id="rb">Target 1</th><th colspan="2" id="rb">Target 2</th><th colspan="2" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
* <tr><th colspan="2" id="rb">Target 1</th><th colspan="2" id="rb">Target 2</th><th colspan="2" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
||||||
* <tr><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th> </tr>
|
* <tr><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th> </tr>
|
||||||
* <tr> <td>{@code RAW }</td><td id="rb">{@code MAXIMUM}</td> <td colspan="2" id="rb"></td> <td colspan="2" id="rb"></td> <td>No-preview DNG capture.</td> </tr>
|
* <tr> <td>{@code RAW }</td><td id="rb">{@code MAXIMUM}</td> <td colspan="2" id="rb"></td> <td colspan="2" id="rb"></td> <td>No-preview DNG capture.</td> </tr>
|
||||||
@@ -716,8 +720,9 @@ public abstract class CameraDevice implements AutoCloseable {
|
|||||||
* list for FULL-level devices, so this table is only relevant for LIMITED-level devices that
|
* list for FULL-level devices, so this table is only relevant for LIMITED-level devices that
|
||||||
* support the BURST_CAPTURE capability.
|
* support the BURST_CAPTURE capability.
|
||||||
*
|
*
|
||||||
|
* <h5>BURST-capability additional guaranteed configurations</h5>
|
||||||
|
*
|
||||||
* <table>
|
* <table>
|
||||||
* <tr><th colspan="5">BURST-capability additional guaranteed configurations</th></tr>
|
|
||||||
* <tr><th colspan="2" id="rb">Target 1</th><th colspan="2" id="rb">Target 2</th><th rowspan="2">Sample use case(s)</th> </tr>
|
* <tr><th colspan="2" id="rb">Target 1</th><th colspan="2" id="rb">Target 2</th><th rowspan="2">Sample use case(s)</th> </tr>
|
||||||
* <tr><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th> </tr>
|
* <tr><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th> </tr>
|
||||||
* <tr> <td>{@code PRIV}</td><td id="rb">{@code PREVIEW}</td> <td>{@code PRIV}</td><td id="rb">{@code MAXIMUM}</td> <td>Maximum-resolution GPU processing with preview.</td> </tr>
|
* <tr> <td>{@code PRIV}</td><td id="rb">{@code PREVIEW}</td> <td>{@code PRIV}</td><td id="rb">{@code MAXIMUM}</td> <td>Maximum-resolution GPU processing with preview.</td> </tr>
|
||||||
@@ -733,8 +738,9 @@ public abstract class CameraDevice implements AutoCloseable {
|
|||||||
* RAW capability ({@link CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES} includes
|
* RAW capability ({@link CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES} includes
|
||||||
* {@link CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_RAW RAW}):
|
* {@link CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_RAW RAW}):
|
||||||
*
|
*
|
||||||
|
* <h5>LEVEL-3 additional guaranteed configurations</h5>
|
||||||
|
*
|
||||||
* <table>
|
* <table>
|
||||||
* <tr><th colspan="11">LEVEL-3 additional guaranteed configurations</th></tr>
|
|
||||||
* <tr><th colspan="2" id="rb">Target 1</th><th colspan="2" id="rb">Target 2</th><th colspan="2" id="rb">Target 3</th><th colspan="2" id="rb">Target 4</th><th rowspan="2">Sample use case(s)</th> </tr>
|
* <tr><th colspan="2" id="rb">Target 1</th><th colspan="2" id="rb">Target 2</th><th colspan="2" id="rb">Target 3</th><th colspan="2" id="rb">Target 4</th><th rowspan="2">Sample use case(s)</th> </tr>
|
||||||
* <tr><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th> </tr>
|
* <tr><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th> </tr>
|
||||||
* <tr> <td>{@code PRIV}</td><td id="rb">{@code PREVIEW}</td> <td>{@code PRIV}</td><td id="rb">{@code 640x480}</td> <td>{@code YUV}</td><td id="rb">{@code MAXIMUM}</td> <td>{@code RAW}</td><td id="rb">{@code MAXIMUM}</td> <td>In-app viewfinder analysis with dynamic selection of output format.</td> </tr>
|
* <tr> <td>{@code PRIV}</td><td id="rb">{@code PREVIEW}</td> <td>{@code PRIV}</td><td id="rb">{@code 640x480}</td> <td>{@code YUV}</td><td id="rb">{@code MAXIMUM}</td> <td>{@code RAW}</td><td id="rb">{@code MAXIMUM}</td> <td>In-app viewfinder analysis with dynamic selection of output format.</td> </tr>
|
||||||
@@ -748,8 +754,9 @@ public abstract class CameraDevice implements AutoCloseable {
|
|||||||
* <p> Note: The sizes mentioned for these concurrent streams are the maximum sizes guaranteed
|
* <p> 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. </p>
|
* to be supported. Sizes smaller than these, obtained by {@link StreamConfigurationMap#getOutputSizes} for a particular format, are supported as well. </p>
|
||||||
*
|
*
|
||||||
|
* <h5>Concurrent stream guaranteed configurations</h5>
|
||||||
|
*
|
||||||
* <table>
|
* <table>
|
||||||
* <tr><th colspan="5">Concurrent stream guaranteed configurations</th></tr>
|
|
||||||
* <tr><th colspan="2" id="rb">Target 1</th><th colspan="2" id="rb">Target 2</th><th rowspan="2">Sample use case(s)</th> </tr>
|
* <tr><th colspan="2" id="rb">Target 1</th><th colspan="2" id="rb">Target 2</th><th rowspan="2">Sample use case(s)</th> </tr>
|
||||||
* <tr><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th> </tr>
|
* <tr><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th> </tr>
|
||||||
* <tr> <td>{@code YUV}</td><td id="rb">{@code s1440p}</td> <td colspan="2" id="rb"></td> <td>In-app video / image processing.</td> </tr>
|
* <tr> <td>{@code YUV}</td><td id="rb">{@code s1440p}</td> <td colspan="2" id="rb"></td> <td>In-app video / image processing.</td> </tr>
|
||||||
@@ -794,8 +801,9 @@ public abstract class CameraDevice implements AutoCloseable {
|
|||||||
* stream combinations ({@code MULTI_RES} in the Max size column refers to a {@link
|
* stream combinations ({@code MULTI_RES} in the Max size column refers to a {@link
|
||||||
* MultiResolutionImageReader} created based on the variable max resolutions supported):
|
* MultiResolutionImageReader} created based on the variable max resolutions supported):
|
||||||
*
|
*
|
||||||
|
* <h5>LEGACY-level additional guaranteed combinations with MultiResolutionoutputs</h5>
|
||||||
|
*
|
||||||
* <table>
|
* <table>
|
||||||
* <tr><th colspan="7">LEGACY-level additional guaranteed combinations with MultiResolutionoutputs</th></tr>
|
|
||||||
* <tr> <th colspan="2" id="rb">Target 1</th> <th colspan="2" id="rb">Target 2</th> <th colspan="2" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
* <tr> <th colspan="2" id="rb">Target 1</th> <th colspan="2" id="rb">Target 2</th> <th colspan="2" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
||||||
* <tr> <th>Type</th><th id="rb">Max size</th> <th>Type</th><th id="rb">Max size</th> <th>Type</th><th id="rb">Max size</th></tr>
|
* <tr> <th>Type</th><th id="rb">Max size</th> <th>Type</th><th id="rb">Max size</th> <th>Type</th><th id="rb">Max size</th></tr>
|
||||||
* <tr> <td>{@code PRIV}</td><td id="rb">{@code MULTI_RES}</td> <td colspan="2" id="rb"></td> <td colspan="2" id="rb"></td> <td>Simple preview, GPU video processing, or no-preview video recording.</td> </tr>
|
* <tr> <td>{@code PRIV}</td><td id="rb">{@code MULTI_RES}</td> <td colspan="2" id="rb"></td> <td colspan="2" id="rb"></td> <td>Simple preview, GPU video processing, or no-preview video recording.</td> </tr>
|
||||||
@@ -814,8 +822,10 @@ public abstract class CameraDevice implements AutoCloseable {
|
|||||||
*
|
*
|
||||||
* <p> Devices with the ULTRA_HIGH_RESOLUTION_SENSOR capability have some additional guarantees
|
* <p> Devices with the ULTRA_HIGH_RESOLUTION_SENSOR capability have some additional guarantees
|
||||||
* which clients can take advantage of : </p>
|
* which clients can take advantage of : </p>
|
||||||
|
*
|
||||||
|
* <h5>Additional guaranteed combinations for ULTRA_HIGH_RESOLUTION sensors</h5>
|
||||||
|
*
|
||||||
* <table>
|
* <table>
|
||||||
* <tr><th colspan="10">Additional guaranteed combinations for ULTRA_HIGH_RESOLUTION sensors</th></tr>
|
|
||||||
* <tr> <th colspan="3" id="rb">Target 1</th> <th colspan="3" id="rb">Target 2</th> <th colspan="3" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
* <tr> <th colspan="3" id="rb">Target 1</th> <th colspan="3" id="rb">Target 2</th> <th colspan="3" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
||||||
* <tr> <th>Type</th><th id="rb"> SC Map</th><th id="rb">Max size</th> <th>Type</th><th id="rb"> SC Map</th><th id="rb">Max size</th> <th>Type</th><th id="rb"> SC Map</th><th id="rb">Max size</th></tr>
|
* <tr> <th>Type</th><th id="rb"> SC Map</th><th id="rb">Max size</th> <th>Type</th><th id="rb"> SC Map</th><th id="rb">Max size</th> <th>Type</th><th id="rb"> SC Map</th><th id="rb">Max size</th></tr>
|
||||||
* <tr> <td>{@code YUV / JPEG / RAW}</td><td id="rb">{@code MAX_RES}</td><td id="rb">{@code MAX}</td><td id="rb">{@code PRIV / YUV}</td><td id="rb">{@code DEFAULT}</td><td id="rb">{@code PREVIEW}</td><td colspan="3" id="rb"></td> <td>Ultra high res still image capture with preview</td> </tr>
|
* <tr> <td>{@code YUV / JPEG / RAW}</td><td id="rb">{@code MAX_RES}</td><td id="rb">{@code MAX}</td><td id="rb">{@code PRIV / YUV}</td><td id="rb">{@code DEFAULT}</td><td id="rb">{@code PREVIEW}</td><td colspan="3" id="rb"></td> <td>Ultra high res still image capture with preview</td> </tr>
|
||||||
@@ -834,8 +844,10 @@ public abstract class CameraDevice implements AutoCloseable {
|
|||||||
* <p> 10-bit output capable
|
* <p> 10-bit output capable
|
||||||
* {@link CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES_DYNAMIC_RANGE_TEN_BIT}
|
* {@link CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES_DYNAMIC_RANGE_TEN_BIT}
|
||||||
* devices support at least the following stream combinations: </p>
|
* devices support at least the following stream combinations: </p>
|
||||||
|
*
|
||||||
|
* <h5>10-bit output additional guaranteed configurations</h5>
|
||||||
|
*
|
||||||
* <table>
|
* <table>
|
||||||
* <tr><th colspan="7">10-bit output additional guaranteed configurations</th></tr>
|
|
||||||
* <tr><th colspan="2" id="rb">Target 1</th><th colspan="2" id="rb">Target 2</th><th colspan="2" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
* <tr><th colspan="2" id="rb">Target 1</th><th colspan="2" id="rb">Target 2</th><th colspan="2" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
||||||
* <tr><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th></tr>
|
* <tr><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th></tr>
|
||||||
* <tr> <td>{@code PRIV}</td><td id="rb">{@code MAXIMUM}</td> }</td> <td colspan="4" id="rb"></td> <td>Simple preview, GPU video processing, or no-preview video recording.</td> </tr>
|
* <tr> <td>{@code PRIV}</td><td id="rb">{@code MAXIMUM}</td> }</td> <td colspan="4" id="rb"></td> <td>Simple preview, GPU video processing, or no-preview video recording.</td> </tr>
|
||||||
@@ -887,8 +899,9 @@ public abstract class CameraDevice implements AutoCloseable {
|
|||||||
* CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES_STREAM_USE_CASE}) support below additional
|
* CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES_STREAM_USE_CASE}) support below additional
|
||||||
* stream combinations:
|
* stream combinations:
|
||||||
*
|
*
|
||||||
|
* <h5>STREAM_USE_CASE capability additional guaranteed configurations</h5>
|
||||||
|
*
|
||||||
* <table>
|
* <table>
|
||||||
* <tr><th colspan="10">STREAM_USE_CASE capability additional guaranteed configurations</th></tr>
|
|
||||||
* <tr><th colspan="3" id="rb">Target 1</th><th colspan="3" id="rb">Target 2</th><th colspan="3" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
* <tr><th colspan="3" id="rb">Target 1</th><th colspan="3" id="rb">Target 2</th><th colspan="3" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
||||||
* <tr><th>Type</th><th id="rb">Max size</th><th>Usecase</th><th>Type</th><th id="rb">Max size</th><th>Usecase</th><th>Type</th><th id="rb">Max size</th><th>Usecase</th> </tr>
|
* <tr><th>Type</th><th id="rb">Max size</th><th>Usecase</th><th>Type</th><th id="rb">Max size</th><th>Usecase</th><th>Type</th><th id="rb">Max size</th><th>Usecase</th> </tr>
|
||||||
* <tr> <td>{@code YUV / PRIV}</td><td id="rb">{@code PREVIEW}</td><td id="rb">{@code PREVIEW}</td> <td colspan="3" id="rb"></td> <td colspan="3" id="rb"></td> <td>Simple preview or in-app image processing</td> </tr>
|
* <tr> <td>{@code YUV / PRIV}</td><td id="rb">{@code PREVIEW}</td><td id="rb">{@code PREVIEW}</td> <td colspan="3" id="rb"></td> <td colspan="3" id="rb"></td> <td>Simple preview or in-app image processing</td> </tr>
|
||||||
@@ -911,8 +924,9 @@ public abstract class CameraDevice implements AutoCloseable {
|
|||||||
* stream use-case in {@link CameraCharacteristics#SCALER_AVAILABLE_STREAM_USE_CASES},
|
* stream use-case in {@link CameraCharacteristics#SCALER_AVAILABLE_STREAM_USE_CASES},
|
||||||
* support the additional stream combinations below:
|
* support the additional stream combinations below:
|
||||||
*
|
*
|
||||||
|
* <h5>STREAM_USE_CASE_CROPPED_RAW capability additional guaranteed configurations</h5>
|
||||||
|
*
|
||||||
* <table>
|
* <table>
|
||||||
* <tr><th colspan="10">STREAM_USE_CASE_CROPPED_RAW capability additional guaranteed configurations</th></tr>
|
|
||||||
* <tr><th colspan="3" id="rb">Target 1</th><th colspan="3" id="rb">Target 2</th><th colspan="3" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
* <tr><th colspan="3" id="rb">Target 1</th><th colspan="3" id="rb">Target 2</th><th colspan="3" id="rb">Target 3</th> <th rowspan="2">Sample use case(s)</th> </tr>
|
||||||
* <tr><th>Type</th><th id="rb">Max size</th><th>Usecase</th><th>Type</th><th id="rb">Max size</th><th>Usecase</th><th>Type</th><th id="rb">Max size</th><th>Usecase</th> </tr>
|
* <tr><th>Type</th><th id="rb">Max size</th><th>Usecase</th><th>Type</th><th id="rb">Max size</th><th>Usecase</th><th>Type</th><th id="rb">Max size</th><th>Usecase</th> </tr>
|
||||||
* <tr> <td>{@code RAW}</td><td id="rb">{@code MAXIMUM}</td><td id="rb">{@code CROPPED_RAW}</td> <td colspan="3" id="rb"></td> <td colspan="3" id="rb"></td> <td>Cropped RAW still capture without preview</td> </tr>
|
* <tr> <td>{@code RAW}</td><td id="rb">{@code MAXIMUM}</td><td id="rb">{@code CROPPED_RAW}</td> <td colspan="3" id="rb"></td> <td colspan="3" id="rb"></td> <td>Cropped RAW still capture without preview</td> </tr>
|
||||||
@@ -926,8 +940,10 @@ public abstract class CameraDevice implements AutoCloseable {
|
|||||||
* the following stream combinations are guaranteed,
|
* the following stream combinations are guaranteed,
|
||||||
* for CaptureRequests where {@link CaptureRequest#CONTROL_VIDEO_STABILIZATION_MODE} is set to
|
* for CaptureRequests where {@link CaptureRequest#CONTROL_VIDEO_STABILIZATION_MODE} is set to
|
||||||
* {@link CameraMetadata#CONTROL_VIDEO_STABILIZATION_MODE_PREVIEW_STABILIZATION} <p>
|
* {@link CameraMetadata#CONTROL_VIDEO_STABILIZATION_MODE_PREVIEW_STABILIZATION} <p>
|
||||||
|
*
|
||||||
|
* <h5>Preview stabilization guaranteed stream configurations</h5>
|
||||||
|
*
|
||||||
* <table>
|
* <table>
|
||||||
* <tr><th colspan="7">Preview stabilization guaranteed stream configurations</th></tr>
|
|
||||||
* <tr><th colspan="2" id="rb">Target 1</th><th colspan="2" id="rb">Target 2</th><th rowspan="2">Sample use case(s)</th> </tr>
|
* <tr><th colspan="2" id="rb">Target 1</th><th colspan="2" id="rb">Target 2</th><th rowspan="2">Sample use case(s)</th> </tr>
|
||||||
* <tr><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th></tr>
|
* <tr><th>Type</th><th id="rb">Max size</th><th>Type</th><th id="rb">Max size</th></tr>
|
||||||
* <tr> <td>{@code PRIV / YUV}</td><td id="rb">{@code s1440p}</td><td colspan="2" id="rb"></td> <td>Stabilized preview, GPU video processing, or no-preview stabilized video recording.</td> </tr>
|
* <tr> <td>{@code PRIV / YUV}</td><td id="rb">{@code s1440p}</td><td colspan="2" id="rb"></td> <td>Stabilized preview, GPU video processing, or no-preview stabilized video recording.</td> </tr>
|
||||||
|
|||||||
@@ -1213,7 +1213,8 @@ public abstract class CameraMetadata<TKey> {
|
|||||||
* <ul>
|
* <ul>
|
||||||
* <li>Profile {@link android.hardware.camera2.params.DynamicRangeProfiles#HLG10 }</li>
|
* <li>Profile {@link android.hardware.camera2.params.DynamicRangeProfiles#HLG10 }</li>
|
||||||
* <li>All mandatory stream combinations for this specific capability as per
|
* <li>All mandatory stream combinations for this specific capability as per
|
||||||
* documentation {@link android.hardware.camera2.CameraDevice#createCaptureSession }</li>
|
* documentation
|
||||||
|
* {@link android.hardware.camera2.CameraDevice#10-bit-output-additional-guaranteed-configurations }</li>
|
||||||
* <li>In case the device is not able to capture some combination of supported
|
* <li>In case the device is not able to capture some combination of supported
|
||||||
* standard 8-bit and/or 10-bit dynamic range profiles within the same capture request,
|
* standard 8-bit and/or 10-bit dynamic range profiles within the same capture request,
|
||||||
* then those constraints must be listed in
|
* then those constraints must be listed in
|
||||||
@@ -1252,9 +1253,10 @@ public abstract class CameraMetadata<TKey> {
|
|||||||
* </ul>
|
* </ul>
|
||||||
* <p>{@link android.hardware.camera2.CameraCharacteristics#SCALER_AVAILABLE_STREAM_USE_CASES }
|
* <p>{@link android.hardware.camera2.CameraCharacteristics#SCALER_AVAILABLE_STREAM_USE_CASES }
|
||||||
* lists all of the supported stream use cases.</p>
|
* lists all of the supported stream use cases.</p>
|
||||||
* <p>Refer to {@link android.hardware.camera2.CameraDevice#createCaptureSession } for the
|
* <p>Refer to
|
||||||
* mandatory stream combinations involving stream use cases, which can also be queried
|
* {@link android.hardware.camera2.CameraDevice#stream-use-case-capability-additional-guaranteed-configurations }
|
||||||
* via {@link android.hardware.camera2.params.MandatoryStreamCombination }.</p>
|
* for the mandatory stream combinations involving stream use cases, which can also be
|
||||||
|
* queried via {@link android.hardware.camera2.params.MandatoryStreamCombination }.</p>
|
||||||
* @see CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES
|
* @see CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES
|
||||||
*/
|
*/
|
||||||
public static final int REQUEST_AVAILABLE_CAPABILITIES_STREAM_USE_CASE = 19;
|
public static final int REQUEST_AVAILABLE_CAPABILITIES_STREAM_USE_CASE = 19;
|
||||||
@@ -1752,7 +1754,8 @@ public abstract class CameraMetadata<TKey> {
|
|||||||
* <p>This camera device does not have enough capabilities to qualify as a <code>FULL</code> device or
|
* <p>This camera device does not have enough capabilities to qualify as a <code>FULL</code> device or
|
||||||
* better.</p>
|
* better.</p>
|
||||||
* <p>Only the stream configurations listed in the <code>LEGACY</code> and <code>LIMITED</code> tables in the
|
* <p>Only the stream configurations listed in the <code>LEGACY</code> and <code>LIMITED</code> tables in the
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession createCaptureSession} documentation are guaranteed to be supported.</p>
|
* {@link android.hardware.camera2.CameraDevice#limited-level-additional-guaranteed-configurations }
|
||||||
|
* documentation are guaranteed to be supported.</p>
|
||||||
* <p>All <code>LIMITED</code> devices support the <code>BACKWARDS_COMPATIBLE</code> capability, indicating basic
|
* <p>All <code>LIMITED</code> devices support the <code>BACKWARDS_COMPATIBLE</code> capability, indicating basic
|
||||||
* support for color image capture. The only exception is that the device may
|
* support for color image capture. The only exception is that the device may
|
||||||
* alternatively support only the <code>DEPTH_OUTPUT</code> capability, if it can only output depth
|
* alternatively support only the <code>DEPTH_OUTPUT</code> capability, if it can only output depth
|
||||||
@@ -1779,7 +1782,8 @@ public abstract class CameraMetadata<TKey> {
|
|||||||
/**
|
/**
|
||||||
* <p>This camera device is capable of supporting advanced imaging applications.</p>
|
* <p>This camera device is capable of supporting advanced imaging applications.</p>
|
||||||
* <p>The stream configurations listed in the <code>FULL</code>, <code>LEGACY</code> and <code>LIMITED</code> tables in the
|
* <p>The stream configurations listed in the <code>FULL</code>, <code>LEGACY</code> and <code>LIMITED</code> tables in the
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession createCaptureSession} documentation are guaranteed to be supported.</p>
|
* {@link android.hardware.camera2.CameraDevice#full-level-additional-guaranteed-configurations }
|
||||||
|
* documentation are guaranteed to be supported.</p>
|
||||||
* <p>A <code>FULL</code> device will support below capabilities:</p>
|
* <p>A <code>FULL</code> device will support below capabilities:</p>
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li><code>BURST_CAPTURE</code> capability ({@link CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES android.request.availableCapabilities} contains
|
* <li><code>BURST_CAPTURE</code> capability ({@link CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES android.request.availableCapabilities} contains
|
||||||
@@ -1807,7 +1811,9 @@ public abstract class CameraMetadata<TKey> {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>This camera device is running in backward compatibility mode.</p>
|
* <p>This camera device is running in backward compatibility mode.</p>
|
||||||
* <p>Only the stream configurations listed in the <code>LEGACY</code> table in the {@link android.hardware.camera2.CameraDevice#createCaptureSession createCaptureSession} documentation are supported.</p>
|
* <p>Only the stream configurations listed in the <code>LEGACY</code> table in the
|
||||||
|
* {@link android.hardware.camera2.CameraDevice#legacy-level-guaranteed-configurations }
|
||||||
|
* documentation are supported.</p>
|
||||||
* <p>A <code>LEGACY</code> device does not support per-frame control, manual sensor control, manual
|
* <p>A <code>LEGACY</code> device does not support per-frame control, manual sensor control, manual
|
||||||
* post-processing, arbitrary cropping regions, and has relaxed performance constraints.
|
* post-processing, arbitrary cropping regions, and has relaxed performance constraints.
|
||||||
* No additional capabilities beyond <code>BACKWARD_COMPATIBLE</code> will ever be listed by a
|
* No additional capabilities beyond <code>BACKWARD_COMPATIBLE</code> will ever be listed by a
|
||||||
@@ -1830,7 +1836,9 @@ public abstract class CameraMetadata<TKey> {
|
|||||||
* <p>This camera device is capable of YUV reprocessing and RAW data capture, in addition to
|
* <p>This camera device is capable of YUV reprocessing and RAW data capture, in addition to
|
||||||
* FULL-level capabilities.</p>
|
* FULL-level capabilities.</p>
|
||||||
* <p>The stream configurations listed in the <code>LEVEL_3</code>, <code>RAW</code>, <code>FULL</code>, <code>LEGACY</code> and
|
* <p>The stream configurations listed in the <code>LEVEL_3</code>, <code>RAW</code>, <code>FULL</code>, <code>LEGACY</code> and
|
||||||
* <code>LIMITED</code> tables in the {@link android.hardware.camera2.CameraDevice#createCaptureSession createCaptureSession} documentation are guaranteed to be supported.</p>
|
* <code>LIMITED</code> tables in the
|
||||||
|
* {@link android.hardware.camera2.CameraDevice#level-3-additional-guaranteed-configurations }
|
||||||
|
* documentation are guaranteed to be supported.</p>
|
||||||
* <p>The following additional capabilities are guaranteed to be supported:</p>
|
* <p>The following additional capabilities are guaranteed to be supported:</p>
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li><code>YUV_REPROCESSING</code> capability ({@link CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES android.request.availableCapabilities} contains
|
* <li><code>YUV_REPROCESSING</code> capability ({@link CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES android.request.availableCapabilities} contains
|
||||||
|
|||||||
Reference in New Issue
Block a user