org.jcodec.containers.mp4.boxes
Class TimeToSampleBox

java.lang.Object
  extended by org.jcodec.containers.mp4.boxes.Box
      extended by org.jcodec.containers.mp4.boxes.FullBox
          extended by org.jcodec.containers.mp4.boxes.TimeToSampleBox

public class TimeToSampleBox
extends FullBox

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License A box containing sample presentation time information

Author:
Jay Codec

Nested Class Summary
static class TimeToSampleBox.TimeToSampleEntry
           
 
Field Summary
 
Fields inherited from class org.jcodec.containers.mp4.boxes.FullBox
flags, version
 
Fields inherited from class org.jcodec.containers.mp4.boxes.Box
header
 
Constructor Summary
TimeToSampleBox()
           
TimeToSampleBox(TimeToSampleBox.TimeToSampleEntry[] timeToSamples)
           
 
Method Summary
 void doWrite(ByteBuffer out)
           
static String fourcc()
           
 TimeToSampleBox.TimeToSampleEntry[] getEntries()
           
 void parse(ByteBuffer input)
           
 void setEntries(TimeToSampleBox.TimeToSampleEntry[] entries)
           
 
Methods inherited from class org.jcodec.containers.mp4.boxes.FullBox
getFlags, getVersion, setFlags, setVersion
 
Methods inherited from class org.jcodec.containers.mp4.boxes.Box
as, dump, findAll, findAll, findFirst, findFirst, getFourcc, getHeader, toString, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeToSampleBox

public TimeToSampleBox(TimeToSampleBox.TimeToSampleEntry[] timeToSamples)

TimeToSampleBox

public TimeToSampleBox()
Method Detail

fourcc

public static String fourcc()

parse

public void parse(ByteBuffer input)
Overrides:
parse in class FullBox

getEntries

public TimeToSampleBox.TimeToSampleEntry[] getEntries()

doWrite

public void doWrite(ByteBuffer out)
Overrides:
doWrite in class FullBox

setEntries

public void setEntries(TimeToSampleBox.TimeToSampleEntry[] entries)


Copyright © 2013. All Rights Reserved.