Share via


CameraMetadata.ScalerAvailableStreamUseCasesCroppedRaw Field

Definition

Caution

This constant will be removed in the future version. Use Android.Hardware.Camera2.ScalerAvailableStreamUseCases enum directly instead of this field.

Cropped RAW stream when the client chooses to crop the field of view.

[Android.Runtime.Register("SCALER_AVAILABLE_STREAM_USE_CASES_CROPPED_RAW", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.ScalerAvailableStreamUseCases enum directly instead of this field.", true)]
public const Android.Hardware.Camera2.ScalerAvailableStreamUseCases ScalerAvailableStreamUseCasesCroppedRaw = 6;
[<Android.Runtime.Register("SCALER_AVAILABLE_STREAM_USE_CASES_CROPPED_RAW", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.ScalerAvailableStreamUseCases enum directly instead of this field.", true)>]
val mutable ScalerAvailableStreamUseCasesCroppedRaw : Android.Hardware.Camera2.ScalerAvailableStreamUseCases

Field Value

Value = 6
Attributes

Remarks

Cropped RAW stream when the client chooses to crop the field of view.

Certain types of image sensors can run in binned modes in order to improve signal to noise ratio while capturing frames. However, at certain zoom levels and / or when other scene conditions are deemed fit, the camera sub-system may choose to un-bin and remosaic the sensor's output. This results in a RAW frame which is cropped in field of view and yet has the same number of pixels as full field of view RAW, thereby improving image detail.

The resultant field of view of the RAW stream will be greater than or equal to croppable non-RAW streams. The effective crop region for this RAW stream will be reflected in the CaptureResult key CaptureResult#SCALER_RAW_CROP_REGION android.scaler.rawCropRegion.

If this stream use case is set on a non-RAW stream, i.e. not one of :

<ul> <li>android.graphics.ImageFormat#RAW_SENSOR RAW_SENSOR</li> <li>android.graphics.ImageFormat#RAW10 RAW10</li> <li>android.graphics.ImageFormat#RAW12 RAW12</li> </ul>

session configuration is not guaranteed to succeed.

This stream use case may not be supported on some devices.

Java documentation for android.hardware.camera2.CameraMetadata.SCALER_AVAILABLE_STREAM_USE_CASES_CROPPED_RAW.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to