javax.media.format
Class JPEGFormat

java.lang.Object
  extended by javax.media.Format
      extended by javax.media.format.VideoFormat
          extended by javax.media.format.JPEGFormat
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class JPEGFormat
extends VideoFormat

Standard JMF class -- see this class in the JMF Javadoc. Coding complete.

Author:
Ken Larson
See Also:
Serialized Form

Field Summary
static int DEC_402
           
static int DEC_411
           
static int DEC_420
           
static int DEC_422
           
static int DEC_444
           
 
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
 
Fields inherited from class javax.media.Format
byteArray, clz, dataType, encoding, FALSE, formatArray, intArray, NOT_SPECIFIED, shortArray, TRUE
 
Constructor Summary
JPEGFormat()
           
JPEGFormat(java.awt.Dimension size, int maxDataLength, java.lang.Class dataType, float frameRate, int q, int dec)
           
 
Method Summary
 java.lang.Object clone()
           
protected  void copy(Format f)
           
 boolean equals(java.lang.Object format)
           
 int getDecimation()
           
 int getQFactor()
           
 Format intersects(Format other)
           
 boolean matches(Format format)
           
 java.lang.String toString()
           
 
Methods inherited from class javax.media.format.VideoFormat
getFrameRate, getMaxDataLength, getSize, relax
 
Methods inherited from class javax.media.Format
getDataType, getEncoding, isSameEncoding, isSameEncoding
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEC_422

public static final int DEC_422
See Also:
Constant Field Values

DEC_420

public static final int DEC_420
See Also:
Constant Field Values

DEC_444

public static final int DEC_444
See Also:
Constant Field Values

DEC_402

public static final int DEC_402
See Also:
Constant Field Values

DEC_411

public static final int DEC_411
See Also:
Constant Field Values
Constructor Detail

JPEGFormat

public JPEGFormat()

JPEGFormat

public JPEGFormat(java.awt.Dimension size,
                  int maxDataLength,
                  java.lang.Class dataType,
                  float frameRate,
                  int q,
                  int dec)
Method Detail

getQFactor

public int getQFactor()

getDecimation

public int getDecimation()

clone

public java.lang.Object clone()
Overrides:
clone in class VideoFormat

copy

protected void copy(Format f)
Overrides:
copy in class VideoFormat

toString

public java.lang.String toString()
Overrides:
toString 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