Share via


CameraMetadata.RequestAvailableCapabilitiesRemosaicReprocessing Field

Definition

Caution

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

The device supports reprocessing from the RAW_SENSOR format with a bayer pattern given by CameraCharacteristics#SENSOR_INFO_BINNING_FACTOR android.sensor.info.binningFactor (m x n group of pixels with the same color filter) to a remosaiced regular bayer pattern.

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

Field Value

Value = 17
Attributes

Remarks

The device supports reprocessing from the RAW_SENSOR format with a bayer pattern given by CameraCharacteristics#SENSOR_INFO_BINNING_FACTOR android.sensor.info.binningFactor (m x n group of pixels with the same color filter) to a remosaiced regular bayer pattern.

This capability will only be present for devices with android.hardware.camera2.CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_ULTRA_HIGH_RESOLUTION_SENSOR capability. When android.hardware.camera2.CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_ULTRA_HIGH_RESOLUTION_SENSOR devices do not advertise this capability, android.graphics.ImageFormat#RAW_SENSOR images will already have a regular bayer pattern.

If a RAW_SENSOR stream is requested along with another non-RAW stream in a android.hardware.camera2.CaptureRequest (if multiple streams are supported when CaptureRequest#SENSOR_PIXEL_MODE android.sensor.pixelMode is set to android.hardware.camera2.CameraMetadata#SENSOR_PIXEL_MODE_MAXIMUM_RESOLUTION ), the RAW_SENSOR stream will have a regular bayer pattern.

This capability requires the camera device to support the following :

<ul> <li>The android.hardware.camera2.params.StreamConfigurationMap mentioned below refers to the one, described by {@link CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP_MAXIMUM_RESOLUTION android.scaler.streamConfigurationMapMaximumResolution}.</li> <li>One input stream is supported, that is, {@link CameraCharacteristics#REQUEST_MAX_NUM_INPUT_STREAMS android.request.maxNumInputStreams} == 1.</li> <li>android.graphics.ImageFormat#RAW_SENSOR is supported as an output/input format, that is, android.graphics.ImageFormat#RAW_SENSOR is included in the lists of formats returned by android.hardware.camera2.params.StreamConfigurationMap#getInputFormats and android.hardware.camera2.params.StreamConfigurationMap#getOutputFormats .</li> <li>android.hardware.camera2.params.StreamConfigurationMap#getValidOutputFormatsForInput returns non-empty int[] for each supported input format returned by android.hardware.camera2.params.StreamConfigurationMap#getInputFormats .</li> <li>Each size returned by android.hardware.camera2.params.StreamConfigurationMap#getInputSizes getInputSizes(ImageFormat.RAW_SENSOR) is also included in android.hardware.camera2.params.StreamConfigurationMap#getOutputSizes getOutputSizes(ImageFormat.RAW_SENSOR)</li> <li>Using android.graphics.ImageFormat#RAW_SENSOR does not cause a frame rate drop relative to the sensor's maximum capture rate (at that resolution).</li> <li>No CaptureRequest controls will be applicable when a request has an input target with android.graphics.ImageFormat#RAW_SENSOR format.</li> </ul>

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

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