public final class AvcConfigurationBox extends AbstractBox
Possible paths
Modifier and Type | Class and Description |
---|---|
static class |
AvcConfigurationBox.AVCDecoderConfigurationRecord |
Modifier and Type | Field and Description |
---|---|
AvcConfigurationBox.AVCDecoderConfigurationRecord |
avcDecoderConfigurationRecord |
static String |
TYPE |
type
Constructor and Description |
---|
AvcConfigurationBox() |
Modifier and Type | Method and Description |
---|---|
void |
_parseDetails(ByteBuffer content)
Parse the box's fields and child boxes if any.
|
AvcConfigurationBox.AVCDecoderConfigurationRecord |
getavcDecoderConfigurationRecord() |
int |
getAvcLevelIndication() |
int |
getAvcProfileIndication() |
int |
getBitDepthChromaMinus8() |
int |
getBitDepthLumaMinus8() |
int |
getChromaFormat() |
int |
getConfigurationVersion() |
void |
getContent(ByteBuffer byteBuffer)
Write the box's content into the given
ByteBuffer . |
long |
getContentSize()
Get the box's content size without its header.
|
int |
getLengthSizeMinusOne() |
List<byte[]> |
getPictureParameterSets() |
String[] |
getPPS() |
int |
getProfileCompatibility() |
List<byte[]> |
getSequenceParameterSetExts() |
List<byte[]> |
getSequenceParameterSets() |
String[] |
getSPS() |
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(List<byte[]> pictureParameterSets) |
void |
setProfileCompatibility(int profileCompatibility) |
void |
setSequenceParameterSetExts(List<byte[]> sequenceParameterSetExts) |
void |
setSequenceParameterSets(List<byte[]> sequenceParameterSets) |
getBox, getOffset, getParent, getPath, getSize, getType, getUserType, isParsed, parse, parseDetails, setDeadBytes, setParent
public static final String TYPE
public AvcConfigurationBox.AVCDecoderConfigurationRecord avcDecoderConfigurationRecord
public int getConfigurationVersion()
public int getAvcProfileIndication()
public int getProfileCompatibility()
public int getAvcLevelIndication()
public int getLengthSizeMinusOne()
public List<byte[]> getSequenceParameterSets()
public List<byte[]> getPictureParameterSets()
public void setConfigurationVersion(int configurationVersion)
public void setAvcProfileIndication(int avcProfileIndication)
public void setProfileCompatibility(int profileCompatibility)
public void setAvcLevelIndication(int avcLevelIndication)
public void setLengthSizeMinusOne(int lengthSizeMinusOne)
public void setSequenceParameterSets(List<byte[]> sequenceParameterSets)
public void setPictureParameterSets(List<byte[]> 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 List<byte[]> getSequenceParameterSetExts()
public void setSequenceParameterSetExts(List<byte[]> sequenceParameterSetExts)
public boolean hasExts()
public void setHasExts(boolean hasExts)
public void _parseDetails(ByteBuffer content)
AbstractBox
_parseDetails
in class AbstractBox
content
- the box's raw content beginning after the 4-cc field.public long getContentSize()
AbstractBox
getContent(ByteBuffer)
writes.getContentSize
in class AbstractBox
AbstractBox.getContent(java.nio.ByteBuffer)
public void getContent(ByteBuffer byteBuffer)
AbstractBox
ByteBuffer
. This must include flags
and version in case of a full box. byteBuffer
has been initialized with
getSize()
bytes.getContent
in class AbstractBox
byteBuffer
- the sink for the box's contentpublic String[] getSPS()
public String[] getPPS()
public AvcConfigurationBox.AVCDecoderConfigurationRecord getavcDecoderConfigurationRecord()
Copyright © 2014. All rights reserved.