|
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.codec.video.AVFrameFormat
public class AVFrameFormat
Implements a VideoFormat for a Buffer carrying AVFrame as its data. While the AVFrameFormat class is not strictly necessary and VideoFormat could have be directly used, it is conceived as an appropriate way to avoid possible matching with other VideoFormats and a very obvious one.
| Field Summary | |
|---|---|
static String |
AVFRAME
The encoding of the AVFrameFormat instances. |
| 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 | |
|---|---|
AVFrameFormat()
Initializes a new AVFrameFormat instance with unspecified size, frame rate and FFmpeg colorspace. |
|
AVFrameFormat(Dimension size,
float frameRate,
int pixFmt,
int devicePixFmt)
Initializes a new AVFrameFormat instance with specific size, frame rate and FFmpeg colorspace. |
|
AVFrameFormat(int pixFmt)
Initializes a new AVFrameFormat instance with a specific FFmpeg colorspace and unspecified size and frame rate. |
|
AVFrameFormat(int pixFmt,
int devicePixFmt)
Initializes a new AVFrameFormat instance with a specific FFmpeg colorspace and unspecified size and frame rate. |
|
| Method Summary | |
|---|---|
Object |
clone()
Initializes a new AVFrameFormat 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. |
int |
getDevicePixFmt()
Gets the native capture device format represented by this instance. |
int |
getPixFmt()
Gets the native FFmpeg format represented by this instance. |
int |
hashCode()
|
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. |
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, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String AVFRAME
| Constructor Detail |
|---|
public AVFrameFormat()
public AVFrameFormat(int pixFmt)
pixFmt - the FFmpeg colorspace to be represented by the new instance
public AVFrameFormat(int pixFmt,
int devicePixFmt)
pixFmt - the FFmpeg colorspace to be represented by the new instancedevicePixFmt - the capture device colorspace to be represented by
the new instance
public AVFrameFormat(Dimension size,
float frameRate,
int pixFmt,
int devicePixFmt)
size - the Dimension of the new instanceframeRate - the frame rate of the new instancepixFmt - the FFmpeg colorspace to be represented by the new instancedevicePixFmt - the capture device colorspace to be represented by
the new instance| 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 int getPixFmt()
public int getDevicePixFmt()
public int hashCode()
hashCode in class Objectpublic 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 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 | |||||||||