public final class InputConfiguration extends Object
Constructor and Description |
---|
InputConfiguration(int width,
int height,
int format)
Create an input configuration with the width, height, and user-defined format.
|
Modifier and Type | Method and Description |
---|---|
int |
getFormat()
Get the format of this input configuration.
|
int |
getHeight()
Get the height of this input configuration.
|
int |
getWidth()
Get the width of this input configuration.
|
public InputConfiguration(int width, int height, int format)
Images of an user-defined format are accessible by applications. Use
SCameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP
to query supported input formats
width
- Width of the input buffers.height
- Height of the input buffers.format
- Format of the input buffers. One of ImageFormat or PixelFormat constants.ImageFormat
,
PixelFormat
,
SCameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP
public int getWidth()
public int getHeight()
public int getFormat()
Copyright © Samsung Electronics, Co., Ltd. All rights reserved.