public class YMFImageBuffer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
mBufSize |
int |
mCropRight |
java.nio.ByteBuffer |
mData |
long |
mDts |
int |
mFormat |
boolean |
mHardware |
int |
mHeight |
long |
mPts |
long |
mStreamId |
int |
mWidth |
| Constructor and Description |
|---|
YMFImageBuffer(int width,
int height,
int format,
boolean allocMemory) |
| Modifier and Type | Method and Description |
|---|---|
YMFImageBuffer |
assign(java.nio.ByteBuffer buffer,
int width,
int height,
int format,
long pts,
long dts,
boolean hw,
long streamId,
int cropRight) |
YMFImageBuffer |
assign(YMFImageBuffer src) |
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 mCropRight
public int mBufSize
public long mPts
public long mDts
public long mStreamId
public boolean mHardware
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 YMFImageBuffer assign(java.nio.ByteBuffer buffer, int width, int height, int format, long pts, long dts, boolean hw, long streamId, int cropRight)
public YMFImageBuffer assign(YMFImageBuffer src)
public boolean deepCopy(YMFImageBuffer src)
public int getYoffset()
public int getUoffset()
public int getVoffset()