Class QuickTimeMeta.Group
java.lang.Object
org.monte.media.quicktime.QuickTimeMeta.Group
- Direct Known Subclasses:
QuickTimeMeta.Chunk,QuickTimeMeta.SampleSizeGroup,QuickTimeMeta.TimeToSampleGroup
- Enclosing class:
QuickTimeMeta
Groups consecutive samples with same characteristics.
- Author:
- Werner Randelshofer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected QuickTimeMeta.MediaSampleprotected QuickTimeMeta.MediaSampleprotected static final longprotected long -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGroup(QuickTimeMeta.Group group) protectedGroup(QuickTimeMeta.MediaSample firstSample) protectedGroup(QuickTimeMeta.MediaSample firstSample, QuickTimeMeta.MediaSample lastSample, long sampleCount) -
Method Summary
Modifier and TypeMethodDescriptionlongprotected booleanmaybeAddChunk(QuickTimeMeta.Chunk chunk) Returns true, if the chunk was added to the group.protected booleanReturns true, if the samples was added to the group.
-
Field Details
-
firstSample
-
lastSample
-
sampleCount
protected long sampleCount -
maxSampleCount
protected static final long maxSampleCount- See Also:
-
-
Constructor Details
-
Group
-
Group
protected Group(QuickTimeMeta.MediaSample firstSample, QuickTimeMeta.MediaSample lastSample, long sampleCount) -
Group
-
-
Method Details
-
maybeAddSample
Returns true, if the samples was added to the group. If false is returned, the sample must be added to a new group.A sample can only be added to a group, if the capacity of the group is not exceeded.
-
maybeAddChunk
Returns true, if the chunk was added to the group. If false is returned, the chunk must be added to a new group.A chunk can only be added to a group, if the capacity of the group is not exceeded.
-
getSampleCount
public long getSampleCount()
-