|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ExtensionHeaderIdentifier>
fi.helsinki.cs.ohtu.mpeg2.video.ExtensionHeaderIdentifier
public enum ExtensionHeaderIdentifier
Identifies an MPEG extension header. Many headers in MPEG-2 are syntactically defined in terms of MPEG-1 extension headers. This enum identifies the types of these headers.
Enum Constant Summary | |
---|---|
CAMERA_PARAMETERS
Camera parameters extension header. |
|
COPYRIGHT
Copyright extension header. |
|
ITU_T
ITU-T extension header. |
|
PICTURE_CODING
Picture coding extension header. |
|
PICTURE_DISPLAY
Picture display extension header. |
|
PICTURE_SPATIAL_SCALABILITY
Picture spatial scalability extension header. |
|
PICTURE_TEMPORAL_SCALABILITY
Picture temporal scalability extension header. |
|
QUANTIZATION_MATRIX
Quantization matrix extension header. |
|
SEQUENCE
Sequence extension header. |
|
SEQUENCE_DISPLAY
Sequence display extension header. |
|
SEQUENCE_SCALABILITY
Sequence scalability extension header. |
Field Summary | |
---|---|
private int |
encodedValue
|
Method Summary | |
---|---|
static ExtensionHeaderIdentifier |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ExtensionHeaderIdentifier[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
void |
writeTo(BitOutputStream stream)
Writes the identifier to a bit stream. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ExtensionHeaderIdentifier SEQUENCE
public static final ExtensionHeaderIdentifier SEQUENCE_DISPLAY
public static final ExtensionHeaderIdentifier QUANTIZATION_MATRIX
public static final ExtensionHeaderIdentifier COPYRIGHT
public static final ExtensionHeaderIdentifier SEQUENCE_SCALABILITY
public static final ExtensionHeaderIdentifier PICTURE_DISPLAY
public static final ExtensionHeaderIdentifier PICTURE_CODING
public static final ExtensionHeaderIdentifier PICTURE_SPATIAL_SCALABILITY
public static final ExtensionHeaderIdentifier PICTURE_TEMPORAL_SCALABILITY
public static final ExtensionHeaderIdentifier CAMERA_PARAMETERS
public static final ExtensionHeaderIdentifier ITU_T
Field Detail |
---|
private int encodedValue
Method Detail |
---|
public static ExtensionHeaderIdentifier[] values()
for (ExtensionHeaderIdentifier c : ExtensionHeaderIdentifier.values()) System.out.println(c);
public static ExtensionHeaderIdentifier 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 name
java.lang.NullPointerException
- if the argument is nullpublic void writeTo(BitOutputStream stream) throws java.io.IOException
stream
- The stream to write to.
java.io.IOException
- Propagated from the stream write.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |