This class exposes ArImage obtained from NDK AImage as android.media.Image interface.
Public Methods
void |
close()
Releases the resource associated with the object.
|
Rect |
getCropRect()
Unsupported, throws
UnsupportedOperationException . |
int |
getFormat()
Returns the format of the image.
|
int |
getHeight()
Returns the height (in pixels) of the image.
|
Plane[] |
getPlanes()
Returns plane(s) of the image.
|
long |
getTimestamp()
Returns the timestamp.
|
int |
getWidth()
Returns the width (in pixels) of the image.
|
void | |
void |
setTimestamp(long timestamp)
Unsupported, throws
UnsupportedOperationException . |
Inherited Methods
Public Methods
public void close ()
Releases the resource associated with the object.
public Rect getCropRect ()
Unsupported, throws UnsupportedOperationException
.
Throws
UnsupportedOperationException | always |
---|
public int getFormat ()
Returns the format of the image.
public int getHeight ()
Returns the height (in pixels) of the image.
public long getTimestamp ()
Returns the timestamp.
public int getWidth ()
Returns the width (in pixels) of the image.
public void setCropRect (Rect cropRect)
Unsupported, throws UnsupportedOperationException
.
Parameters
cropRect |
---|
Throws
UnsupportedOperationException | always |
---|
public void setTimestamp (long timestamp)
Unsupported, throws UnsupportedOperationException
.
Parameters
timestamp |
---|
Throws
UnsupportedOperationException | always |
---|