Package org.freedesktop.gstreamer.video
Enum Class VideoBufferFlags
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<VideoBufferFlags>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum VideoBufferFlags
extends Enum<VideoBufferFlags>
implements Enumeration
Additional video buffer flags. These flags can potentially be used on any
buffers carrying closed caption data, or video data - even encoded data.
Note that these are only valid for GstCaps
of type: video/... and caption/...
They can conflict with other extended buffer flags.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionWhen conveying stereo/multiview content with frame-by-frame methods, this flag marks the first buffer in a bundle of frames that belong together.If theGstBuffer
is interlaced.Offset to define more flagsTheGstBuffer
contains the end of a video field or frame boundary such as the last subframe or packet (Since: 1.18).TheGstBuffer
contains one or more specific views, such as left or right eye view.If theGstBuffer
is interlaced, then only the first field (as defined by theTFF
flag setting) is to be displayed (Since: 1.16).If theGstBuffer
is interlaced, then the first field (as defined by theTFF
flag setting) is repeated.If theGstBuffer
is interlaced, then the first field in the video frame is the top field.The video frame has the top field only. -
Field Summary
Modifier and TypeFieldDescriptionstatic final VideoBufferFlags
The video frame has the bottom field only. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the VideoBufferFlags classint
getValue()
Get the numeric value of this enumstatic VideoBufferFlags
of
(int value) Create a new VideoBufferFlags for the provided valuestatic VideoBufferFlags
Returns the enum constant of this class with the specified name.static VideoBufferFlags[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTERLACED
If theGstBuffer
is interlaced. In mixed interlace-mode, this flags specifies if the frame is interlaced or progressive. -
TFF
If theGstBuffer
is interlaced, then the first field in the video frame is the top field. If unset, the bottom field is first. -
RFF
If theGstBuffer
is interlaced, then the first field (as defined by theTFF
flag setting) is repeated. -
ONEFIELD
If theGstBuffer
is interlaced, then only the first field (as defined by theTFF
flag setting) is to be displayed (Since: 1.16). -
MULTIPLE_VIEW
TheGstBuffer
contains one or more specific views, such as left or right eye view. This flags is set on any buffer that contains non-mono content - even for streams that contain only a single viewpoint. In mixed mono / non-mono streams, the absence of the flag marks mono buffers. -
FIRST_IN_BUNDLE
When conveying stereo/multiview content with frame-by-frame methods, this flag marks the first buffer in a bundle of frames that belong together. -
TOP_FIELD
The video frame has the top field only. This is the same as GST_VIDEO_BUFFER_FLAG_TFF | GST_VIDEO_BUFFER_FLAG_ONEFIELD (Since: 1.16). Use GST_VIDEO_BUFFER_IS_TOP_FIELD() to check for this flag. -
MARKER
TheGstBuffer
contains the end of a video field or frame boundary such as the last subframe or packet (Since: 1.18). -
LAST
Offset to define more flags
-
-
Field Details
-
BOTTOM_FIELD
The video frame has the bottom field only. This is the same as GST_VIDEO_BUFFER_FLAG_ONEFIELD (GST_VIDEO_BUFFER_FLAG_TFF flag unset) (Since: 1.16). Use GST_VIDEO_BUFFER_IS_BOTTOM_FIELD() to check for this flag.
-
-
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 VideoBufferFlags 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
-