public final class AvcConfigurationBox extends AbstractBox
Possible paths
| Modifier and Type | Field and Description |
|---|---|
AvcDecoderConfigurationRecord |
avcDecoderConfigurationRecord |
static java.lang.String |
TYPE |
content, type| Constructor and Description |
|---|
AvcConfigurationBox() |
| Modifier and Type | Method and Description |
|---|---|
void |
_parseDetails(java.nio.ByteBuffer content)
Parse the box's fields and child boxes if any.
|
AvcDecoderConfigurationRecord |
getavcDecoderConfigurationRecord() |
int |
getAvcLevelIndication() |
int |
getAvcProfileIndication() |
int |
getBitDepthChromaMinus8() |
int |
getBitDepthLumaMinus8() |
int |
getChromaFormat() |
int |
getConfigurationVersion() |
void |
getContent(java.nio.ByteBuffer byteBuffer)
Write the box's content into the given
ByteBuffer. |
long |
getContentSize()
Get the box's content size without its header.
|
int |
getLengthSizeMinusOne() |
java.util.List<java.nio.ByteBuffer> |
getPictureParameterSets() |
int |
getProfileCompatibility() |
java.util.List<java.nio.ByteBuffer> |
getSequenceParameterSetExts() |
java.util.List<java.nio.ByteBuffer> |
getSequenceParameterSets() |
boolean |
hasExts() |
void |
setAvcLevelIndication(int avcLevelIndication) |
void |
setAvcProfileIndication(int avcProfileIndication) |
void |
setBitDepthChromaMinus8(int bitDepthChromaMinus8) |
void |
setBitDepthLumaMinus8(int bitDepthLumaMinus8) |
void |
setChromaFormat(int chromaFormat) |
void |
setConfigurationVersion(int configurationVersion) |
void |
setHasExts(boolean hasExts) |
void |
setLengthSizeMinusOne(int lengthSizeMinusOne) |
void |
setPictureParameterSets(java.util.List<java.nio.ByteBuffer> pictureParameterSets) |
void |
setProfileCompatibility(int profileCompatibility) |
void |
setSequenceParameterSetExts(java.util.List<java.nio.ByteBuffer> sequenceParameterSetExts) |
void |
setSequenceParameterSets(java.util.List<java.nio.ByteBuffer> sequenceParameterSets) |
java.lang.String |
toString() |
getBox, getSize, getType, getUserType, isParsed, parse, parseDetailspublic static final java.lang.String TYPE
public AvcDecoderConfigurationRecord avcDecoderConfigurationRecord
public int getConfigurationVersion()
public void setConfigurationVersion(int configurationVersion)
public int getAvcProfileIndication()
public void setAvcProfileIndication(int avcProfileIndication)
public int getProfileCompatibility()
public void setProfileCompatibility(int profileCompatibility)
public int getAvcLevelIndication()
public void setAvcLevelIndication(int avcLevelIndication)
public int getLengthSizeMinusOne()
public void setLengthSizeMinusOne(int lengthSizeMinusOne)
public java.util.List<java.nio.ByteBuffer> getSequenceParameterSets()
public void setSequenceParameterSets(java.util.List<java.nio.ByteBuffer> sequenceParameterSets)
public java.util.List<java.nio.ByteBuffer> getPictureParameterSets()
public void setPictureParameterSets(java.util.List<java.nio.ByteBuffer> pictureParameterSets)
public int getChromaFormat()
public void setChromaFormat(int chromaFormat)
public int getBitDepthLumaMinus8()
public void setBitDepthLumaMinus8(int bitDepthLumaMinus8)
public int getBitDepthChromaMinus8()
public void setBitDepthChromaMinus8(int bitDepthChromaMinus8)
public java.util.List<java.nio.ByteBuffer> getSequenceParameterSetExts()
public void setSequenceParameterSetExts(java.util.List<java.nio.ByteBuffer> sequenceParameterSetExts)
public boolean hasExts()
public void setHasExts(boolean hasExts)
public void _parseDetails(java.nio.ByteBuffer content)
AbstractBox_parseDetails in class AbstractBoxcontent - the box's raw content beginning after the 4-cc field.public long getContentSize()
AbstractBoxgetContent(ByteBuffer) writes.getContentSize in class AbstractBoxAbstractBox.getContent(java.nio.ByteBuffer)public void getContent(java.nio.ByteBuffer byteBuffer)
AbstractBoxByteBuffer. This must include flags
and version in case of a full box. byteBuffer has been initialized with
getSize() bytes.getContent in class AbstractBoxbyteBuffer - the sink for the box's contentpublic AvcDecoderConfigurationRecord getavcDecoderConfigurationRecord()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2020. All rights reserved.