com.coremedia.iso.boxes.h264
Class AvcConfigurationBox
java.lang.Object
com.googlecode.mp4parser.AbstractBox
com.coremedia.iso.boxes.h264.AvcConfigurationBox
- All Implemented Interfaces:
- Box
public final class AvcConfigurationBox
- extends AbstractBox
Defined in ISO/IEC 14496-15:2004.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
avcDecoderConfigurationRecord
public AvcConfigurationBox.AVCDecoderConfigurationRecord avcDecoderConfigurationRecord
AvcConfigurationBox
public AvcConfigurationBox()
getConfigurationVersion
public int getConfigurationVersion()
getAvcProfileIndication
public int getAvcProfileIndication()
getProfileCompatibility
public int getProfileCompatibility()
getAvcLevelIndication
public int getAvcLevelIndication()
getLengthSizeMinusOne
public int getLengthSizeMinusOne()
getSequenceParameterSets
public List<byte[]> getSequenceParameterSets()
getPictureParameterSets
public List<byte[]> getPictureParameterSets()
setConfigurationVersion
public void setConfigurationVersion(int configurationVersion)
setAvcProfileIndication
public void setAvcProfileIndication(int avcProfileIndication)
setProfileCompatibility
public void setProfileCompatibility(int profileCompatibility)
setAvcLevelIndication
public void setAvcLevelIndication(int avcLevelIndication)
setLengthSizeMinusOne
public void setLengthSizeMinusOne(int lengthSizeMinusOne)
setSequenceParameterSets
public void setSequenceParameterSets(List<byte[]> sequenceParameterSets)
setPictureParameterSets
public void setPictureParameterSets(List<byte[]> pictureParameterSets)
getChromaFormat
public int getChromaFormat()
setChromaFormat
public void setChromaFormat(int chromaFormat)
getBitDepthLumaMinus8
public int getBitDepthLumaMinus8()
setBitDepthLumaMinus8
public void setBitDepthLumaMinus8(int bitDepthLumaMinus8)
getBitDepthChromaMinus8
public int getBitDepthChromaMinus8()
setBitDepthChromaMinus8
public void setBitDepthChromaMinus8(int bitDepthChromaMinus8)
getSequenceParameterSetExts
public List<byte[]> getSequenceParameterSetExts()
setSequenceParameterSetExts
public void setSequenceParameterSetExts(List<byte[]> sequenceParameterSetExts)
hasExts
public boolean hasExts()
setHasExts
public void setHasExts(boolean hasExts)
_parseDetails
public void _parseDetails(ByteBuffer content)
- Description copied from class:
AbstractBox
- Parse the box's fields and child boxes if any.
- Specified by:
_parseDetails
in class AbstractBox
- Parameters:
content
- the box's raw content beginning after the 4-cc field.
getContentSize
public long getContentSize()
- Description copied from class:
AbstractBox
- Get the box's content size without its header. This must be the exact number of bytes
that
getContent(ByteBuffer)
writes.
- Specified by:
getContentSize
in class AbstractBox
- Returns:
- Gets the box's content size in bytes
- See Also:
AbstractBox.getContent(java.nio.ByteBuffer)
getContent
public void getContent(ByteBuffer byteBuffer)
- Description copied from class:
AbstractBox
- Write the box's content into the given
ByteBuffer
. This must include flags
and version in case of a full box. byteBuffer
has been initialized with
getSize()
bytes.
- Specified by:
getContent
in class AbstractBox
- Parameters:
byteBuffer
- the sink for the box's content
getSPS
public String[] getSPS()
getPPS
public String[] getPPS()
getSequenceParameterSetsAsStrings
public List<String> getSequenceParameterSetsAsStrings()
getSequenceParameterSetExtsAsStrings
public List<String> getSequenceParameterSetExtsAsStrings()
getPictureParameterSetsAsStrings
public List<String> getPictureParameterSetsAsStrings()
getavcDecoderConfigurationRecord
public AvcConfigurationBox.AVCDecoderConfigurationRecord getavcDecoderConfigurationRecord()
Copyright © 2012. All Rights Reserved.