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

Ovc1VisualSampleEntryImpl

public class Ovc1VisualSampleEntryImpl extends SampleEntry

Fields Summary
private byte[]
vc1Content
public static final String
TYPE
Constructors Summary
protected Ovc1VisualSampleEntryImpl()

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

        _parseReservedAndDataReferenceIndex(content);
        vc1Content = new byte[content.remaining()];
        content.get(vc1Content);

    
protected voidgetContent(java.nio.ByteBuffer byteBuffer)

        byteBuffer.put(new byte[6]);
        IsoTypeWriter.writeUInt16(byteBuffer, getDataReferenceIndex());
        byteBuffer.put(vc1Content);
    
protected longgetContentSize()



    
       
        long size = 8;

        for (Box box : boxes) {
            size += box.getSize();
        }
        size += vc1Content.length;
        return size;