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

OriginalFormatBox

public class OriginalFormatBox extends com.googlecode.mp4parser.AbstractBox
The Original Format Box contains the four-character-code of the original untransformed sample description. See ISO/IEC 14496-12 for details.
see
ProtectionSchemeInformationBox

Fields Summary
public static final String
TYPE
private String
dataFormat
Constructors Summary
public OriginalFormatBox()


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

        dataFormat = IsoTypeReader.read4cc(content);
    
protected voidgetContent(java.nio.ByteBuffer byteBuffer)

        byteBuffer.put(IsoFile.fourCCtoBytes(dataFormat));
    
protected longgetContentSize()

        return 4;
    
public java.lang.StringgetDataFormat()

        return dataFormat;
    
public voidsetDataFormat(java.lang.String dataFormat)

        assert dataFormat.length() == 4;
        this.dataFormat = dataFormat;
    
public java.lang.StringtoString()

        return "OriginalFormatBox[dataFormat=" + getDataFormat() + "]";