Enum Class VideoFrameMapFlags

java.lang.Object
java.lang.Enum<VideoFrameMapFlags>
org.freedesktop.gstreamer.video.VideoFrameMapFlags
All Implemented Interfaces:
Serializable, Comparable<VideoFrameMapFlags>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum VideoFrameMapFlags extends Enum<VideoFrameMapFlags> implements Enumeration
Additional mapping flags for gst_video_frame_map().
Since:
1.6
  • Enum Constant Details

    • NO_REF

      public static final VideoFrameMapFlags 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

      public static final VideoFrameMapFlags LAST
      Offset to define more flags
  • Method Details

    • values

      public static VideoFrameMapFlags[] 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

      public static VideoFrameMapFlags valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static Set<VideoFrameMapFlags> of(int flags)
      Create a new EnumSet<VideoFrameMapFlags> for the provided bitfield
      Parameters:
      flags - the VideoFrameMapFlags bitfield
      Returns:
      the EnumSet for the provided bitfield
    • of

      public static Set<VideoFrameMapFlags> of(MemorySegment address)
      Create a new EnumSet<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

      public static @Nullable Type getType()
      Get the GType of the VideoFrameMapFlags class.
      Returns:
      the GType