FileDocCategorySizeDatePackage
SampleDependencyTypeBox.javaAPI Docmp4parser 1.0-RC-173701Wed Dec 19 20:10:38 GMT 2012com.coremedia.iso.boxes

SampleDependencyTypeBox

public class SampleDependencyTypeBox extends com.googlecode.mp4parser.AbstractFullBox
aligned(8) class SampleDependencyTypeBox extends FullBox('sdtp', version = 0, 0) { for (i=0; i < sample_count; i++){ unsigned int(2) reserved = 0; unsigned int(2) sample_depends_on; unsigned int(2) sample_is_depended_on; unsigned int(2) sample_has_redundancy; } }

Fields Summary
public static final String
TYPE
private List
entries
Constructors Summary
public SampleDependencyTypeBox()

        super(TYPE);
    
Methods Summary
public void_parseDetails(java.nio.ByteBuffer content)

        parseVersionAndFlags(content);
        while (content.remaining() > 0) {
            entries.add(new Entry(IsoTypeReader.readUInt8(content)));
        }
    
protected voidgetContent(java.nio.ByteBuffer byteBuffer)

        writeVersionAndFlags(byteBuffer);
        for (Entry entry : entries) {
            IsoTypeWriter.writeUInt8(byteBuffer, entry.value);
        }
    
protected longgetContentSize()

        return 4 + entries.size();
    
public java.util.ListgetEntries()

        return entries;
    
public voidsetEntries(java.util.List entries)

        this.entries = entries;
    
public java.lang.StringtoString()

        final StringBuilder sb = new StringBuilder();
        sb.append("SampleDependencyTypeBox");
        sb.append("{entries=").append(entries);
        sb.append('}");
        return sb.toString();