public class RGBFormat extends VideoFormat
| Modifier and Type | Field and Description |
|---|---|
static int |
BIG_ENDIAN |
protected int |
bitsPerPixel |
protected int |
blueMask |
protected int |
endian |
protected int |
flipped |
protected int |
greenMask |
protected int |
lineStride |
static int |
LITTLE_ENDIAN |
protected int |
pixelStride |
protected int |
redMask |
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 |
|---|
RGBFormat() |
RGBFormat(java.awt.Dimension size,
int maxDataLength,
java.lang.Class dataType,
float frameRate,
int bitsPerPixel,
int red,
int green,
int blue) |
RGBFormat(java.awt.Dimension size,
int maxDataLength,
java.lang.Class dataType,
float frameRate,
int bitsPerPixel,
int red,
int green,
int blue,
int pixelStride,
int lineStride,
int flipped,
int endian) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
protected void |
copy(Format f) |
boolean |
equals(java.lang.Object format) |
int |
getBitsPerPixel() |
int |
getBlueMask() |
int |
getEndian() |
int |
getFlipped() |
int |
getGreenMask() |
int |
getLineStride() |
int |
getPixelStride() |
int |
getRedMask() |
Format |
intersects(Format other) |
boolean |
matches(Format format) |
Format |
relax() |
java.lang.String |
toString() |
getFrameRate, getMaxDataLength, getSizegetDataType, getEncoding, isSameEncoding, isSameEncodingprotected int redMask
protected int greenMask
protected int blueMask
protected int bitsPerPixel
protected int pixelStride
protected int lineStride
protected int flipped
protected int endian
public static final int BIG_ENDIAN
public static final int LITTLE_ENDIAN
public RGBFormat()
public RGBFormat(java.awt.Dimension size,
int maxDataLength,
java.lang.Class dataType,
float frameRate,
int bitsPerPixel,
int red,
int green,
int blue)
public RGBFormat(java.awt.Dimension size,
int maxDataLength,
java.lang.Class dataType,
float frameRate,
int bitsPerPixel,
int red,
int green,
int blue,
int pixelStride,
int lineStride,
int flipped,
int endian)
public int getBitsPerPixel()
public int getRedMask()
public int getGreenMask()
public int getBlueMask()
public int getPixelStride()
public int getLineStride()
public int getFlipped()
public int getEndian()
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