Package org.freedesktop.gstreamer.base
Enum Class BaseParseFrameFlags
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<BaseParseFrameFlags>
,Constable
@Generated("io.github.jwharm.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 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionprePushFrame
can set this to indicate that regular segment clipping can still be performed (as opposed to any custom one having been done).indicates tofinishFrame
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 flagindicates tofinishFrame
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 TypeMethodDescriptionint
getValue()
Get the numeric value of this enumstatic BaseParseFrameFlags
of
(int value) Create a new BaseParseFrameFlags for the provided valuestatic BaseParseFrameFlags
Returns the enum constant of this class with the specified name.static BaseParseFrameFlags[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
no flag -
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
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
prePushFrame
can set this to indicate that regular segment clipping can still be performed (as opposed to any custom one having been done). -
DROP
indicates tofinishFrame
that the the frame should be dropped (and might be handled internally by subclass) -
QUEUE
indicates tofinishFrame
that the the frame should be queued for now and processed fully later when the first non-queued frame is finished
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
of
Create a new BaseParseFrameFlags for the provided value- Parameters:
value
- the bitfield value- Returns:
- the bitfield for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-