@Deprecated
public class YuvBuffer
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
byte[] |
data
Deprecated.
|
int |
height
Deprecated.
|
int |
rotation
Deprecated.
Clockwise rotation in degrees to restore #data to the 'upright' device orientation when the
image was captured.
|
int |
width
Deprecated.
|
| Constructor and Description |
|---|
YuvBuffer(byte[] data,
int width,
int height)
Deprecated.
Create YUV structure from existing data (e.g.
|
YuvBuffer(byte[] data,
int width,
int height,
int rotation)
Deprecated.
Create YUV structure from existing data with rotation (e.g.
|
YuvBuffer(int width,
int height)
Deprecated.
Create YUV data with allocated empty buffer
|
| Modifier and Type | Method and Description |
|---|---|
static YuvBuffer |
fromBuffer(com.yoti.mobile.android.commons.image.ImageBuffer buffer)
Deprecated.
|
static int |
getRequiredBufferSize(int width,
int height)
Deprecated.
|
com.yoti.mobile.android.commons.image.DirectBuffer |
toBuffer()
Deprecated.
|
public byte[] data
public int width
public int height
public int rotation
public YuvBuffer(byte[] data,
int width,
int height)
public YuvBuffer(byte[] data,
int width,
int height,
int rotation)
public YuvBuffer(int width,
int height)
public static int getRequiredBufferSize(int width,
int height)
public com.yoti.mobile.android.commons.image.DirectBuffer toBuffer()
public static YuvBuffer fromBuffer(com.yoti.mobile.android.commons.image.ImageBuffer buffer)