public static enum MediaCodecVideoEncoder.H264Profile extends java.lang.Enum<MediaCodecVideoEncoder.H264Profile>
Enum Constant and Description |
---|
BASELINE |
CONSTRAINED_BASELINE |
CONSTRAINED_HIGH |
HIGH |
MAIN |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static MediaCodecVideoEncoder.H264Profile |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MediaCodecVideoEncoder.H264Profile[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaCodecVideoEncoder.H264Profile CONSTRAINED_BASELINE
public static final MediaCodecVideoEncoder.H264Profile BASELINE
public static final MediaCodecVideoEncoder.H264Profile MAIN
public static final MediaCodecVideoEncoder.H264Profile CONSTRAINED_HIGH
public static final MediaCodecVideoEncoder.H264Profile HIGH
public static MediaCodecVideoEncoder.H264Profile[] values()
for (MediaCodecVideoEncoder.H264Profile c : MediaCodecVideoEncoder.H264Profile.values()) System.out.println(c);
public static MediaCodecVideoEncoder.H264Profile 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 int getValue()