Enum Class Mpeg2PictureType

java.lang.Object
java.lang.Enum<Mpeg2PictureType>
org.codice.alliance.video.stream.mpegts.netty.Mpeg2PictureType
All Implemented Interfaces:
Serializable, Comparable<Mpeg2PictureType>, Constable

public enum Mpeg2PictureType extends Enum<Mpeg2PictureType>
  • Enum Constant Details

    • INTRA_CODED

      public static final Mpeg2PictureType INTRA_CODED
    • PREDICTIVE_CODED

      public static final Mpeg2PictureType PREDICTIVE_CODED
    • BIDIRECTIONALLY_PREDICTIVE_CODED

      public static final Mpeg2PictureType BIDIRECTIONALLY_PREDICTIVE_CODED
  • Method Details

    • values

      public static Mpeg2PictureType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Mpeg2PictureType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromH262HeaderValue

      public static Optional<Mpeg2PictureType> fromH262HeaderValue(long h262HeaderValue)
      Find the Mpeg2PictureType that corresponds to the value encoded in an H262 header.
      Parameters:
      h262HeaderValue - header value
      Returns:
      Mpeg2PictureType or empty