Package org.freedesktop.gstreamer.video
Enum Class VideoFrameMapFlags
- All Implemented Interfaces:
Serializable,Comparable<VideoFrameMapFlags>,Constable,Enumeration
@Generated("io.github.jwharm.JavaGI")
public enum VideoFrameMapFlags
extends Enum<VideoFrameMapFlags>
implements Enumeration
Additional mapping flags for gst_video_frame_map().
- Since:
- 1.6
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable TypegetType()Get the GType of the VideoFrameMapFlags classintgetValue()Get the numeric value of this enumstatic Set<VideoFrameMapFlags> of(int flags) Create a newEnumSet<VideoFrameMapFlags>for the provided bitfieldstatic Set<VideoFrameMapFlags> of(MemorySegment address) Create a newEnumSet<VideoFrameMapFlags>for the bitfield in the provided memory address.static VideoFrameMapFlagsReturns the enum constant of this class with the specified name.static VideoFrameMapFlags[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_REF
Don't take another reference of the buffer and store it in the GstVideoFrame. This makes sure that the buffer stays writable while the frame is mapped, but requires that the buffer reference stays valid until the frame is unmapped again. -
LAST
Offset to define more flags
-
-
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<VideoFrameMapFlags>for the provided bitfield- Parameters:
flags- the VideoFrameMapFlags bitfield- Returns:
- the EnumSet for the provided bitfield
-
of
Create a newEnumSet<VideoFrameMapFlags>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 VideoFrameMapFlags class- Returns:
- the GType
-