|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.media.Format
javax.media.format.VideoFormat
net.java.sip.communicator.impl.neomedia.format.ParameterizedVideoFormat
public class ParameterizedVideoFormat
Implements a VideoFormat with format parameters (like
VideoMediaFormatImpl) (some of) which (could) distinguish payload
types.
| 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 | |
|---|---|
ParameterizedVideoFormat(String encoding,
Dimension size,
int maxDataLength,
Class<?> dataType,
float frameRate,
Map<String,String> fmtps)
Constructs a new ParametizedVideoFormat. |
|
ParameterizedVideoFormat(String encoding,
Map<String,String> fmtps)
Initializes a new ParameterizedVideoFormat with a specific encoding and a specific set of format parameters. |
|
ParameterizedVideoFormat(String encoding,
String... fmtps)
Initializes a new ParameterizedVideoFormat with a specific encoding and a specific set of format parameters. |
|
| Method Summary | ||
|---|---|---|
Object |
clone()
Initializes a new ParameterizedVideoFormat instance which has the same properties as this instance. |
|
protected void |
copy(javax.media.Format f)
Copies the properties of the specified Format into this instance. |
|
boolean |
equals(Object obj)
Determines whether a specific Object represents a value that is equal to the value represented by this instance. |
|
boolean |
formatParametersMatch(javax.media.Format format)
Returns whether or not the format parameters match. |
|
String |
getFormatParameter(String name)
Returns the format parameters value for the specified name. |
|
Map<String,String> |
getFormatParameters()
Returns the format parameters Map. |
|
javax.media.Format |
intersects(javax.media.Format format)
Finds the attributes shared by two matching Formats. |
|
boolean |
matches(javax.media.Format format)
Determines whether a specific format matches this instance i.e. |
|
static
|
toMap(T... entries)
Initializes a new Map from an array in which the key and the value of an association are expressed as consecutive elements. |
|
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 |
|---|
public ParameterizedVideoFormat(String encoding,
Dimension size,
int maxDataLength,
Class<?> dataType,
float frameRate,
Map<String,String> fmtps)
encoding - encodingsize - video sizemaxDataLength - maximum data lengthdataType - data typeframeRate - frame ratefmtps - format parameters
public ParameterizedVideoFormat(String encoding,
Map<String,String> fmtps)
encoding - the encoding of the new instancefmtps - the format parameters of the new instance
public ParameterizedVideoFormat(String encoding,
String... fmtps)
encoding - the encoding of the new instancefmtps - the format parameters of the new instance in the form of an
array of Strings in which the key and the value of an
association are expressed as consecutive elements.| Method Detail |
|---|
public Object clone()
clone in class javax.media.format.VideoFormatprotected void copy(javax.media.Format f)
copy in class javax.media.format.VideoFormatf - the Format the properties of which are to be copied
into this instancepublic boolean equals(Object obj)
equals in class javax.media.format.VideoFormatobj - the Object to be determined whether it represents a
value that is equal to the value represented by this instance
public boolean formatParametersMatch(javax.media.Format format)
format - format to test
public String getFormatParameter(String name)
name - format parameters name
public Map<String,String> getFormatParameters()
public javax.media.Format intersects(javax.media.Format format)
intersects in class javax.media.format.VideoFormatformat - the matching Format to intersect with this one
public boolean matches(javax.media.Format format)
Format.matches(Format).
matches in class javax.media.format.VideoFormatformat - the Format to compare to this instance
public static <T> Map<T,T> toMap(T... entries)
T - the very type of the keys and the values to be associated in
the new Mapentries - the associations to be created in the new Map
where the key and value of an association are expressed as consecutive
elements
public String toString()
toString in class javax.media.format.VideoFormat
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||