@Immutable public enum ImageChromaSamplingMode extends java.lang.Enum<ImageChromaSamplingMode>
| Enum Constant and Description |
|---|
S411
Sampling mode 4:1:1 uses 4 horizontal luma information per chroma information
|
S420
Sampling mode 4:2:0 uses 4 luma information per chroma information
|
S422
Sampling mode 4:2:2 uses 2 horizontal luma information per chroma information
|
S440
Sampling mode 4:4:0 uses 2 vertical luma information per chroma information
|
S444
Sampling mode 4:4:4 stores luma and chroma information at the same resolution
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static ImageChromaSamplingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageChromaSamplingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageChromaSamplingMode S444
public static final ImageChromaSamplingMode S420
public static final ImageChromaSamplingMode S422
public static final ImageChromaSamplingMode S411
public static final ImageChromaSamplingMode S440
public static ImageChromaSamplingMode[] values()
for (ImageChromaSamplingMode c : ImageChromaSamplingMode.values()) System.out.println(c);
public static ImageChromaSamplingMode 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 null