Package org.freedesktop.gstreamer.video
Enum Class VideoFieldOrder
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<VideoFieldOrder>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum VideoFieldOrder
extends Enum<VideoFieldOrder>
implements Enumeration
Field order of interlaced content. This is only valid for
interlace-mode=interleaved and not interlace-mode=mixed. In the case of
mixed or GST_VIDEO_FIELD_ORDER_UNKOWN, the field order is signalled via
buffer flags.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionbottom field is firsttop field is firstunknown field order for interlaced content. -
Method Summary
Modifier and TypeMethodDescriptionstatic VideoFieldOrder
fromString
(String order) Convertorder
to aGstVideoFieldOrder
static Type
getType()
Get the GType of the VideoFieldOrder classint
getValue()
Get the numeric value of this enumstatic VideoFieldOrder
of
(int value) Create a new VideoFieldOrder for the provided valuetoString()
Convert this VideoFieldOrder to its string representation.static VideoFieldOrder
Returns the enum constant of this class with the specified name.static VideoFieldOrder[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
unknown field order for interlaced content. The actual field order is signalled via buffer flags. -
TOP_FIELD_FIRST
top field is first -
BOTTOM_FIELD_FIRST
bottom field is first
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Create a new VideoFieldOrder for the provided value- Parameters:
value
- the enum value- Returns:
- the enum for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-
getType
-
fromString
Convertorder
to aGstVideoFieldOrder
- Parameters:
order
- a field order- Returns:
- the
GstVideoFieldOrder
oforder
orGST_VIDEO_FIELD_ORDER_UNKNOWN
whenorder
is not a valid string representation for aGstVideoFieldOrder
.
-
toString
Convert this VideoFieldOrder to its string representation.- Overrides:
toString
in classEnum<VideoFieldOrder>
- Returns:
- this VideoFieldOrder as a string.
-