Summary: Ctors | Methods | Inherited Methods
public
class
MultiResolutionStreamInfo
extends Object
A utility class describing the properties of one stream of fixed-size image buffers backing a multi-resolution image stream.
A group of MultiResolutionStreamInfo are used to describe the properties of a
multi-resolution image stream for a particular format. The
MultiResolutionImageReader class represents a
multi-resolution output stream, and is constructed using a group of
MultiResolutionStreamInfo. A group of MultiResolutionStreamInfo can also be used
to create a multi-resolution reprocessable camera capture session. See
InputConfiguration for details.
Summary
Public constructors | |
|---|---|
MultiResolutionStreamInfo(int streamWidth, int streamHeight, String physicalCameraId)
Create a new |
|
Public methods | |
|---|---|
boolean
|
equals(Object obj)
Check if this |
int
|
getHeight()
The height of this particular image buffer stream in pixels. |
String
|
getPhysicalCameraId()
The physical camera Id of this particular image buffer stream. |
int
|
getWidth()
The width of this particular image buffer stream in pixels. |
int
|
hashCode()
Returns a hash code value for the object. |
Inherited methods | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
From class
| |||||||||||||||||||||||
Public constructors
Public methods
getHeight
public int getHeight ()
The height of this particular image buffer stream in pixels.
| Returns | |
|---|---|
int |
Value is 1 or greater |
getPhysicalCameraId
public String getPhysicalCameraId ()
The physical camera Id of this particular image buffer stream.
| Returns | |
|---|---|
String |
This value cannot be null. |
getWidth
public int getWidth ()
The width of this particular image buffer stream in pixels.
| Returns | |
|---|---|
int |
Value is 1 or greater |
hashCode
public int hashCode ()
Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
HashMap.
The general contract of hashCode is:
- Whenever it is invoked on the same object more than once during
an execution of a Java application, the
hashCodemethod must consistently return the same integer, provided no information used inequalscomparisons on the object is modified. This integer need not remain consistent from one execution of an application to another execution of the same application. - If two objects are equal according to the
equalsmethod, then calling thehashCodemethod on each of the two objects must produce the same integer result. - It is not required that if two objects are unequal
according to the
equalsmethod, then calling thehashCodemethod on each of the two objects must produce distinct integer results. However, the programmer should be aware that producing distinct integer results for unequal objects may improve the performance of hash tables.
| Returns | |
|---|---|
int |
a hash code value for this object. |