javax.media.format
Class IndexedColorFormat
java.lang.Object
javax.media.Format
javax.media.format.VideoFormat
javax.media.format.IndexedColorFormat
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class IndexedColorFormat
- 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 |
IndexedColorFormat(java.awt.Dimension size,
int maxDataLength,
java.lang.Class dataType,
float frameRate,
int lineStride,
int mapSize,
byte[] red,
byte[] green,
byte[] blue)
|
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
lineStride
protected int lineStride
redValues
protected byte[] redValues
greenValues
protected byte[] greenValues
blueValues
protected byte[] blueValues
mapSize
protected int mapSize
IndexedColorFormat
public IndexedColorFormat(java.awt.Dimension size,
int maxDataLength,
java.lang.Class dataType,
float frameRate,
int lineStride,
int mapSize,
byte[] red,
byte[] green,
byte[] blue)
getMapSize
public int getMapSize()
getRedValues
public byte[] getRedValues()
getGreenValues
public byte[] getGreenValues()
getBlueValues
public byte[] getBlueValues()
getLineStride
public int getLineStride()
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