javax.media.format
Class RGBFormat
java.lang.Object
javax.media.Format
javax.media.format.VideoFormat
javax.media.format.RGBFormat
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class RGBFormat
- 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 |
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)
|
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
redMask
protected int redMask
greenMask
protected int greenMask
blueMask
protected int blueMask
bitsPerPixel
protected int bitsPerPixel
pixelStride
protected int pixelStride
lineStride
protected int lineStride
flipped
protected int flipped
endian
protected int endian
BIG_ENDIAN
public static final int BIG_ENDIAN
- See Also:
- Constant Field Values
LITTLE_ENDIAN
public static final int LITTLE_ENDIAN
- See Also:
- Constant Field Values
RGBFormat
public RGBFormat()
RGBFormat
public RGBFormat(java.awt.Dimension size,
int maxDataLength,
java.lang.Class dataType,
float frameRate,
int bitsPerPixel,
int red,
int green,
int blue)
RGBFormat
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)
getBitsPerPixel
public int getBitsPerPixel()
getRedMask
public int getRedMask()
getGreenMask
public int getGreenMask()
getBlueMask
public int getBlueMask()
getPixelStride
public int getPixelStride()
getLineStride
public int getLineStride()
getFlipped
public int getFlipped()
getEndian
public int getEndian()
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