- All Implemented Interfaces:
Serializable,Comparable<BufferFlag>,Constable
BufferFlag.- Author:
- Werner Randelshofer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the data in this buffer should be ignored.Indicates that the data in this buffer is at the end of the media.Indicates that this Buffer holds an intra-coded picture, which can be decoded independently.Indicates that the data in this buffer is used for initializing the decoding queue.Indicates that this buffer is known to have the same data as the previous buffer. -
Method Summary
Modifier and TypeMethodDescriptionstatic BufferFlagReturns the enum constant of this class with the specified name.static BufferFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DISCARD
Indicates that the data in this buffer should be ignored. -
KEYFRAME
Indicates that this Buffer holds an intra-coded picture, which can be decoded independently. -
END_OF_MEDIA
Indicates that the data in this buffer is at the end of the media. -
PREFETCH
Indicates that the data in this buffer is used for initializing the decoding queue.This flag is used when the media time of a track is set to a non-keyframe sample. Thus decoding must start at a keyframe at an earlier time.
Decoders should decode the buffer. Encoders and Multiplexers should discard the buffer.
-
SAME_DATA
Indicates that this buffer is known to have the same data as the previous buffer. This may improve encoding performance.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-