|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SequenceHeader.AspectRatioInformation>
fi.helsinki.cs.ohtu.mpeg2.video.SequenceHeader.AspectRatioInformation
public static enum SequenceHeader.AspectRatioInformation
Represents the allowed values for the aspect ratio information field.
Enum Constant Summary | |
---|---|
DISPLAY_1_2_21
Display aspect ratio (DAR) of 1 / 2.21 |
|
DISPLAY_3_4
Display aspect ratio (DAR) of 3 / 4 |
|
DISPLAY_9_16
Display aspect ratio (DAR) of 9 / 16 |
|
SAMPLE_SQUARE
Sample aspect ratio (SAR) of 1.0 |
Field Summary | |
---|---|
private UnsignedIntegerField |
field
|
Method Summary | |
---|---|
static SequenceHeader.AspectRatioInformation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SequenceHeader.AspectRatioInformation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
void |
writeTo(BitOutputStream stream)
Writes the value 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 SequenceHeader.AspectRatioInformation SAMPLE_SQUARE
public static final SequenceHeader.AspectRatioInformation DISPLAY_3_4
public static final SequenceHeader.AspectRatioInformation DISPLAY_9_16
public static final SequenceHeader.AspectRatioInformation DISPLAY_1_2_21
Field Detail |
---|
private UnsignedIntegerField field
Method Detail |
---|
public static SequenceHeader.AspectRatioInformation[] values()
for (SequenceHeader.AspectRatioInformation c : SequenceHeader.AspectRatioInformation.values()) System.out.println(c);
public static SequenceHeader.AspectRatioInformation 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 |