Package org.freedesktop.gstreamer.video
Enum Class VideoFrameFlags
- All Implemented Interfaces:
Serializable,Comparable<VideoFrameFlags>,Constable,Enumeration
@Generated("io.github.jwharm.JavaGI")
public enum VideoFrameFlags
extends Enum<VideoFrameFlags>
implements Enumeration
Extra video frame flags
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe video frame is the first in a set of corresponding views provided as sequential frames.The video frame is interlaced.The video contains one or more non-mono viewsno flagsThe video frame has one fieldThe video frame has the repeat flagThe video frame has the top field firstThe video frame has the top field only. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VideoFrameFlagsThe video frame has the bottom field only. -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable TypegetType()Get the GType of the VideoFrameFlags classintgetValue()Get the numeric value of this enumstatic Set<VideoFrameFlags> of(int flags) Create a newEnumSet<VideoFrameFlags>for the provided bitfieldstatic Set<VideoFrameFlags> of(MemorySegment address) Create a newEnumSet<VideoFrameFlags>for the bitfield in the provided memory address.static VideoFrameFlagsReturns the enum constant of this class with the specified name.static VideoFrameFlags[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
no flags -
INTERLACED
The video frame is interlaced. In mixed interlace-mode, this flag specifies if the frame is interlaced or progressive. -
TFF
The video frame has the top field first -
RFF
The video frame has the repeat flag -
ONEFIELD
The video frame has one field -
MULTIPLE_VIEW
The video contains one or more non-mono views -
FIRST_IN_BUNDLE
The video frame is the first in a set of corresponding views provided as sequential frames. -
TOP_FIELD
The video frame has the top field only. This is the same as GST_VIDEO_FRAME_FLAG_TFF | GST_VIDEO_FRAME_FLAG_ONEFIELD (Since: 1.16).
-
-
Field Details
-
BOTTOM_FIELD
The video frame has the bottom field only. This is the same as GST_VIDEO_FRAME_FLAG_ONEFIELD (GST_VIDEO_FRAME_FLAG_TFF flag unset) (Since: 1.16).
-
-
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
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValuein interfaceEnumeration- Returns:
- the enum value
-
of
Create a newEnumSet<VideoFrameFlags>for the provided bitfield- Parameters:
flags- the VideoFrameFlags bitfield- Returns:
- the EnumSet for the provided bitfield
-
of
Create a newEnumSet<VideoFrameFlags>for the bitfield in the provided memory address.- Parameters:
address- the memory address holding a bitfield value- Returns:
- the EnumSet for the bitfield in the provided memory address
-
getType
Get the GType of the VideoFrameFlags class- Returns:
- the GType
-