FileDocCategorySizeDatePackage
AvcNalUnitStorageBox.javaAPI Docmp4parser 1.0-RC-173290Wed Dec 19 20:10:37 GMT 2012com.googlecode.mp4parser.boxes.basemediaformat

AvcNalUnitStorageBox

public class AvcNalUnitStorageBox extends com.googlecode.mp4parser.AbstractBox
The AVC NAL Unit Storage Box SHALL contain an AVCDecoderConfigurationRecord, as defined in section 5.2.4.1 of the ISO 14496-12.

Fields Summary
AvcConfigurationBox.AVCDecoderConfigurationRecord
avcDecoderConfigurationRecord
Constructors Summary
public AvcNalUnitStorageBox()

        super("avcn");
    
public AvcNalUnitStorageBox(com.coremedia.iso.boxes.h264.AvcConfigurationBox avcConfigurationBox)

        super("avcn");
        this.avcDecoderConfigurationRecord = avcConfigurationBox.getavcDecoderConfigurationRecord();
    
Methods Summary
public void_parseDetails(java.nio.ByteBuffer content)

        this.avcDecoderConfigurationRecord = new AvcConfigurationBox.AVCDecoderConfigurationRecord(content);
    
public AvcConfigurationBox.AVCDecoderConfigurationRecordgetAvcDecoderConfigurationRecord()

        return avcDecoderConfigurationRecord;
    
protected voidgetContent(java.nio.ByteBuffer byteBuffer)

        this.avcDecoderConfigurationRecord.getContent(byteBuffer);
    
protected longgetContentSize()

        return avcDecoderConfigurationRecord.getContentSize();
    
public intgetLengthSizeMinusOne()

        return avcDecoderConfigurationRecord.lengthSizeMinusOne;
    
public java.lang.String[]getPPS()

        return avcDecoderConfigurationRecord.getPPS();
    
public java.util.ListgetPictureParameterSetsAsStrings()

        return avcDecoderConfigurationRecord.getPictureParameterSetsAsStrings();
    
public java.lang.String[]getSPS()

        return avcDecoderConfigurationRecord.getSPS();
    
public java.util.ListgetSequenceParameterSetExtsAsStrings()

        return avcDecoderConfigurationRecord.getSequenceParameterSetExtsAsStrings();
    
public java.util.ListgetSequenceParameterSetsAsStrings()

        return avcDecoderConfigurationRecord.getSequenceParameterSetsAsStrings();
    
public java.lang.StringtoString()

        return "AvcNalUnitStorageBox{" +
                "SPS=" + avcDecoderConfigurationRecord.getSequenceParameterSetsAsStrings() +
                ",PPS=" + avcDecoderConfigurationRecord.getPictureParameterSetsAsStrings() +
                ",lengthSize=" + (avcDecoderConfigurationRecord.lengthSizeMinusOne + 1) +
                '}";