com.coremedia.iso.boxes.h264
Class AvcConfigurationBox

java.lang.Object
  extended by com.googlecode.mp4parser.AbstractBox
      extended by com.coremedia.iso.boxes.h264.AvcConfigurationBox
All Implemented Interfaces:
Box

public final class AvcConfigurationBox
extends AbstractBox

Defined in ISO/IEC 14496-15:2004.


Nested Class Summary
static class AvcConfigurationBox.AVCDecoderConfigurationRecord
           
 
Field Summary
 AvcConfigurationBox.AVCDecoderConfigurationRecord avcDecoderConfigurationRecord
           
static String TYPE
           
 
Fields inherited from class com.googlecode.mp4parser.AbstractBox
type
 
Constructor Summary
AvcConfigurationBox()
           
 
Method Summary
 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()
           
 List<String> getPictureParameterSetsAsStrings()
           
 String[] getPPS()
           
 int getProfileCompatibility()
           
 List<byte[]> getSequenceParameterSetExts()
           
 List<String> getSequenceParameterSetExtsAsStrings()
           
 List<byte[]> getSequenceParameterSets()
           
 List<String> getSequenceParameterSetsAsStrings()
           
 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)
           
 
Methods inherited from class com.googlecode.mp4parser.AbstractBox
getBox, getIsoFile, getParent, getSize, getType, getUserType, isParsed, parse, setDeadBytes, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
See Also:
Constant Field Values

avcDecoderConfigurationRecord

public AvcConfigurationBox.AVCDecoderConfigurationRecord avcDecoderConfigurationRecord
Constructor Detail

AvcConfigurationBox

public AvcConfigurationBox()
Method Detail

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.