Freigeben über


MultiResolutionStreamConfigurationMap.GetInputFormats Method

Definition

Get the input formats in this multi-resolution stream configuration.

[Android.Runtime.Register("getInputFormats", "()[I", "", ApiSince=31)]
public int[] GetInputFormats ();
[<Android.Runtime.Register("getInputFormats", "()[I", "", ApiSince=31)>]
member this.GetInputFormats : unit -> int[]

Returns

Int32[]

an array of integer format, or empty array if no multi-resolution reprocessing is supported

Attributes

Remarks

Get the input formats in this multi-resolution stream configuration.

A logical multi-camera or ultra high resolution sensor camera may support reprocessing images of different resolutions when switching between physical cameras, or between different modes of the ultra high resolution sensor camera. This function returns the formats supported for such case.

The supported output format for an input format can be queried by calling the camera device's StreamConfigurationMap#getValidOutputFormatsForInput.

All image formats returned by this function will be defined in either ImageFormat or in PixelFormat (and there is no possibility of collision).

Java documentation for android.hardware.camera2.params.MultiResolutionStreamConfigurationMap.getInputFormats().

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