Enum Class VideoTileMode

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

@Generated("org.javagi.JavaGI") public enum VideoTileMode extends Enum<VideoTileMode> implements Enumeration
Enum value describing the available tiling modes.
  • Enum Constant Details

    • UNKNOWN

      public static final VideoTileMode UNKNOWN
      Unknown or unset tile mode
    • ZFLIPZ_2X2

      public static final VideoTileMode ZFLIPZ_2X2
      Every four adjacent blocks - two horizontally and two vertically are grouped together and are located in memory in Z or flipped Z order. In case of odd rows, the last row of blocks is arranged in linear order.
    • LINEAR

      public static final VideoTileMode LINEAR
      Tiles are in row order.
      Since:
      1.18
  • Method Details

    • values

      public static VideoTileMode[] 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 VideoTileMode 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
    • of

      public static VideoTileMode of(int value)
      Create a new VideoTileMode 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 interface Enumeration
      Returns:
      the enum value
    • of

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

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