Enum Class BaseParseFrameFlags

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

@Generated("org.javagi.JavaGI") public enum BaseParseFrameFlags extends Enum<BaseParseFrameFlags> implements Enumeration
Flags to be used in a GstBaseParseFrame.
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    prePushFrame can set this to indicate that regular segment clipping can still be performed (as opposed to any custom one having been done).
    indicates to finishFrame that the the frame should be dropped (and might be handled internally by subclass)
    set by baseclass if current frame is passed for processing to the subclass for the first time (and not set on subsequent calls with same data).
    set to indicate this buffer should not be counted as frame, e.g.
    no flag
    indicates to finishFrame that the the frame should be queued for now and processed fully later when the first non-queued frame is finished
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the numeric value of this enum
    of(int flags)
    Create a new EnumSet<BaseParseFrameFlags> for the provided bitfield
    of(MemorySegment address)
    Create a new EnumSet<BaseParseFrameFlags> 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

    • NONE

      public static final BaseParseFrameFlags NONE
      no flag
    • NEW_FRAME

      public static final BaseParseFrameFlags NEW_FRAME
      set by baseclass if current frame is passed for processing to the subclass for the first time (and not set on subsequent calls with same data).
    • NO_FRAME

      public static final BaseParseFrameFlags NO_FRAME
      set to indicate this buffer should not be counted as frame, e.g. if this frame is dependent on a previous one. As it is not counted as a frame, bitrate increases but frame to time conversions are maintained.
    • CLIP

      public static final BaseParseFrameFlags CLIP
      prePushFrame can set this to indicate that regular segment clipping can still be performed (as opposed to any custom one having been done).
    • DROP

      public static final BaseParseFrameFlags DROP
      indicates to finishFrame that the the frame should be dropped (and might be handled internally by subclass)
    • QUEUE

      public static final BaseParseFrameFlags QUEUE
      indicates to finishFrame that the the frame should be queued for now and processed fully later when the first non-queued frame is finished
  • Method Details

    • values

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

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