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

MpegSampleEntry

public class MpegSampleEntry extends SampleEntry implements com.coremedia.iso.boxes.ContainerBox

Fields Summary
private com.coremedia.iso.BoxParser
boxParser
Constructors Summary
public MpegSampleEntry(String type)

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

        _parseReservedAndDataReferenceIndex(content);
        _parseChildBoxes(content);

    
protected voidgetContent(java.nio.ByteBuffer byteBuffer)

        _writeReservedAndDataReferenceIndex(byteBuffer);
        _writeChildBoxes(byteBuffer);
    
protected longgetContentSize()

        long contentSize = 8;
        for (Box boxe : boxes) {
            contentSize += boxe.getSize();
        }
        return contentSize;
    
public java.lang.StringtoString()

        return "MpegSampleEntry" + Arrays.asList(getBoxes());