Class AvcConfigurationBox
java.lang.Object
org.mp4parser.support.AbstractBox
org.mp4parser.boxes.iso14496.part15.AvcConfigurationBox
- All Implemented Interfaces:
Box,ParsableBox
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
FieldsFields inherited from class org.mp4parser.support.AbstractBox
content, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid_parseDetails(ByteBuffer content) Parse the box's fields and child boxes if any.intintintintintintvoidgetContent(ByteBuffer byteBuffer) Write the box's content into the givenByteBuffer.longGet the box's content size without its header.intintbooleanhasExts()voidsetAvcLevelIndication(int avcLevelIndication) voidsetAvcProfileIndication(int avcProfileIndication) voidsetBitDepthChromaMinus8(int bitDepthChromaMinus8) voidsetBitDepthLumaMinus8(int bitDepthLumaMinus8) voidsetChromaFormat(int chromaFormat) voidsetConfigurationVersion(int configurationVersion) voidsetHasExts(boolean hasExts) voidsetLengthSizeMinusOne(int lengthSizeMinusOne) voidsetPictureParameterSets(List<ByteBuffer> pictureParameterSets) voidsetProfileCompatibility(int profileCompatibility) voidsetSequenceParameterSetExts(List<ByteBuffer> sequenceParameterSetExts) voidsetSequenceParameterSets(List<ByteBuffer> sequenceParameterSets) toString()Methods inherited from class org.mp4parser.support.AbstractBox
getBox, getSize, getType, getUserType, isParsed, parse, parseDetails
-
Field Details
-
TYPE
- See Also:
-
avcDecoderConfigurationRecord
-
-
Constructor Details
-
AvcConfigurationBox
public AvcConfigurationBox()
-
-
Method Details
-
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
-
setSequenceParameterSets
-
getPictureParameterSets
-
setPictureParameterSets
-
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
-
setSequenceParameterSetExts
-
hasExts
public boolean hasExts() -
setHasExts
public void setHasExts(boolean hasExts) -
_parseDetails
Description copied from class:AbstractBoxParse the box's fields and child boxes if any.- Specified by:
_parseDetailsin classAbstractBox- Parameters:
content- the box's raw content beginning after the 4-cc field.
-
getContentSize
public long getContentSize()Description copied from class:AbstractBoxGet the box's content size without its header. This must be the exact number of bytes thatgetContent(ByteBuffer)writes.- Specified by:
getContentSizein classAbstractBox- Returns:
- Gets the box's content size in bytes
- See Also:
-
getContent
Description copied from class:AbstractBoxWrite the box's content into the givenByteBuffer. This must include flags and version in case of a full box.byteBufferhas been initialized withgetSize()bytes.- Specified by:
getContentin classAbstractBox- Parameters:
byteBuffer- the sink for the box's content
-
getavcDecoderConfigurationRecord
-
toString
-