Enum Class PadFlags

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

@Generated("org.javagi.JavaGI") public enum PadFlags extends Enum<PadFlags> implements Enumeration
Pad state flags
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    the default accept-caps handler will check it the caps intersect the query-caps result instead of checking for a subset.
    the default accept-caps handler will use the template pad caps instead of query caps to compare with the accept caps.
    is dataflow on a pad blocked
    is pad currently blocking on a buffer or event
    is pad in EOS state
    the pad is using fixed caps.
    is pad flushing
    offset to define more flags
    ensure that there is a parent object before calling into the pad callbacks.
    the pad should be reconfigured/renegotiated.
    the pad has pending events
    the default query handler will forward allocation queries to the internally linked pads instead of discarding them.
    the default event and query handler will forward all events and queries to the internally linked pads instead of discarding them.
    the default query handler will forward scheduling queries to the internally linked pads instead of discarding them.
  • Method Summary

    Modifier and Type
    Method
    Description
    static @Nullable Type
    Get the GType of the PadFlags class.
    int
    Get the numeric value of this enum
    static Set<PadFlags>
    of(int flags)
    Create a new EnumSet<PadFlags> for the provided bitfield
    static Set<PadFlags>
    of(MemorySegment address)
    Create a new EnumSet<PadFlags> for the bitfield in the provided memory address.
    static PadFlags
    Returns the enum constant of this class with the specified name.
    static PadFlags[]
    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

    • BLOCKED

      public static final PadFlags BLOCKED
      is dataflow on a pad blocked
    • FLUSHING

      public static final PadFlags FLUSHING
      is pad flushing
    • EOS

      public static final PadFlags EOS
      is pad in EOS state
    • BLOCKING

      public static final PadFlags BLOCKING
      is pad currently blocking on a buffer or event
    • NEED_PARENT

      public static final PadFlags NEED_PARENT
      ensure that there is a parent object before calling into the pad callbacks.
    • NEED_RECONFIGURE

      public static final PadFlags NEED_RECONFIGURE
      the pad should be reconfigured/renegotiated. The flag has to be unset manually after reconfiguration happened.
    • PENDING_EVENTS

      public static final PadFlags PENDING_EVENTS
      the pad has pending events
    • FIXED_CAPS

      public static final PadFlags FIXED_CAPS
      the pad is using fixed caps. This means that once the caps are set on the pad, the default caps query function will only return those caps.
    • PROXY_CAPS

      public static final PadFlags PROXY_CAPS
      the default event and query handler will forward all events and queries to the internally linked pads instead of discarding them.
    • PROXY_ALLOCATION

      public static final PadFlags PROXY_ALLOCATION
      the default query handler will forward allocation queries to the internally linked pads instead of discarding them.
    • PROXY_SCHEDULING

      public static final PadFlags PROXY_SCHEDULING
      the default query handler will forward scheduling queries to the internally linked pads instead of discarding them.
    • ACCEPT_INTERSECT

      public static final PadFlags ACCEPT_INTERSECT
      the default accept-caps handler will check it the caps intersect the query-caps result instead of checking for a subset. This is interesting for parsers that can accept incompletely specified caps.
    • ACCEPT_TEMPLATE

      public static final PadFlags ACCEPT_TEMPLATE
      the default accept-caps handler will use the template pad caps instead of query caps to compare with the accept caps. Use this in combination with ACCEPT_INTERSECT. (Since: 1.6)
    • LAST

      public static final PadFlags LAST
      offset to define more flags
  • Method Details

    • values

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

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