fi.helsinki.cs.ohtu.mpeg2.video
Enum SequenceExtensionHeader.SpecialProfileAndLevel

java.lang.Object
  extended by java.lang.Enum<SequenceExtensionHeader.SpecialProfileAndLevel>
      extended by fi.helsinki.cs.ohtu.mpeg2.video.SequenceExtensionHeader.SpecialProfileAndLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SequenceExtensionHeader.SpecialProfileAndLevel>
Enclosing class:
SequenceExtensionHeader

public static enum SequenceExtensionHeader.SpecialProfileAndLevel
extends java.lang.Enum<SequenceExtensionHeader.SpecialProfileAndLevel>

Represents the allowed values for the special profile and level field.


Enum Constant Summary
MULTI_VIEW_HIGH
          Multi-view profile at the High level
MULTI_VIEW_HIGH_1440
          Multi-view profile at the High1440 level
MULTI_VIEW_LOW
          Multi-view profile at the Low level
MULTI_VIEW_MAIN
          Multi-view profile at the Main level
YCBCR_422_HIGH
          Y:Cb:Cr 4:2:2 profile at the High level.
YCBCR_422_MAIN
          Y:Cb:Cr 4:2:2 profile at the Main level.
 
Field Summary
private  UnsignedIntegerField field
           
 
Method Summary
static SequenceExtensionHeader.SpecialProfileAndLevel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SequenceExtensionHeader.SpecialProfileAndLevel[] 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

MULTI_VIEW_LOW

public static final SequenceExtensionHeader.SpecialProfileAndLevel MULTI_VIEW_LOW
Multi-view profile at the Low level


MULTI_VIEW_MAIN

public static final SequenceExtensionHeader.SpecialProfileAndLevel MULTI_VIEW_MAIN
Multi-view profile at the Main level


MULTI_VIEW_HIGH_1440

public static final SequenceExtensionHeader.SpecialProfileAndLevel MULTI_VIEW_HIGH_1440
Multi-view profile at the High1440 level


MULTI_VIEW_HIGH

public static final SequenceExtensionHeader.SpecialProfileAndLevel MULTI_VIEW_HIGH
Multi-view profile at the High level


YCBCR_422_MAIN

public static final SequenceExtensionHeader.SpecialProfileAndLevel YCBCR_422_MAIN
Y:Cb:Cr 4:2:2 profile at the Main level.


YCBCR_422_HIGH

public static final SequenceExtensionHeader.SpecialProfileAndLevel YCBCR_422_HIGH
Y:Cb:Cr 4:2:2 profile at the High level.

Field Detail

field

private UnsignedIntegerField field
Method Detail

values

public static SequenceExtensionHeader.SpecialProfileAndLevel[] 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 (SequenceExtensionHeader.SpecialProfileAndLevel c : SequenceExtensionHeader.SpecialProfileAndLevel.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SequenceExtensionHeader.SpecialProfileAndLevel valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

writeTo

public void writeTo(BitOutputStream stream)
             throws java.io.IOException
Writes the value to a bit stream.

Parameters:
stream - The stream to write to.
Throws:
java.io.IOException - Propagated from the stream write.