public class YUVFormat extends VideoFormat
| Modifier and Type | Field and Description |
|---|---|
protected int |
offsetU |
protected int |
offsetV |
protected int |
offsetY |
protected int |
strideUV |
protected int |
strideY |
static int |
YUV_111 |
static int |
YUV_411 |
static int |
YUV_420 |
static int |
YUV_422 |
static int |
YUV_SIGNED |
static int |
YUV_YUYV |
static int |
YUV_YVU9 |
protected int |
yuvType |
CINEPAK, frameRate, H261, H261_RTP, H263, H263_1998_RTP, H263_RTP, INDEO32, INDEO41, INDEO50, IRGB, JPEG, JPEG_RTP, maxDataLength, MJPEGA, MJPEGB, MJPG, MPEG, MPEG_RTP, RGB, RLE, RPZA, size, SMC, YUVbyteArray, clz, dataType, encoding, FALSE, formatArray, intArray, NOT_SPECIFIED, shortArray, TRUE| Constructor and Description |
|---|
YUVFormat() |
YUVFormat(java.awt.Dimension size,
int maxDataLength,
java.lang.Class dataType,
float frameRate,
int yuvType,
int strideY,
int strideUV,
int offsetY,
int offsetU,
int offsetV) |
YUVFormat(int yuvType) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
protected void |
copy(Format f) |
boolean |
equals(java.lang.Object format) |
int |
getOffsetU() |
int |
getOffsetV() |
int |
getOffsetY() |
int |
getStrideUV() |
int |
getStrideY() |
int |
getYuvType() |
Format |
intersects(Format other) |
boolean |
matches(Format format) |
Format |
relax() |
java.lang.String |
toString() |
getFrameRate, getMaxDataLength, getSizegetDataType, getEncoding, isSameEncoding, isSameEncodingpublic static final int YUV_411
public static final int YUV_420
public static final int YUV_422
public static final int YUV_111
public static final int YUV_YVU9
public static final int YUV_YUYV
public static final int YUV_SIGNED
protected int strideY
protected int strideUV
protected int yuvType
protected int offsetY
protected int offsetU
protected int offsetV
public YUVFormat()
public YUVFormat(int yuvType)
public YUVFormat(java.awt.Dimension size,
int maxDataLength,
java.lang.Class dataType,
float frameRate,
int yuvType,
int strideY,
int strideUV,
int offsetY,
int offsetU,
int offsetV)
public int getYuvType()
public int getStrideY()
public int getStrideUV()
public int getOffsetY()
public int getOffsetU()
public int getOffsetV()
public java.lang.Object clone()
clone in class VideoFormatprotected void copy(Format f)
copy in class VideoFormatpublic boolean equals(java.lang.Object format)
equals in class VideoFormatpublic boolean matches(Format format)
matches in class VideoFormatpublic Format intersects(Format other)
intersects in class VideoFormatpublic Format relax()
relax in class VideoFormatpublic java.lang.String toString()
toString in class VideoFormat