Class RollRecoveryEntry
- java.lang.Object
-
- org.mp4parser.boxes.samplegrouping.GroupEntry
-
- org.mp4parser.boxes.samplegrouping.RollRecoveryEntry
-
public class RollRecoveryEntry extends GroupEntry
4cc = ""roll""
roll_distance is a signed integer that gives the number of samples that must be decoded in order for a sample to be decoded correctly. A positive value indicates the number of samples after the sample that is a group member that must be decoded such that at the last of these recovery is complete, i.e. the last sample is correct. A negative value indicates the number of samples before the sample that is a group member that must be decoded in order for recovery to be complete at the marked sample. The value zero must not be used; the sync sample table documents random access points for which no recovery roll is needed.
-
-
Constructor Summary
Constructors Constructor Description RollRecoveryEntry()
-
Method Summary
Modifier and Type Method Description booleanequals(Object o)ByteBufferget()shortgetRollDistance()StringgetType()inthashCode()voidparse(ByteBuffer byteBuffer)voidsetRollDistance(short rollDistance)-
Methods inherited from class org.mp4parser.boxes.samplegrouping.GroupEntry
size
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
- Specified by:
getTypein classGroupEntry
-
getRollDistance
public short getRollDistance()
-
setRollDistance
public void setRollDistance(short rollDistance)
-
parse
public void parse(ByteBuffer byteBuffer)
- Specified by:
parsein classGroupEntry
-
get
public ByteBuffer get()
- Specified by:
getin classGroupEntry
-
-