Class AvcConfigurationBox
- java.lang.Object
-
- org.mp4parser.support.AbstractBox
-
- org.mp4parser.boxes.iso14496.part15.AvcConfigurationBox
-
- All Implemented Interfaces:
Box
,ParsableBox
public final class AvcConfigurationBox extends AbstractBox
4cc = ""avcC""
Defined in ISO/IEC 14496-15:2004.Possible paths
- /moov/trak/mdia/minf/stbl/stsd/avc1/avcC
- /moov/trak/mdia/minf/stbl/stsd/drmi/avcC
-
-
Field Summary
Fields Modifier and Type Field Description AvcDecoderConfigurationRecord
avcDecoderConfigurationRecord
static String
TYPE
-
Fields inherited from class org.mp4parser.support.AbstractBox
content, type
-
-
Constructor Summary
Constructors Constructor Description AvcConfigurationBox()
-
Method Summary
-
Methods inherited from class org.mp4parser.support.AbstractBox
getBox, getSize, getType, getUserType, isParsed, parse, parseDetails
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
avcDecoderConfigurationRecord
public AvcDecoderConfigurationRecord avcDecoderConfigurationRecord
-
-
Method Detail
-
getConfigurationVersion
public int getConfigurationVersion()
-
setConfigurationVersion
public void setConfigurationVersion(int configurationVersion)
-
getAvcProfileIndication
public int getAvcProfileIndication()
-
setAvcProfileIndication
public void setAvcProfileIndication(int avcProfileIndication)
-
getProfileCompatibility
public int getProfileCompatibility()
-
setProfileCompatibility
public void setProfileCompatibility(int profileCompatibility)
-
getAvcLevelIndication
public int getAvcLevelIndication()
-
setAvcLevelIndication
public void setAvcLevelIndication(int avcLevelIndication)
-
getLengthSizeMinusOne
public int getLengthSizeMinusOne()
-
setLengthSizeMinusOne
public void setLengthSizeMinusOne(int lengthSizeMinusOne)
-
getSequenceParameterSets
public List<ByteBuffer> getSequenceParameterSets()
-
setSequenceParameterSets
public void setSequenceParameterSets(List<ByteBuffer> sequenceParameterSets)
-
getPictureParameterSets
public List<ByteBuffer> getPictureParameterSets()
-
setPictureParameterSets
public void setPictureParameterSets(List<ByteBuffer> 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<ByteBuffer> getSequenceParameterSetExts()
-
setSequenceParameterSetExts
public void setSequenceParameterSetExts(List<ByteBuffer> 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 classAbstractBox
- 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 thatgetContent(ByteBuffer)
writes.- Specified by:
getContentSize
in classAbstractBox
- 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 givenByteBuffer
. This must include flags and version in case of a full box.byteBuffer
has been initialized withgetSize()
bytes.- Specified by:
getContent
in classAbstractBox
- Parameters:
byteBuffer
- the sink for the box's content
-
getavcDecoderConfigurationRecord
public AvcDecoderConfigurationRecord getavcDecoderConfigurationRecord()
-
-