com.googlecode.mp4parser.boxes
Class DTSSpecificBox

java.lang.Object
  extended by com.coremedia.iso.boxes.AbstractBox
      extended by 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.


Field Summary
 
Fields inherited from class com.coremedia.iso.boxes.AbstractBox
deadBytes, type
 
Constructor Summary
DTSSpecificBox()
           
 
Method Summary
 void _parseDetails(ByteBuffer content)
          Implement the actual parsing of the box's fields here.
 long getAvgBitRate()
           
 int getChannelLayout()
           
protected  void getContent(ByteBuffer bb)
          Writes the box's content into the given ByteBuffer.
protected  long getContentSize()
          Gets the box's content size.
 int getCoreLayout()
           
 int getCoreLFEPresent()
           
 int getCoreSize()
           
 long getDTSSamplingFrequency()
           
 int getFrameDuration()
           
 int getLBRDurationMod()
           
 long getMaxBitRate()
           
 int getMultiAssetFlag()
           
 int getPcmSampleDepth()
           
 int getRepresentationType()
           
 int getReserved()
           
 int getReservedBoxPresent()
           
 int getStereoDownmix()
           
 int getStreamConstruction()
           
 void setAvgBitRate(long avgBitRate)
           
 void setChannelLayout(int channelLayout)
           
 void setCoreLayout(int coreLayout)
           
 void setCoreLFEPresent(int coreLFEPresent)
           
 void setCoreSize(int coreSize)
           
 void setDTSSamplingFrequency(long DTSSamplingFrequency)
           
 void setFrameDuration(int frameDuration)
           
 void setLBRDurationMod(int LBRDurationMod)
           
 void setMaxBitRate(long maxBitRate)
           
 void setMultiAssetFlag(int multiAssetFlag)
           
 void setPcmSampleDepth(int pcmSampleDepth)
           
 void setRepresentationType(int representationType)
           
 void setReserved(int reserved)
           
 void setReservedBoxPresent(int reservedBoxPresent)
           
 void setStereoDownmix(int stereoDownmix)
           
 void setStreamConstruction(int streamConstruction)
           
 
Methods inherited from class com.coremedia.iso.boxes.AbstractBox
getBox, getDeadBytes, getHeader, getIsoFile, getParent, getSize, getType, getUserType, isParsed, parse, parseDetails, setDeadBytes, setParent, setUserType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTSSpecificBox

public DTSSpecificBox()
Method Detail

getContentSize

protected long getContentSize()
Description copied from class: AbstractBox
Gets the box's content size. This excludes all header fields:

Flags and version of a full box need to be taken into account.

Specified by:
getContentSize in class AbstractBox
Returns:
Gets the box's content size in bytes

_parseDetails

public void _parseDetails(ByteBuffer content)
Description copied from class: AbstractBox
Implement the actual parsing of the box's fields here. External classes will always call AbstractBox.parseDetails() which encapsulates the call to this method with some safeguards.

Specified by:
_parseDetails in class AbstractBox

getContent

protected void getContent(ByteBuffer bb)
                   throws IOException
Description copied from class: AbstractBox
Writes the box's content into the given ByteBuffer. This must include flags and version in case of a full box. bb has been initialized with getSize() bytes.

Specified by:
getContent in class AbstractBox
Parameters:
bb - the box's content-sink.
Throws:
IOException - in case of an exception in the underlying OutputStream.

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.