public class AVFrameFormat
extends javax.media.format.VideoFormat
| Modifier and Type | Field and Description |
|---|---|
static 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(Dimension size,
float frameRate,
int pixFmt) |
AVFrameFormat(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 |
|---|---|
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 |
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.
|
String |
toString() |
getFrameRate, getMaxDataLength, getSize, relaxpublic static final String AVFRAME
public AVFrameFormat()
public AVFrameFormat(Dimension size, float frameRate, int pixFmt)
public AVFrameFormat(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 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 instancepublic int getDeviceSystemPixFmt()
public int getPixFmt()
public javax.media.Format intersects(javax.media.Format format)
intersects in class javax.media.format.VideoFormatformat - the matching Format to intersect with this onepublic boolean matches(javax.media.Format format)
Format.matches(Format).matches in class javax.media.format.VideoFormatformat - the Format to compare to this instancepublic String toString()
toString in class javax.media.format.VideoFormatCopyright © 2022 jitsi.org. All rights reserved.