com.iristick.smartglass.support.camera2.params
Class InputConfiguration¶
- java.lang.Object
-
- com.iristick.smartglass.support.camera2.params.InputConfiguration
Deprecated.
Not maintained anymore. Please use the
com.iristick.smartglass.core.camera
package instead.@Deprecated public abstract class InputConfiguration extends Object
Immutable class to store an input configuration that is used to create a reprocessable capture
session.
- Since:
- Android API level 23
- See Also:
CameraDevice.createReprocessableCaptureSession(com.iristick.smartglass.support.camera2.params.InputConfiguration, java.util.List<android.view.Surface>, com.iristick.smartglass.support.camera2.CameraCaptureSession.StateCallback, android.os.Handler)
,CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP
Constructor Summary¶
Constructor and Description |
---|
InputConfiguration()
Deprecated.
|
Method Summary¶
Modifier and Type | Method and Description |
---|---|
static InputConfiguration |
create(int width,
int height,
int format)
Deprecated.
Create an input configration with the width, height, and user-defined format.
|
abstract int |
getFormat()
Deprecated.
Get the format of this input configration.
|
abstract int |
getHeight()
Deprecated.
Get the height of this input configration.
|
abstract int |
getWidth()
Deprecated.
Get the width of this input configration.
|
Methods inherited from class java.lang.Object¶
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail¶
InputConfiguration¶
public InputConfiguration()
Deprecated.
Method Detail¶
create¶
public static InputConfiguration create(int width, int height, int format)
Deprecated.
Create an input configration with the width, height, and user-defined format.
Images of an user-defined format are accessible by applications. Use
CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP
to query supported input formats
- Parameters:
width
- Width of the input buffers.height
- Height of the input buffers.format
- Format of the input buffers. One of ImageFormat or PixelFormat constants.- Returns:
- A new
InputConfiguration
instance. - See Also:
ImageFormat
,PixelFormat
,CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP
getWidth¶
public abstract int getWidth()
Deprecated.
Get the width of this input configration.
- Returns:
- width of this input configuration.
getHeight¶
public abstract int getHeight()
Deprecated.
Get the height of this input configration.
- Returns:
- height of this input configuration.
getFormat¶
public abstract int getFormat()
Deprecated.
Get the format of this input configration.
- Returns:
- format of this input configuration.