org.jcodec.codecs.h264.io.model
Enum SliceType
java.lang.Object
java.lang.Enum<SliceType>
org.jcodec.codecs.h264.io.model.SliceType
- All Implemented Interfaces:
- Serializable, Comparable<SliceType>
public enum SliceType
- extends Enum<SliceType>
This class is part of JCodec ( www.jcodec.org ) This software is distributed
under FreeBSD License
- Author:
- Jay Codec
P
public static final SliceType P
B
public static final SliceType B
I
public static final SliceType I
SP
public static final SliceType SP
SI
public static final SliceType SI
values
public static SliceType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SliceType c : SliceType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SliceType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
isIntra
public boolean isIntra()
isInter
public boolean isInter()
fromValue
public static SliceType fromValue(int j)
Copyright © 2013. All Rights Reserved.