Package org.mp4parser.boxes.dolby
Class DTSSpecificBox
java.lang.Object
org.mp4parser.support.AbstractBox
org.mp4parser.boxes.dolby.DTSSpecificBox
- All Implemented Interfaces:
Box,ParsableBox
4cc = ""ddts""
-
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.longintprotected voidgetContent(ByteBuffer byteBuffer) Write the box's content into the givenByteBuffer.protected longGet the box's content size without its header.intintintint[]longintintlongintintintintintintintvoidsetAvgBitRate(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 Details
-
TYPE
- See Also:
-
-
Constructor Details
-
DTSSpecificBox
public DTSSpecificBox()
-
-
Method Details
-
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:
-
_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.
-
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
-
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
-