net.sf.fmj.media.format
Class PNGFormat

java.lang.Object
  extended by javax.media.Format
      extended by javax.media.format.VideoFormat
          extended by net.sf.fmj.media.format.PNGFormat
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class PNGFormat
extends VideoFormat

PNG video format. Used for MPNG, which is like MJPEG but with PNG.

Author:
Ken Larson
See Also:
Serialized Form

Field Summary
 
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
PNGFormat()
           
PNGFormat(java.awt.Dimension size, int maxDataLength, java.lang.Class dataType, float frameRate)
           
 
Method Summary
 java.lang.Object clone()
           
protected  void copy(Format f)
           
 boolean equals(java.lang.Object format)
           
 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
 

Constructor Detail

PNGFormat

public PNGFormat()

PNGFormat

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

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