Package org.freedesktop.gstreamer.video
Enum Class VideoMultiviewFramePacking
java.lang.Object
java.lang.Enum<VideoMultiviewFramePacking>
org.freedesktop.gstreamer.video.VideoMultiviewFramePacking
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<VideoMultiviewFramePacking>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum VideoMultiviewFramePacking
extends Enum<VideoMultiviewFramePacking>
implements Enumeration
GstVideoMultiviewFramePacking
represents the subset of GstVideoMultiviewMode
values that can be applied to any video frame without needing extra metadata.
It can be used by elements that provide a property to override the
multiview interpretation of a video stream when the video doesn't contain
any markers.
This enum is used (for example) on playbin, to re-interpret a played
video stream as a stereoscopic video. The individual enum values are
equivalent to and have the same value as the matching GstVideoMultiviewMode
.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPixels are arranged with alternating pixels representing left and right eye views in a checkerboard fashion.Alternating vertical columns of pixels represent the left and right eye view respectively.All frames represent a left-eye view.All frames are monoscopic.A special value indicating no frame packing info.All frames represent a right-eye view.Alternating horizontal rows of pixels represent the left and right eye view respectively.Left and right eye views are provided in the left and right half of the frame respectively.Left and right eye views are provided in the left and right half of the frame, but have been sampled using quincunx method, with half-pixel offset between the 2 views.The top half of the frame contains the left eye, and the bottom half the right eye. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the VideoMultiviewFramePacking classint
getValue()
Get the numeric value of this enumstatic VideoMultiviewFramePacking
of
(int value) Create a new VideoMultiviewFramePacking for the provided valuestatic VideoMultiviewFramePacking
Returns the enum constant of this class with the specified name.static VideoMultiviewFramePacking[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
A special value indicating no frame packing info. -
MONO
All frames are monoscopic. -
LEFT
All frames represent a left-eye view. -
RIGHT
All frames represent a right-eye view. -
SIDE_BY_SIDE
Left and right eye views are provided in the left and right half of the frame respectively. -
SIDE_BY_SIDE_QUINCUNX
Left and right eye views are provided in the left and right half of the frame, but have been sampled using quincunx method, with half-pixel offset between the 2 views. -
COLUMN_INTERLEAVED
Alternating vertical columns of pixels represent the left and right eye view respectively. -
ROW_INTERLEAVED
Alternating horizontal rows of pixels represent the left and right eye view respectively. -
TOP_BOTTOM
The top half of the frame contains the left eye, and the bottom half the right eye. -
CHECKERBOARD
Pixels are arranged with alternating pixels representing left and right eye views in a checkerboard fashion.
-
-
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 VideoMultiviewFramePacking for the provided value- Parameters:
value
- the enum value- Returns:
- the enum 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
Get the GType of the VideoMultiviewFramePacking class- Returns:
- the GType
-