public static enum Constants.PrimaryID extends java.lang.Enum<Constants.PrimaryID>
| Enum Constant and Description |
|---|
PRIMARYID_BT2020
BT.2020
|
PRIMARYID_BT470BG
BT.470BG
|
PRIMARYID_BT470M
BT.470M
|
PRIMARYID_BT709
BT.709
|
PRIMARYID_FILM
Film
|
PRIMARYID_JEDECP22
JEDEC P22 (Identical to EBU3213-E)
|
PRIMARYID_SMPTE170M
SMPTE 170M (Identical to BT601)
|
PRIMARYID_SMPTE240M
SMPTE 240M
|
PRIMARYID_SMPTEST428
SMPTE ST 428
|
PRIMARYID_SMPTEST431
SMPTE ST 431
|
PRIMARYID_SMPTEST432
SMPTE ST 432
|
PRIMARYID_UNSPECIFIED
Unspecified
|
| Modifier and Type | Field and Description |
|---|---|
int |
value
Integer value of the color primaries ID
|
| Modifier and Type | Method and Description |
|---|---|
static int |
getValue(Constants.PrimaryID id)
Gets the integer value of the color primaries ID.
|
static Constants.PrimaryID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.PrimaryID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.PrimaryID PRIMARYID_BT709
public static final Constants.PrimaryID PRIMARYID_UNSPECIFIED
public static final Constants.PrimaryID PRIMARYID_BT470M
public static final Constants.PrimaryID PRIMARYID_BT470BG
public static final Constants.PrimaryID PRIMARYID_SMPTE170M
public static final Constants.PrimaryID PRIMARYID_SMPTE240M
public static final Constants.PrimaryID PRIMARYID_FILM
public static final Constants.PrimaryID PRIMARYID_BT2020
public static final Constants.PrimaryID PRIMARYID_SMPTEST428
public static final Constants.PrimaryID PRIMARYID_SMPTEST431
public static final Constants.PrimaryID PRIMARYID_SMPTEST432
public static final Constants.PrimaryID PRIMARYID_JEDECP22
public static Constants.PrimaryID[] values()
for (Constants.PrimaryID c : Constants.PrimaryID.values()) System.out.println(c);
public static Constants.PrimaryID valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static int getValue(Constants.PrimaryID id)
id - Color primaries ID