javax.media.format
Class YUVFormat
java.lang.Object
javax.media.Format
javax.media.format.VideoFormat
javax.media.format.YUVFormat
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class YUVFormat
- extends VideoFormat
Standard JMF class -- see this class in the JMF Javadoc.
Coding complete.
- Author:
- Ken Larson
- See Also:
- Serialized Form
Fields inherited from class javax.media.format.VideoFormat |
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, YUV |
Constructor Summary |
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)
|
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
YUV_411
public static final int YUV_411
- See Also:
- Constant Field Values
YUV_420
public static final int YUV_420
- See Also:
- Constant Field Values
YUV_422
public static final int YUV_422
- See Also:
- Constant Field Values
YUV_111
public static final int YUV_111
- See Also:
- Constant Field Values
YUV_YVU9
public static final int YUV_YVU9
- See Also:
- Constant Field Values
YUV_YUYV
public static final int YUV_YUYV
- See Also:
- Constant Field Values
YUV_SIGNED
public static final int YUV_SIGNED
- See Also:
- Constant Field Values
strideY
protected int strideY
strideUV
protected int strideUV
yuvType
protected int yuvType
offsetY
protected int offsetY
offsetU
protected int offsetU
offsetV
protected int offsetV
YUVFormat
public YUVFormat()
YUVFormat
public YUVFormat(int yuvType)
YUVFormat
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)
getYuvType
public int getYuvType()
getStrideY
public int getStrideY()
getStrideUV
public int getStrideUV()
getOffsetY
public int getOffsetY()
getOffsetU
public int getOffsetU()
getOffsetV
public int getOffsetV()
clone
public java.lang.Object clone()
- Overrides:
clone
in class VideoFormat
copy
protected void copy(Format f)
- Overrides:
copy
in class VideoFormat
equals
public boolean equals(java.lang.Object format)
- Overrides:
equals
in class VideoFormat
matches
public boolean matches(Format format)
- Overrides:
matches
in class VideoFormat
intersects
public Format intersects(Format other)
- Overrides:
intersects
in class VideoFormat
relax
public Format relax()
- Overrides:
relax
in class VideoFormat
toString
public java.lang.String toString()
- Overrides:
toString
in class VideoFormat