Partager via


StreamConfigurationMap.GetHighResolutionOutputSizes(Int32) Method

Definition

Get a list of supported high resolution sizes, which cannot operate at full BURST_CAPTURE rate.

[Android.Runtime.Register("getHighResolutionOutputSizes", "(I)[Landroid/util/Size;", "", ApiSince=23)]
public Android.Util.Size[]? GetHighResolutionOutputSizes (int format);
[<Android.Runtime.Register("getHighResolutionOutputSizes", "(I)[Landroid/util/Size;", "", ApiSince=23)>]
member this.GetHighResolutionOutputSizes : int -> Android.Util.Size[]

Parameters

format
Int32

Returns

Size[]

an array of supported slower high-resolution sizes, or null if the BURST_CAPTURE capability is not supported

Attributes

Remarks

Get a list of supported high resolution sizes, which cannot operate at full BURST_CAPTURE rate.

This includes all output sizes that cannot meet the 20 fps frame rate requirements for the android.hardware.camera2.CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES_BURST_CAPTURE BURST_CAPTURE capability. This does not include the stall duration, so for example, a JPEG or RAW16 output resolution with a large stall duration but a minimum frame duration that's above 20 fps will still be listed in the regular #getOutputSizes list. All the sizes on this list that are less than 24 megapixels are still guaranteed to operate at a rate of at least 10 fps, not including stall duration. Sizes on this list that are at least 24 megapixels are allowed to operate at less than 10 fps.

For a device that does not support the BURST_CAPTURE capability, this list will be null, since resolutions in the #getOutputSizes list are already not guaranteed to meet &gt;= 20 fps rate requirements. For a device that does support the BURST_CAPTURE capability, this list may be empty, if all supported resolutions meet the 20 fps requirement.

Java documentation for android.hardware.camera2.params.StreamConfigurationMap.getHighResolutionOutputSizes(int).

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