Package org.freedesktop.gstreamer.video
Enum Class VideoChromaSite
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<VideoChromaSite>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum VideoChromaSite
extends Enum<VideoChromaSite>
implements Enumeration
Various Chroma sitings.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final VideoChromaSite
jpeg style cositing, also for mpeg1 and mjpegstatic final VideoChromaSite
mpeg2 style cositing -
Method Summary
Modifier and TypeMethodDescriptionstatic Set
<VideoChromaSite> fromString
(String s) Converts
to aGstVideoChromaSite
static Type
getType()
Get the GType of the VideoChromaSite classint
getValue()
Get the numeric value of this enumstatic VideoChromaSite
of
(int value) Create a new VideoChromaSite for the provided valuetoString()
Converts this VideoChromaSite to its string representation.static VideoChromaSite
Returns the enum constant of this class with the specified name.static VideoChromaSite[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
unknown cositing -
NONE
no cositing -
H_COSITED
chroma is horizontally cosited -
V_COSITED
chroma is vertically cosited -
ALT_LINE
choma samples are sited on alternate lines -
COSITED
chroma samples cosited with luma samples -
DV
DV style cositing
-
-
Field Details
-
JPEG
jpeg style cositing, also for mpeg1 and mjpeg -
MPEG2
mpeg2 style cositing
-
-
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 VideoChromaSite 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
-
fromString
Converts
to aGstVideoChromaSite
- Parameters:
s
- a chromasite string- Returns:
- a
GstVideoChromaSite
orUNKNOWN
whens
does not contain a valid chroma-site description.
-
toString
Converts this VideoChromaSite to its string representation.- Overrides:
toString
in classEnum<VideoChromaSite>
- Returns:
- a string representation of this VideoChromaSite
or
null
if this VideoChromaSite contains undefined value or is equal toUNKNOWN
-