Merge "Camera: document multiResolution raw behavior" into tm-dev
This commit is contained in:
@@ -3513,7 +3513,7 @@ public final class CameraCharacteristics extends CameraMetadata<CameraCharacteri
|
|||||||
* <p>An array of mandatory stream combinations which are applicable when device support the
|
* <p>An array of mandatory stream combinations which are applicable when device support the
|
||||||
* 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 maximum resolution 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#createCaptureSession 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
|
||||||
@@ -3538,8 +3538,8 @@ 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 maximum resolution mandatory stream combination
|
* This is an app-readable conversion of the preview stabilization mandatory stream
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession tables}.</p>
|
* combination {@link android.hardware.camera2.CameraDevice#createCaptureSession 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
|
||||||
|
|||||||
@@ -1000,24 +1000,25 @@ public abstract class CameraMetadata<TKey> {
|
|||||||
* camera's crop region is set to maximum size, the FOV of the physical streams for the
|
* camera's crop region is set to maximum size, the FOV of the physical streams for the
|
||||||
* ultrawide lens will be the same as the logical stream, by making the crop region
|
* ultrawide lens will be the same as the logical stream, by making the crop region
|
||||||
* smaller than its active array size to compensate for the smaller focal length.</p>
|
* smaller than its active array size to compensate for the smaller focal length.</p>
|
||||||
* <p>There are two ways for the application to capture RAW images from a logical camera
|
* <p>For a logical camera, typically the underlying physical cameras have different RAW
|
||||||
* with RAW capability:</p>
|
* capabilities (such as resolution or CFA pattern). There are two ways for the
|
||||||
|
* application to capture RAW images from the logical camera:</p>
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>Because the underlying physical cameras may have different RAW capabilities (such
|
* <li>If the logical camera has RAW capability, the application can create and use RAW
|
||||||
* as resolution or CFA pattern), to maintain backward compatibility, when a RAW stream
|
* streams in the same way as before. In case a RAW stream is configured, to maintain
|
||||||
* is configured, the camera device makes sure the default active physical camera remains
|
* backward compatibility, the camera device makes sure the default active physical
|
||||||
* active and does not switch to other physical cameras. (One exception is that, if the
|
* camera remains active and does not switch to other physical cameras. (One exception
|
||||||
* logical camera consists of identical image sensors and advertises multiple focalLength
|
* is that, if the logical camera consists of identical image sensors and advertises
|
||||||
* due to different lenses, the camera device may generate RAW images from different
|
* multiple focalLength due to different lenses, the camera device may generate RAW
|
||||||
* physical cameras based on the focalLength being set by the application.) This
|
* images from different physical cameras based on the focalLength being set by the
|
||||||
* backward-compatible approach usually results in loss of optical zoom, to telephoto
|
* application.) This backward-compatible approach usually results in loss of optical
|
||||||
* lens or to ultrawide lens.</li>
|
* zoom, to telephoto lens or to ultrawide lens.</li>
|
||||||
* <li>Alternatively, to take advantage of the full zoomRatio range of the logical camera,
|
* <li>Alternatively, if supported by the device,
|
||||||
* the application should use {@link android.hardware.camera2.MultiResolutionImageReader }
|
* {@link android.hardware.camera2.MultiResolutionImageReader }
|
||||||
* to capture RAW images from the currently active physical camera. Because different
|
* can be used to capture RAW images from one of the underlying physical cameras (
|
||||||
* physical camera may have different RAW characteristics, the application needs to use
|
* depending on current zoom level). Because different physical cameras may have
|
||||||
* the characteristics and result metadata of the active physical camera for the
|
* different RAW characteristics, the application needs to use the characteristics
|
||||||
* relevant RAW metadata.</li>
|
* and result metadata of the active physical camera for the relevant RAW metadata.</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
* <p>The capture request and result metadata tags required for backward compatible camera
|
* <p>The capture request and result metadata tags required for backward compatible camera
|
||||||
* functionalities will be solely based on the logical camera capability. On the other
|
* functionalities will be solely based on the logical camera capability. On the other
|
||||||
|
|||||||
Reference in New Issue
Block a user