public class YMFImageBuffer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
mBufSize |
java.nio.ByteBuffer |
mData |
int |
mFormat |
int |
mHeight |
int |
mWidth |
| Constructor and Description |
|---|
YMFImageBuffer(int width,
int height,
int format,
boolean allocMemory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deepCopy(YMFImageBuffer src) |
int |
getUoffset() |
int |
getVoffset() |
int |
getYoffset() |
static int |
offset() |
YMFImageBuffer |
wrap(byte[] buf,
int width,
int height,
int format) |
public int mFormat
public int mWidth
public int mHeight
public int mBufSize
public java.nio.ByteBuffer mData
public YMFImageBuffer(int width,
int height,
int format,
boolean allocMemory)
public static int offset()
public YMFImageBuffer wrap(byte[] buf, int width, int height, int format)
public boolean deepCopy(YMFImageBuffer src)
public int getYoffset()
public int getUoffset()
public int getVoffset()