fi.helsinki.cs.ohtu.mpeg2
Enum VideoStream.VideoState

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

private static enum VideoStream.VideoState
extends java.lang.Enum<VideoStream.VideoState>

Video state, used to track video access unit generation


Enum Constant Summary
END
          Sequence end code written
GOT_BLOCK
          Received a block
GOT_MBLK_HDR
          Received a macroblock header
GOT_MV_BACKWARD
          Received backward motion vector
GOT_MV_FORWARD
          Received forward motion vector
GOT_PATTERN
          Received a coded block pattern
GOT_PIC_DATA
          Received a complete macroblock or picture data
GOT_PIC_HDRS
          Received picture headers
GOT_SEQ_HDRS
          Received sequence headers
GOT_SLICE_HDR
          Received a slice header
START
          At the start of the video stream
 
Method Summary
static VideoStream.VideoState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static VideoStream.VideoState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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

START

public static final VideoStream.VideoState START
At the start of the video stream


END

public static final VideoStream.VideoState END
Sequence end code written


GOT_SEQ_HDRS

public static final VideoStream.VideoState GOT_SEQ_HDRS
Received sequence headers


GOT_PIC_HDRS

public static final VideoStream.VideoState GOT_PIC_HDRS
Received picture headers


GOT_SLICE_HDR

public static final VideoStream.VideoState GOT_SLICE_HDR
Received a slice header


GOT_MBLK_HDR

public static final VideoStream.VideoState GOT_MBLK_HDR
Received a macroblock header


GOT_MV_BACKWARD

public static final VideoStream.VideoState GOT_MV_BACKWARD
Received backward motion vector


GOT_MV_FORWARD

public static final VideoStream.VideoState GOT_MV_FORWARD
Received forward motion vector


GOT_PATTERN

public static final VideoStream.VideoState GOT_PATTERN
Received a coded block pattern


GOT_BLOCK

public static final VideoStream.VideoState GOT_BLOCK
Received a block


GOT_PIC_DATA

public static final VideoStream.VideoState GOT_PIC_DATA
Received a complete macroblock or picture data

Method Detail

values

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

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

valueOf

public static VideoStream.VideoState 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