public class IndexedColorFormat extends VideoFormat
Modifier and Type | Field and Description |
---|---|
protected byte[] |
blueValues |
protected byte[] |
greenValues |
protected int |
lineStride |
protected int |
mapSize |
protected byte[] |
redValues |
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
byteArray, clz, dataType, encoding, FALSE, formatArray, intArray, NOT_SPECIFIED, shortArray, TRUE
Constructor and Description |
---|
IndexedColorFormat(java.awt.Dimension size,
int maxDataLength,
java.lang.Class dataType,
float frameRate,
int lineStride,
int mapSize,
byte[] red,
byte[] green,
byte[] blue) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
protected void |
copy(Format f) |
boolean |
equals(java.lang.Object format) |
byte[] |
getBlueValues() |
byte[] |
getGreenValues() |
int |
getLineStride() |
int |
getMapSize() |
byte[] |
getRedValues() |
Format |
intersects(Format other) |
boolean |
matches(Format format) |
Format |
relax() |
getFrameRate, getMaxDataLength, getSize, toString
getDataType, getEncoding, isSameEncoding, isSameEncoding
protected int lineStride
protected byte[] redValues
protected byte[] greenValues
protected byte[] blueValues
protected int mapSize
public IndexedColorFormat(java.awt.Dimension size, int maxDataLength, java.lang.Class dataType, float frameRate, int lineStride, int mapSize, byte[] red, byte[] green, byte[] blue)
public int getMapSize()
public byte[] getRedValues()
public byte[] getGreenValues()
public byte[] getBlueValues()
public int getLineStride()
public java.lang.Object clone()
clone
in class VideoFormat
protected void copy(Format f)
copy
in class VideoFormat
public boolean equals(java.lang.Object format)
equals
in class VideoFormat
public boolean matches(Format format)
matches
in class VideoFormat
public Format intersects(Format other)
intersects
in class VideoFormat
public Format relax()
relax
in class VideoFormat