Copyright 2012-04-26 Werner Randelshofer

org.monte.media.avi
Class AbstractAVIStream.Sample

java.lang.Object
  extended by org.monte.media.avi.AbstractAVIStream.Sample
Enclosing class:
AbstractAVIStream

protected static class AbstractAVIStream.Sample
extends java.lang.Object

AVI stores media data in sample chunks. A sample chunk may contain one or more media samples. A media sample is a single element in a sequence of time-ordered data.


Constructor Summary
AbstractAVIStream.Sample(java.lang.String chunkId, int duration, long offset, long length, boolean isSync)
          Creates a new sample.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAVIStream.Sample

public AbstractAVIStream.Sample(java.lang.String chunkId,
                                int duration,
                                long offset,
                                long length,
                                boolean isSync)
Creates a new sample.

Parameters:
duration - The number of media samples contained in the sample chunk.
offset - The offset in the AVI stream.
length - The length in the AVI stream.

Copyright 2012-04-26 Werner Randelshofer