com.googlecode.mp4parser.boxes
Class DTSSpecificBox
java.lang.Object
com.googlecode.mp4parser.AbstractBox
com.googlecode.mp4parser.boxes.DTSSpecificBox
- All Implemented Interfaces:
- Box
public class DTSSpecificBox
- extends AbstractBox
Created by IntelliJ IDEA.
User: magnus
Date: 2012-03-09
Time: 16:11
To change this template use File | Settings | File Templates.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DTSSpecificBox
public DTSSpecificBox()
getContentSize
protected 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)
_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.
getContent
protected 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
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)
Copyright © 2012. All Rights Reserved.