Package org.mp4parser.boxes.dolby
Class DTSSpecificBox
- java.lang.Object
-
- org.mp4parser.support.AbstractBox
-
- org.mp4parser.boxes.dolby.DTSSpecificBox
-
- All Implemented Interfaces:
Box,ParsableBox
public class DTSSpecificBox extends AbstractBox
4cc = ""ddts""
-
-
Field Summary
-
Fields inherited from class org.mp4parser.support.AbstractBox
content, type
-
-
Constructor Summary
Constructors Constructor Description DTSSpecificBox()
-
Method Summary
Modifier and Type Method Description void_parseDetails(ByteBuffer content)Parse the box's fields and child boxes if any.longgetAvgBitRate()intgetChannelLayout()protected voidgetContent(ByteBuffer byteBuffer)Write the box's content into the givenByteBuffer.protected longgetContentSize()Get the box's content size without its header.intgetCoreLayout()intgetCoreLFEPresent()intgetCoreSize()int[]getDashAudioChannelConfiguration()longgetDTSSamplingFrequency()intgetFrameDuration()intgetLBRDurationMod()longgetMaxBitRate()intgetMultiAssetFlag()intgetPcmSampleDepth()intgetRepresentationType()intgetReserved()intgetReservedBoxPresent()intgetStereoDownmix()intgetStreamConstruction()voidsetAvgBitRate(long avgBitRate)voidsetChannelLayout(int channelLayout)voidsetCoreLayout(int coreLayout)voidsetCoreLFEPresent(int coreLFEPresent)voidsetCoreSize(int coreSize)voidsetDTSSamplingFrequency(long DTSSamplingFrequency)voidsetFrameDuration(int frameDuration)voidsetLBRDurationMod(int LBRDurationMod)voidsetMaxBitRate(long maxBitRate)voidsetMultiAssetFlag(int multiAssetFlag)voidsetPcmSampleDepth(int pcmSampleDepth)voidsetRepresentationType(int representationType)voidsetReserved(int reserved)voidsetReservedBoxPresent(int reservedBoxPresent)voidsetStereoDownmix(int stereoDownmix)voidsetStreamConstruction(int streamConstruction)-
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
-
-
Method Detail
-
getContentSize
protected 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:
AbstractBox.getContent(java.nio.ByteBuffer)
-
_parseDetails
public void _parseDetails(ByteBuffer content)
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.
-
getContent
protected void getContent(ByteBuffer byteBuffer)
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
-
getAvgBitRate
public long getAvgBitRate()
-
setAvgBitRate
public void setAvgBitRate(long avgBitRate)
-
getDTSSamplingFrequency
public long getDTSSamplingFrequency()
-
setDTSSamplingFrequency
public void setDTSSamplingFrequency(long DTSSamplingFrequency)
-
getMaxBitRate
public long getMaxBitRate()
-
setMaxBitRate
public void setMaxBitRate(long maxBitRate)
-
getPcmSampleDepth
public int getPcmSampleDepth()
-
setPcmSampleDepth
public void setPcmSampleDepth(int pcmSampleDepth)
-
getFrameDuration
public int getFrameDuration()
-
setFrameDuration
public void setFrameDuration(int frameDuration)
-
getStreamConstruction
public int getStreamConstruction()
-
setStreamConstruction
public void setStreamConstruction(int streamConstruction)
-
getCoreLFEPresent
public int getCoreLFEPresent()
-
setCoreLFEPresent
public void setCoreLFEPresent(int coreLFEPresent)
-
getCoreLayout
public int getCoreLayout()
-
setCoreLayout
public void setCoreLayout(int coreLayout)
-
getCoreSize
public int getCoreSize()
-
setCoreSize
public void setCoreSize(int coreSize)
-
getStereoDownmix
public int getStereoDownmix()
-
setStereoDownmix
public void setStereoDownmix(int stereoDownmix)
-
getRepresentationType
public int getRepresentationType()
-
setRepresentationType
public void setRepresentationType(int representationType)
-
getChannelLayout
public int getChannelLayout()
-
setChannelLayout
public void setChannelLayout(int channelLayout)
-
getMultiAssetFlag
public int getMultiAssetFlag()
-
setMultiAssetFlag
public void setMultiAssetFlag(int multiAssetFlag)
-
getLBRDurationMod
public int getLBRDurationMod()
-
setLBRDurationMod
public void setLBRDurationMod(int LBRDurationMod)
-
getReserved
public int getReserved()
-
setReserved
public void setReserved(int reserved)
-
getReservedBoxPresent
public int getReservedBoxPresent()
-
setReservedBoxPresent
public void setReservedBoxPresent(int reservedBoxPresent)
-
getDashAudioChannelConfiguration
@DoNotParseDetail public int[] getDashAudioChannelConfiguration()
-
-