public class AVFrameFormat
extends javax.media.format.VideoFormat
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AVFRAME
The encoding of the AVFrameFormat instances.
|
Constructor and Description |
---|
AVFrameFormat()
Initializes a new AVFrameFormat instance with unspecified size,
frame rate and FFmpeg colorspace.
|
AVFrameFormat(java.awt.Dimension size,
float frameRate,
int pixFmt) |
AVFrameFormat(java.awt.Dimension size,
float frameRate,
int pixFmt,
int deviceSystemPixFmt)
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 deviceSystemPixFmt)
Initializes a new AVFrameFormat instance with a specific FFmpeg
colorspace and unspecified size and frame rate.
|
Modifier and Type | Method and Description |
---|---|
java.lang.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(java.lang.Object obj)
Determines whether a specific Object represents a value that is
equal to the value represented by this instance.
|
int |
getDeviceSystemPixFmt()
Gets the DeviceSystem-specific 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.
|
java.lang.String |
toString() |
getFrameRate, getMaxDataLength, getSize, relax
public static final java.lang.String AVFRAME
public AVFrameFormat()
public AVFrameFormat(java.awt.Dimension size, float frameRate, int pixFmt)
public AVFrameFormat(java.awt.Dimension size, float frameRate, int pixFmt, int deviceSystemPixFmt)
size
- the Dimension of the new instanceframeRate
- the frame rate of the new instancepixFmt
- the FFmpeg colorspace to be represented by the new instancedeviceSystemPixFmt
- the DeviceSystem-specific colorspace
to be represented by the new instancepublic AVFrameFormat(int pixFmt)
pixFmt
- the FFmpeg colorspace to be represented by the new instancepublic AVFrameFormat(int pixFmt, int deviceSystemPixFmt)
pixFmt
- the FFmpeg colorspace to be represented by the new instancedeviceSystemPixFmt
- the DeviceSystem-specific colorspace
to be represented by the new instancepublic java.lang.Object clone()
clone
in class javax.media.format.VideoFormat
protected void copy(javax.media.Format f)
copy
in class javax.media.format.VideoFormat
f
- the Format the properties of which are to be copied
into this instancepublic boolean equals(java.lang.Object obj)
equals
in class javax.media.format.VideoFormat
obj
- the Object to be determined whether it represents a
value that is equal to the value represented by this instancepublic int getDeviceSystemPixFmt()
public int getPixFmt()
public int hashCode()
hashCode
in class java.lang.Object
public javax.media.Format intersects(javax.media.Format format)
intersects
in class javax.media.format.VideoFormat
format
- the matching Format to intersect with this onepublic boolean matches(javax.media.Format format)
Format.matches(Format)
.matches
in class javax.media.format.VideoFormat
format
- the Format to compare to this instancepublic java.lang.String toString()
toString
in class javax.media.format.VideoFormat
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.