org.mobicents.media.format
Class VideoFormat

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

public class VideoFormat
extends Format

Standard JMF class -- see this class in the JMF Javadoc. Coding complete. Frame rate is in frames per second.

Author:
Ken Larson
See Also:
Serialized Form

Field Summary
static java.lang.String CINEPAK
           
static java.lang.String H261
           
static java.lang.String H261_RTP
           
static java.lang.String H263
           
static java.lang.String H263_1998_RTP
           
static java.lang.String H263_RTP
           
static java.lang.String INDEO32
           
static java.lang.String INDEO41
           
static java.lang.String INDEO50
           
static java.lang.String IRGB
           
static java.lang.String JPEG
           
static java.lang.String JPEG_RTP
           
protected  int maxDataLength
           
static java.lang.String MJPEGA
           
static java.lang.String MJPEGB
           
static java.lang.String MJPG
           
static java.lang.String MPEG
           
static java.lang.String MPEG_RTP
           
static java.lang.String RGB
           
static java.lang.String RLE
           
static java.lang.String RPZA
           
static java.lang.String SMC
           
static java.lang.String YUV
           
 
Fields inherited from class org.mobicents.media.Format
ANY, encoding, FALSE, FORMAT_HASHMAP_DEFAULT_INITIAL_CAPACITY, FORMAT_HASHMAP_DEFAULT_LOAD_FACTOR, frameRate, NOT_SPECIFIED, RAW_RTP, TRUE
 
Constructor Summary
VideoFormat(java.lang.String encoding)
           
VideoFormat(java.lang.String encoding, float frameRate, int clockRate)
           
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object format)
           
 int getClockRate()
           
 int getMaxDataLength()
           
 int hashCode()
           
 boolean matches(Format format)
           
 Format relax()
           
 java.lang.String toString()
           
 
Methods inherited from class org.mobicents.media.Format
getEncoding, getFrameRate, isSameEncoding, isSameEncoding, setFrameRate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

maxDataLength

protected int maxDataLength

CINEPAK

public static final java.lang.String CINEPAK
See Also:
Constant Field Values

JPEG

public static final java.lang.String JPEG
See Also:
Constant Field Values

JPEG_RTP

public static final java.lang.String JPEG_RTP
See Also:
Constant Field Values

MPEG

public static final java.lang.String MPEG
See Also:
Constant Field Values

MPEG_RTP

public static final java.lang.String MPEG_RTP
See Also:
Constant Field Values

H261

public static final java.lang.String H261
See Also:
Constant Field Values

H261_RTP

public static final java.lang.String H261_RTP
See Also:
Constant Field Values

H263

public static final java.lang.String H263
See Also:
Constant Field Values

H263_RTP

public static final java.lang.String H263_RTP
See Also:
Constant Field Values

H263_1998_RTP

public static final java.lang.String H263_1998_RTP
See Also:
Constant Field Values

RGB

public static final java.lang.String RGB
See Also:
Constant Field Values

YUV

public static final java.lang.String YUV
See Also:
Constant Field Values

IRGB

public static final java.lang.String IRGB
See Also:
Constant Field Values

SMC

public static final java.lang.String SMC
See Also:
Constant Field Values

RLE

public static final java.lang.String RLE
See Also:
Constant Field Values

RPZA

public static final java.lang.String RPZA
See Also:
Constant Field Values

MJPG

public static final java.lang.String MJPG
See Also:
Constant Field Values

MJPEGA

public static final java.lang.String MJPEGA
See Also:
Constant Field Values

MJPEGB

public static final java.lang.String MJPEGB
See Also:
Constant Field Values

INDEO32

public static final java.lang.String INDEO32
See Also:
Constant Field Values

INDEO41

public static final java.lang.String INDEO41
See Also:
Constant Field Values

INDEO50

public static final java.lang.String INDEO50
See Also:
Constant Field Values
Constructor Detail

VideoFormat

public VideoFormat(java.lang.String encoding)

VideoFormat

public VideoFormat(java.lang.String encoding,
                   float frameRate,
                   int clockRate)
Method Detail

getClockRate

public int getClockRate()

getMaxDataLength

public int getMaxDataLength()

clone

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

toString

public java.lang.String toString()
Overrides:
toString in class Format

equals

public boolean equals(java.lang.Object format)
Overrides:
equals in class Format

hashCode

public int hashCode()
Overrides:
hashCode in class Format

matches

public boolean matches(Format format)
Overrides:
matches in class Format

relax

public Format relax()
Overrides:
relax in class Format


Copyright © 2010. All Rights Reserved.