The height of the bitmap.
height of image from {@link #renderThumbnail()}
width of image from {@link #renderThumbnail()}
The width of the bitmap.
Whether this subclass supports counter-clockwise rotation.
Returns a new object with rotated image data by 90 degrees counterclockwise. Only callable if {@link #isRotateSupported()} is true.
A rotated version of this object.
Returns a new object with rotated image data by 45 degrees counterclockwise. Only callable if {@link #isRotateSupported()} is true.
A rotated version of this object.
Generated using TypeDoc
This object extends LuminanceSource around an array of YUV data returned from the camera driver, with the option to crop to a rectangle within the full data. This can be used to exclude superfluous pixels around the perimeter and speed up decoding.
It works for any pixel format where the Y channel is planar and appears first, including YCbCr_420_SP and YCbCr_422_SP.
dswitkin@google.com (Daniel Switkin)