Package org.freedesktop.gstreamer.video
Enum Class VideoFieldOrder
- All Implemented Interfaces:
Serializable,Comparable<VideoFieldOrder>,Constable,Enumeration
@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.
- Since:
- 1.12
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionbottom field is firsttop field is firstunknown field order for interlaced content. -
Method Summary
Modifier and TypeMethodDescriptionstatic VideoFieldOrderfromString(String order) Convertorderto aGstVideoFieldOrderstatic @Nullable TypegetType()Get the GType of the VideoFieldOrder classintgetValue()Get the numeric value of this enumstatic VideoFieldOrderof(int value) Create a new VideoFieldOrder for the provided valuestatic VideoFieldOrderof(MemorySegment address) Create a new VideoFieldOrder for the value in the provided memory address.toString()Convert this VideoFieldOrder to its string representation.static VideoFieldOrderReturns 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:
getValuein interfaceEnumeration- Returns:
- the enum value
-
of
Create a new VideoFieldOrder for the value in the provided memory address.- Parameters:
address- the memory address holding a enum value- Returns:
- the enum for the value in the provided memory address
-
getType
Get the GType of the VideoFieldOrder class- Returns:
- the GType
-
fromString
Convertorderto aGstVideoFieldOrder- Parameters:
order- a field order- Returns:
- the
GstVideoFieldOrderoforderorGST_VIDEO_FIELD_ORDER_UNKNOWNwhenorderis not a valid string representation for aGstVideoFieldOrder. - Since:
- 1.12
-
toString
Convert this VideoFieldOrder to its string representation.- Overrides:
toStringin classEnum<VideoFieldOrder>- Returns:
- this VideoFieldOrder as a string.
- Since:
- 1.12
-