com.googlecode.mp4parser.boxes
Class DTSSpecificBox

java.lang.Object
  extended by com.googlecode.mp4parser.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.googlecode.mp4parser.AbstractBox
type
 
Constructor Summary
DTSSpecificBox()
           
 
Method Summary
 void _parseDetails(ByteBuffer content)
          Parse the box's fields and child boxes if any.
 long getAvgBitRate()
           
 int getChannelLayout()
           
protected  void getContent(ByteBuffer byteBuffer)
          Write the box's content into the given ByteBuffer.
protected  long getContentSize()
          Get the box's content size without its header.
 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.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
 

Constructor Detail

DTSSpecificBox

public DTSSpecificBox()
Method Detail

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.