protected abstract static class AbstractQuickTimeStream.Group
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected AbstractQuickTimeStream.Sample |
firstSample |
protected AbstractQuickTimeStream.Sample |
lastSample |
protected static long |
maxSampleCount |
protected long |
sampleCount |
Modifier | Constructor and Description |
---|---|
protected |
Group(AbstractQuickTimeStream.Group group) |
protected |
Group(AbstractQuickTimeStream.Sample firstSample) |
protected |
Group(AbstractQuickTimeStream.Sample firstSample,
AbstractQuickTimeStream.Sample lastSample,
long sampleCount) |
Modifier and Type | Method and Description |
---|---|
long |
getSampleCount() |
protected boolean |
maybeAddChunk(AbstractQuickTimeStream.Chunk chunk)
Returns true, if the chunk was added to the group.
|
protected boolean |
maybeAddSample(AbstractQuickTimeStream.Sample sample)
Returns true, if the samples was added to the group.
|
protected AbstractQuickTimeStream.Sample firstSample
protected AbstractQuickTimeStream.Sample lastSample
protected long sampleCount
protected static final long maxSampleCount
protected Group(AbstractQuickTimeStream.Sample firstSample)
protected Group(AbstractQuickTimeStream.Sample firstSample, AbstractQuickTimeStream.Sample lastSample, long sampleCount)
protected Group(AbstractQuickTimeStream.Group group)
protected boolean maybeAddSample(AbstractQuickTimeStream.Sample sample)
A sample can only be added to a group, if the capacity of the group is not exceeded.
protected boolean maybeAddChunk(AbstractQuickTimeStream.Chunk chunk)
A chunk can only be added to a group, if the capacity of the group is not exceeded.
public long getSampleCount()