public static enum MediaCodecVideoDecoder.VideoCodecType extends java.lang.Enum<MediaCodecVideoDecoder.VideoCodecType>
| Enum Constant and Description |
|---|
VIDEO_CODEC_H264 |
VIDEO_CODEC_UNKNOWN |
VIDEO_CODEC_VP8 |
VIDEO_CODEC_VP9 |
| Modifier and Type | Method and Description |
|---|---|
static MediaCodecVideoDecoder.VideoCodecType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MediaCodecVideoDecoder.VideoCodecType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaCodecVideoDecoder.VideoCodecType VIDEO_CODEC_UNKNOWN
public static final MediaCodecVideoDecoder.VideoCodecType VIDEO_CODEC_VP8
public static final MediaCodecVideoDecoder.VideoCodecType VIDEO_CODEC_VP9
public static final MediaCodecVideoDecoder.VideoCodecType VIDEO_CODEC_H264
public static MediaCodecVideoDecoder.VideoCodecType[] values()
for (MediaCodecVideoDecoder.VideoCodecType c : MediaCodecVideoDecoder.VideoCodecType.values()) System.out.println(c);
public static MediaCodecVideoDecoder.VideoCodecType 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