MultiResolutionStreamConfigurationMap.GetInputFormats Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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).
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.