InputConfiguration Constructors

Definition

Overloads

InputConfiguration(ICollection<MultiResolutionStreamInfo>, Int32)

Create an input configuration with the format and a list of multi-resolution input stream info.

InputConfiguration(Int32, Int32, Int32)

Create an input configuration with the width, height, and user-defined format.

InputConfiguration(ICollection<MultiResolutionStreamInfo>, Int32)

Create an input configuration with the format and a list of multi-resolution input stream info.

[Android.Runtime.Register(".ctor", "(Ljava/util/Collection;I)V", "", ApiSince=31)]
public InputConfiguration (System.Collections.Generic.ICollection<Android.Hardware.Camera2.Params.MultiResolutionStreamInfo> multiResolutionInputs, int format);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Collection;I)V", "", ApiSince=31)>]
new Android.Hardware.Camera2.Params.InputConfiguration : System.Collections.Generic.ICollection<Android.Hardware.Camera2.Params.MultiResolutionStreamInfo> * int -> Android.Hardware.Camera2.Params.InputConfiguration

Parameters

multiResolutionInputs
ICollection<MultiResolutionStreamInfo>

A group of multi-resolution input info for the specified format.

format
Int32

Format of the input buffers. One of ImageFormat or PixelFormat constants.

Attributes

Remarks

Create an input configuration with the format and a list of multi-resolution input stream info.

Use android.hardware.camera2.CameraCharacteristics#SCALER_MULTI_RESOLUTION_STREAM_CONFIGURATION_MAP to query supported multi-resolution input formats.

To do reprocessing with variable resolution input, the application calls android.media.ImageWriter#queueInputImage ImageWriter.queueInputImage using an image from an android.media.ImageReader ImageReader or android.hardware.camera2.MultiResolutionImageReader MultiResolutionImageReader. See android.hardware.camera2.CameraDevice#createReprocessCaptureRequest for more details on camera reprocessing.

Java documentation for android.hardware.camera2.params.InputConfiguration.InputConfiguration(java.util.Collection<android.hardware.camera2.params.MultiResolutionStreamInfo>, 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

InputConfiguration(Int32, Int32, Int32)

Create an input configuration with the width, height, and user-defined format.

[Android.Runtime.Register(".ctor", "(III)V", "", ApiSince=23)]
public InputConfiguration (int width, int height, int format);
[<Android.Runtime.Register(".ctor", "(III)V", "", ApiSince=23)>]
new Android.Hardware.Camera2.Params.InputConfiguration : int * int * int -> Android.Hardware.Camera2.Params.InputConfiguration

Parameters

width
Int32

Width of the input buffers.

height
Int32

Height of the input buffers.

format
Int32

Format of the input buffers. One of ImageFormat or PixelFormat constants.

Attributes

Remarks

Create an input configuration with the width, height, and user-defined format.

Images of a user-defined format are accessible by applications. Use android.hardware.camera2.CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP to query supported input formats

Java documentation for android.hardware.camera2.params.InputConfiguration.InputConfiguration(int, int, 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