Android.Hardware.Camera2.CameraCharacteristics.ScalerStreamConfigurationMap Property
FormatSizeHardware LevelNotes
JPEGCameraCharacteristics.SensorInfoActiveArraySizeAny
JPEG1920x1080 (1080p)Anyif 1080p <= activeArraySize
JPEG1280x720 (720)Anyif 720p <= activeArraySize
JPEG640x480 (480p)Anyif 480p <= activeArraySize
JPEG320x240 (240p)Anyif 240p <= activeArraySize
YUV_420_888all output sizes available for JPEGFULL
YUV_420_888all output sizes available for JPEG, up to the maximum video sizeLIMITED
IMPLEMENTATION_DEFINEDsame as YUV_420_888Any

Syntax

[Android.Runtime.Register("SCALER_STREAM_CONFIGURATION_MAP")]
public static CameraCharacteristics.Key ScalerStreamConfigurationMap { get; }

See Also

CameraCharacteristics.InfoSupportedHardwareLevel
CameraCharacteristics.RequestAvailableCapabilities
CameraCharacteristics.SensorInfoActiveArraySize

Value

Documentation for this section has not yet been entered.

Remarks

FormatSizeHardware LevelNotes
JPEGCameraCharacteristics.SensorInfoActiveArraySizeAny
JPEG1920x1080 (1080p)Anyif 1080p <= activeArraySize
JPEG1280x720 (720)Anyif 720p <= activeArraySize
JPEG640x480 (480p)Anyif 480p <= activeArraySize
JPEG320x240 (240p)Anyif 240p <= activeArraySize
YUV_420_888all output sizes available for JPEGFULL
YUV_420_888all output sizes available for JPEG, up to the maximum video sizeLIMITED
IMPLEMENTATION_DEFINEDsame as YUV_420_888Any

The available stream configurations that this camera device supports; also includes the minimum frame durations and the stall durations for each format/size combination.

All camera devices will support sensor maximum resolution (defined by CameraCharacteristics.SensorInfoActiveArraySize) for the JPEG format.

For a given use case, the actual maximum supported resolution may be lower than what is listed here, depending on the destination Surface for the image data. For example, for recording video, the video encoder chosen may have a maximum size limit (e.g. 1080p) smaller than what the camera (e.g. maximum resolution is 3264x2448) can provide.

Please reference the documentation for the image data destination to check if it limits the maximum size for image data.

The following table describes the minimum required output stream configurations based on the hardware level (CameraCharacteristics.InfoSupportedHardwareLevel):

Refer to CameraCharacteristics.RequestAvailableCapabilities for additional mandatory stream configurations on a per-capability basis.

This key is available on all devices.

[Android Documentation]

Requirements

Namespace: Android.Hardware.Camera2
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0