org.jcodec.codecs.h264.io.model
Enum NALUnitType
java.lang.Object
java.lang.Enum<NALUnitType>
org.jcodec.codecs.h264.io.model.NALUnitType
- All Implemented Interfaces:
- Serializable, Comparable<NALUnitType>
public enum NALUnitType
- extends Enum<NALUnitType>
This class is part of JCodec ( www.jcodec.org ) This software is distributed
under FreeBSD License
NAL unit type
- Author:
- Jay Codec
NON_IDR_SLICE
public static final NALUnitType NON_IDR_SLICE
SLICE_PART_A
public static final NALUnitType SLICE_PART_A
SLICE_PART_B
public static final NALUnitType SLICE_PART_B
SLICE_PART_C
public static final NALUnitType SLICE_PART_C
IDR_SLICE
public static final NALUnitType IDR_SLICE
SEI
public static final NALUnitType SEI
SPS
public static final NALUnitType SPS
PPS
public static final NALUnitType PPS
ACC_UNIT_DELIM
public static final NALUnitType ACC_UNIT_DELIM
END_OF_SEQ
public static final NALUnitType END_OF_SEQ
END_OF_STREAM
public static final NALUnitType END_OF_STREAM
FILTER_DATA
public static final NALUnitType FILTER_DATA
SEQ_PAR_SET_EXT
public static final NALUnitType SEQ_PAR_SET_EXT
AUX_SLICE
public static final NALUnitType AUX_SLICE
values
public static NALUnitType[] 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 (NALUnitType c : NALUnitType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static NALUnitType 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
getName
public String getName()
getValue
public int getValue()
fromValue
public static NALUnitType fromValue(int value)
Copyright © 2013. All Rights Reserved.