Merge "Merge "Mandatory concurrent stream combinations should be generated by metadata-generate." into rvc-dev am: af0910c0eb am: 83ea23513b" into rvc-d1-dev-plus-aosp am: 515cea6fed
Change-Id: Idfd30172fefd42904d27537fbc94d47589f194ac
This commit is contained in:
@@ -2859,6 +2859,29 @@ public final class CameraCharacteristics extends CameraMetadata<CameraCharacteri
|
|||||||
public static final Key<android.hardware.camera2.params.MandatoryStreamCombination[]> SCALER_MANDATORY_STREAM_COMBINATIONS =
|
public static final Key<android.hardware.camera2.params.MandatoryStreamCombination[]> SCALER_MANDATORY_STREAM_COMBINATIONS =
|
||||||
new Key<android.hardware.camera2.params.MandatoryStreamCombination[]>("android.scaler.mandatoryStreamCombinations", android.hardware.camera2.params.MandatoryStreamCombination[].class);
|
new Key<android.hardware.camera2.params.MandatoryStreamCombination[]>("android.scaler.mandatoryStreamCombinations", android.hardware.camera2.params.MandatoryStreamCombination[].class);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>An array of mandatory concurrent stream combinations.
|
||||||
|
* This is an app-readable conversion of the concurrent mandatory stream combination
|
||||||
|
* {@link android.hardware.camera2.CameraDevice#createCaptureSession tables}.</p>
|
||||||
|
* <p>The array of
|
||||||
|
* {@link android.hardware.camera2.params.MandatoryStreamCombination combinations} is
|
||||||
|
* generated according to the documented
|
||||||
|
* {@link android.hardware.camera2.CameraDevice#createCaptureSession guideline} for each
|
||||||
|
* device which has its Id present in the set returned by
|
||||||
|
* {@link android.hardware.camera2.CameraManager#getConcurrentCameraIds }.
|
||||||
|
* Clients can use the array as a quick reference to find an appropriate camera stream
|
||||||
|
* combination.
|
||||||
|
* The mandatory stream combination array will be {@code null} in case the device is not a
|
||||||
|
* part of at least one set of combinations returned by
|
||||||
|
* {@link android.hardware.camera2.CameraManager#getConcurrentCameraIds }.</p>
|
||||||
|
* <p><b>Optional</b> - The value for this key may be {@code null} on some devices.</p>
|
||||||
|
*/
|
||||||
|
@PublicKey
|
||||||
|
@NonNull
|
||||||
|
@SyntheticKey
|
||||||
|
public static final Key<android.hardware.camera2.params.MandatoryStreamCombination[]> SCALER_MANDATORY_CONCURRENT_STREAM_COMBINATIONS =
|
||||||
|
new Key<android.hardware.camera2.params.MandatoryStreamCombination[]>("android.scaler.mandatoryConcurrentStreamCombinations", android.hardware.camera2.params.MandatoryStreamCombination[].class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>List of rotate-and-crop modes for {@link CaptureRequest#SCALER_ROTATE_AND_CROP android.scaler.rotateAndCrop} that are supported by this camera device.</p>
|
* <p>List of rotate-and-crop modes for {@link CaptureRequest#SCALER_ROTATE_AND_CROP android.scaler.rotateAndCrop} that are supported by this camera device.</p>
|
||||||
* <p>This entry lists the valid modes for {@link CaptureRequest#SCALER_ROTATE_AND_CROP android.scaler.rotateAndCrop} for this camera device.</p>
|
* <p>This entry lists the valid modes for {@link CaptureRequest#SCALER_ROTATE_AND_CROP android.scaler.rotateAndCrop} for this camera device.</p>
|
||||||
@@ -2875,28 +2898,7 @@ public final class CameraCharacteristics extends CameraMetadata<CameraCharacteri
|
|||||||
@NonNull
|
@NonNull
|
||||||
public static final Key<int[]> SCALER_AVAILABLE_ROTATE_AND_CROP_MODES =
|
public static final Key<int[]> SCALER_AVAILABLE_ROTATE_AND_CROP_MODES =
|
||||||
new Key<int[]>("android.scaler.availableRotateAndCropModes", int[].class);
|
new Key<int[]>("android.scaler.availableRotateAndCropModes", int[].class);
|
||||||
/**
|
|
||||||
* <p>An array of mandatory concurrent stream combinations.
|
|
||||||
* This is an app-readable conversion of the concurrent mandatory stream combination
|
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession tables}.</p>
|
|
||||||
* <p>The array of
|
|
||||||
* {@link android.hardware.camera2.params.MandatoryStreamCombination combinations} is
|
|
||||||
* generated according to the documented
|
|
||||||
* {@link android.hardware.camera2.CameraDevice#createCaptureSession guideline} for each device
|
|
||||||
* which has its Id present in the set returned by
|
|
||||||
* {@link android.hardware.camera2.CameraManager#getConcurrentCameraIds}.
|
|
||||||
* Clients can use the array as a quick reference to find an appropriate camera stream
|
|
||||||
* combination.
|
|
||||||
* The mandatory stream combination array will be {@code null} in case the device is not a part
|
|
||||||
* of at least one set of combinations returned by
|
|
||||||
* {@link android.hardware.camera2.CameraManager#getConcurrentCameraIds}.</p>
|
|
||||||
* <p><b>Optional</b> - The value for this key may be {@code null} on some devices.</p>
|
|
||||||
*/
|
|
||||||
@PublicKey
|
|
||||||
@NonNull
|
|
||||||
@SyntheticKey
|
|
||||||
public static final Key<android.hardware.camera2.params.MandatoryStreamCombination[]> SCALER_MANDATORY_CONCURRENT_STREAM_COMBINATIONS =
|
|
||||||
new Key<android.hardware.camera2.params.MandatoryStreamCombination[]>("android.scaler.mandatoryConcurrentStreamCombinations", android.hardware.camera2.params.MandatoryStreamCombination[].class);
|
|
||||||
/**
|
/**
|
||||||
* <p>The area of the image sensor which corresponds to active pixels after any geometric
|
* <p>The area of the image sensor which corresponds to active pixels after any geometric
|
||||||
* distortion correction has been applied.</p>
|
* distortion correction has been applied.</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user