Enum Class VideoFormatFlags

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

@Generated("org.javagi.JavaGI") public enum VideoFormatFlags extends Enum<VideoFormatFlags> implements Enumeration
The different video flags that a format info can have.
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The video format has an alpha components with the number 3.
    The video format has a complex layout that can't be described with the usual information in the GstVideoFormatInfo.
    The video is gray, there is one gray component with index 0.
    The video format has data stored in little endianness.
    The video format has a palette.
    The video format is RGB, components are numbered 0=R, 1=G, 2=B.
    The tile size varies per plane according to the subsampling.
    The format is tiled, there is tiling information in the last plane.
    This format can be used in a GstVideoFormatUnpack and GstVideoFormatPack function.
    The video format is YUV, components are numbered 0=Y, 1=U, 2=V.
  • Method Summary

    Modifier and Type
    Method
    Description
    static @Nullable Type
    Get the GType of the VideoFormatFlags class.
    int
    Get the numeric value of this enum
    of(int flags)
    Create a new EnumSet<VideoFormatFlags> for the provided bitfield
    of(MemorySegment address)
    Create a new EnumSet<VideoFormatFlags> for the bitfield in the provided memory address.
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • YUV

      public static final VideoFormatFlags YUV
      The video format is YUV, components are numbered 0=Y, 1=U, 2=V.
    • RGB

      public static final VideoFormatFlags RGB
      The video format is RGB, components are numbered 0=R, 1=G, 2=B.
    • GRAY

      public static final VideoFormatFlags GRAY
      The video is gray, there is one gray component with index 0.
    • ALPHA

      public static final VideoFormatFlags ALPHA
      The video format has an alpha components with the number 3.
    • LE

      public static final VideoFormatFlags LE
      The video format has data stored in little endianness.
    • PALETTE

      public static final VideoFormatFlags PALETTE
      The video format has a palette. The palette is stored in the second plane and indexes are stored in the first plane.
    • COMPLEX

      public static final VideoFormatFlags COMPLEX
      The video format has a complex layout that can't be described with the usual information in the GstVideoFormatInfo.
    • UNPACK

      public static final VideoFormatFlags UNPACK
      This format can be used in a GstVideoFormatUnpack and GstVideoFormatPack function.
    • TILED

      public static final VideoFormatFlags TILED
      The format is tiled, there is tiling information in the last plane.
    • SUBTILES

      public static final VideoFormatFlags SUBTILES
      The tile size varies per plane according to the subsampling.
      Since:
      1.22
  • Method Details

    • values

      public static VideoFormatFlags[] 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 VideoFormatFlags 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<VideoFormatFlags> of(int flags)
      Create a new EnumSet<VideoFormatFlags> for the provided bitfield
      Parameters:
      flags - the VideoFormatFlags bitfield
      Returns:
      the EnumSet for the provided bitfield
    • of

      public static Set<VideoFormatFlags> of(MemorySegment address)
      Create a new EnumSet<VideoFormatFlags> 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 VideoFormatFlags class.
      Returns:
      the GType