Package org.freedesktop.gstreamer.gst
Enum Class BufferCopyFlags
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<BufferCopyFlags>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum BufferCopyFlags
extends Enum<BufferCopyFlags>
implements Enumeration
A set of flags that can be provided to the gst_buffer_copy_into()
function to specify which items should be copied.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionflag indicating that memory should always be copied instead of reffedflag indicating that buffer flags should be copiedflag indicating that buffer memory should be reffed and appended to already existing memory.flag indicating that buffer memory should be mergedflag indicating that buffer meta should be copiedcopy nothingflag indicating that buffer pts, dts, duration, offset and offset_end should be copied -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the BufferCopyFlags classint
getValue()
Get the numeric value of this enumstatic BufferCopyFlags
of
(int value) Create a new BufferCopyFlags for the provided valuestatic BufferCopyFlags
Returns the enum constant of this class with the specified name.static BufferCopyFlags[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
copy nothing -
FLAGS
flag indicating that buffer flags should be copied -
TIMESTAMPS
flag indicating that buffer pts, dts, duration, offset and offset_end should be copied -
META
flag indicating that buffer meta should be copied -
MEMORY
flag indicating that buffer memory should be reffed and appended to already existing memory. Unless the memory is marked as NO_SHARE, no actual copy of the memory is made but it is simply reffed. AddGSTBUFFERCOPYDEEP
to force a real copy. -
MERGE
flag indicating that buffer memory should be merged -
DEEP
flag indicating that memory should always be copied instead of reffed
-
-
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 BufferCopyFlags 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
-
getType
-