Package org.freedesktop.gstreamer.video
Enum Class VideoFormatFlags
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<VideoFormatFlags>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum VideoFormatFlags
extends Enum<VideoFormatFlags>
implements Enumeration
The different video flags that a format info can have.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe video format has an alpha components with the number 3.The video format has a complex layout that can't be described with the usual information in theGstVideoFormatInfo
.The video is gray, there is one gray component with index 0.The video format has data stored in little endianness.The video format has a palette.The video format is RGB, components are numbered 0=R, 1=G, 2=B.The tile size varies per plane according to the subsampling.The format is tiled, there is tiling information in the last plane.This format can be used in aGstVideoFormatUnpack
andGstVideoFormatPack
function.The video format is YUV, components are numbered 0=Y, 1=U, 2=V. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the VideoFormatFlags classint
getValue()
Get the numeric value of this enumstatic VideoFormatFlags
of
(int value) Create a new VideoFormatFlags for the provided valuestatic VideoFormatFlags
Returns the enum constant of this class with the specified name.static VideoFormatFlags[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
YUV
The video format is YUV, components are numbered 0=Y, 1=U, 2=V. -
RGB
The video format is RGB, components are numbered 0=R, 1=G, 2=B. -
GRAY
The video is gray, there is one gray component with index 0. -
ALPHA
The video format has an alpha components with the number 3. -
LE
The video format has data stored in little endianness. -
PALETTE
The video format has a palette. The palette is stored in the second plane and indexes are stored in the first plane. -
COMPLEX
The video format has a complex layout that can't be described with the usual information in theGstVideoFormatInfo
. -
UNPACK
This format can be used in aGstVideoFormatUnpack
andGstVideoFormatPack
function. -
TILED
The format is tiled, there is tiling information in the last plane. -
SUBTILES
The tile size varies per plane according to the subsampling.
-
-
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 VideoFormatFlags 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
-