public enum VideoCodec extends Enum<VideoCodec>
Enum Constant and Description |
---|
H264
Block-oriented motion-compensation-based video compression standard.
|
VP8
Traditional block-based transform coding format similar to H264.
|
VP9
Traditional block-based transform coding format similar to MPEG's High Efficiency Video
Coding (HEVC/H.265).
|
Modifier and Type | Method and Description |
---|---|
static VideoCodec |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VideoCodec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VideoCodec H264
public static final VideoCodec VP8
public static final VideoCodec VP9
public static VideoCodec[] values()
for (VideoCodec c : VideoCodec.values()) System.out.println(c);
public static VideoCodec valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null