Package org.freedesktop.gstreamer.video
Enum Class VideoMultiviewMode
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<VideoMultiviewMode>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum VideoMultiviewMode
extends Enum<VideoMultiviewMode>
implements Enumeration
All possible stereoscopic 3D and multiview representations.
In conjunction with
GstVideoMultiviewFlags
, describes how
multiview content is being transported in the stream.-
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.Left and right eye views are provided in separate frames alternately.All frames represent a left-eye view.All frames are monoscopic.Multiple independent views are provided in separate frames in sequence.A special value indicating no multiview information.All frames represent a right-eye view.Alternating horizontal rows of pixels represent the left and right eye view respectively.Multiple views are provided as separateGstMemory
framebuffers attached to eachGstBuffer
, described by theGstVideoMultiviewMeta
andGstVideoMeta
(s)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 VideoMultiviewMode
fromCapsString
(String capsMviewMode) static Type
getType()
Get the GType of the VideoMultiviewMode classint
getValue()
Get the numeric value of this enumstatic VideoMultiviewMode
of
(int value) Create a new VideoMultiviewMode for the provided valueGiven aGstVideoMultiviewMode
returns the multiview-mode caps string for insertion into a caps structurestatic VideoMultiviewMode
Returns the enum constant of this class with the specified name.static VideoMultiviewMode[]
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 multiview information. Used in GstVideoInfo and other places to indicate that no specific multiview handling has been requested or provided. This value is never carried on caps. -
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. -
FRAME_BY_FRAME
Left and right eye views are provided in separate frames alternately. -
MULTIVIEW_FRAME_BY_FRAME
Multiple independent views are provided in separate frames in sequence. This method only applies to raw video buffers at the moment. Specific view identification is via theGstVideoMultiviewMeta
andGstVideoMeta
(s) on raw video buffers. -
SEPARATED
Multiple views are provided as separateGstMemory
framebuffers attached to eachGstBuffer
, described by theGstVideoMultiviewMeta
andGstVideoMeta
(s)
-
-
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 VideoMultiviewMode 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
-
fromCapsString
-
toCapsString
Given aGstVideoMultiviewMode
returns the multiview-mode caps string for insertion into a caps structure- Returns:
- The caps string representation of the mode, or NULL if invalid.
-