Class SegmentIndexBox.Entry
java.lang.Object
org.mp4parser.boxes.iso14496.part12.SegmentIndexBox.Entry
- Enclosing class:
SegmentIndexBox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintbyteWhen set to 1 indicates that the reference is to a segment index ('sidx') box; otherwise the reference is to media content (e.g., in the case of files based on this specification, to a movie fragment box); if a separate index segment is used, then entries with reference tintbytebytelonginthashCode()voidsetReferencedSize(int referencedSize) voidsetReferenceType(byte referenceType) When set to 1 indicates that the reference is to a segment index ('sidx') box; otherwise the reference is to media content (e.g., in the case of files based on this specification, to a movie fragment box); if a separate index segment is used, then entries with reference tvoidsetSapDeltaTime(int sapDeltaTime) voidsetSapType(byte sapType) voidsetStartsWithSap(byte startsWithSap) voidsetSubsegmentDuration(long subsegmentDuration) toString()
-
Constructor Details
-
Entry
public Entry() -
Entry
public Entry(int referenceType, int referencedSize, long subsegmentDuration, boolean startsWithSap, int sapType, int sapDeltaTime)
-
-
Method Details
-
getReferenceType
public byte getReferenceType()When set to 1 indicates that the reference is to a segment index ('sidx') box; otherwise the reference is to media content (e.g., in the case of files based on this specification, to a movie fragment box); if a separate index segment is used, then entries with reference t- Returns:
- the reference type
-
setReferenceType
public void setReferenceType(byte referenceType) When set to 1 indicates that the reference is to a segment index ('sidx') box; otherwise the reference is to media content (e.g., in the case of files based on this specification, to a movie fragment box); if a separate index segment is used, then entries with reference t- Parameters:
referenceType- the new reference type
-
getReferencedSize
public int getReferencedSize() -
setReferencedSize
public void setReferencedSize(int referencedSize) -
getSubsegmentDuration
public long getSubsegmentDuration() -
setSubsegmentDuration
public void setSubsegmentDuration(long subsegmentDuration) -
getStartsWithSap
public byte getStartsWithSap() -
setStartsWithSap
public void setStartsWithSap(byte startsWithSap) -
getSapType
public byte getSapType() -
setSapType
public void setSapType(byte sapType) -
getSapDeltaTime
public int getSapDeltaTime() -
setSapDeltaTime
public void setSapDeltaTime(int sapDeltaTime) -
toString
-
equals
-
hashCode
public int hashCode()
-