Methods Summary |
---|
public void | _parseDetails(java.nio.ByteBuffer content)
DTSSamplingFrequency = IsoTypeReader.readUInt32(content);
maxBitRate = IsoTypeReader.readUInt32(content);
avgBitRate = IsoTypeReader.readUInt32(content);
pcmSampleDepth = IsoTypeReader.readUInt8(content);
BitReaderBuffer brb = new BitReaderBuffer(content);
frameDuration = brb.readBits(2);
streamConstruction = brb.readBits(5);
coreLFEPresent = brb.readBits(1);
coreLayout = brb.readBits(6);
coreSize = brb.readBits(14);
stereoDownmix = brb.readBits(1);
representationType = brb.readBits(3);
channelLayout = brb.readBits(16);
multiAssetFlag = brb.readBits(1);
LBRDurationMod = brb.readBits(1);
reservedBoxPresent = brb.readBits(1);
reserved = brb.readBits(5);
|
public long | getAvgBitRate()
return avgBitRate;
|
public int | getChannelLayout()
return channelLayout;
|
protected void | getContent(java.nio.ByteBuffer byteBuffer)
IsoTypeWriter.writeUInt32(byteBuffer, DTSSamplingFrequency);
IsoTypeWriter.writeUInt32(byteBuffer, maxBitRate);
IsoTypeWriter.writeUInt32(byteBuffer, avgBitRate);
IsoTypeWriter.writeUInt8(byteBuffer, pcmSampleDepth);
BitWriterBuffer bwb = new BitWriterBuffer(byteBuffer);
bwb.writeBits(frameDuration, 2);
bwb.writeBits(streamConstruction, 5);
bwb.writeBits(coreLFEPresent, 1);
bwb.writeBits(coreLayout, 6);
bwb.writeBits(coreSize, 14);
bwb.writeBits(stereoDownmix, 1);
bwb.writeBits(representationType, 3);
bwb.writeBits(channelLayout, 16);
bwb.writeBits(multiAssetFlag, 1);
bwb.writeBits(LBRDurationMod, 1);
bwb.writeBits(reservedBoxPresent, 1);
bwb.writeBits(reserved, 5);
|
protected long | getContentSize()
return 20;
|
public int | getCoreLFEPresent()
return coreLFEPresent;
|
public int | getCoreLayout()
return coreLayout;
|
public int | getCoreSize()
return coreSize;
|
public long | getDTSSamplingFrequency()
return DTSSamplingFrequency;
|
public int | getFrameDuration()
return frameDuration;
|
public int | getLBRDurationMod()
return LBRDurationMod;
|
public long | getMaxBitRate()
return maxBitRate;
|
public int | getMultiAssetFlag()
return multiAssetFlag;
|
public int | getPcmSampleDepth()
return pcmSampleDepth;
|
public int | getRepresentationType()
return representationType;
|
public int | getReserved()
return reserved;
|
public int | getReservedBoxPresent()
return reservedBoxPresent;
|
public int | getStereoDownmix()
return stereoDownmix;
|
public int | getStreamConstruction()
return streamConstruction;
|
public void | setAvgBitRate(long avgBitRate)
this.avgBitRate = avgBitRate;
|
public void | setChannelLayout(int channelLayout)
this.channelLayout = channelLayout;
|
public void | setCoreLFEPresent(int coreLFEPresent)
this.coreLFEPresent = coreLFEPresent;
|
public void | setCoreLayout(int coreLayout)
this.coreLayout = coreLayout;
|
public void | setCoreSize(int coreSize)
this.coreSize = coreSize;
|
public void | setDTSSamplingFrequency(long DTSSamplingFrequency)
this.DTSSamplingFrequency = DTSSamplingFrequency;
|
public void | setFrameDuration(int frameDuration)
this.frameDuration = frameDuration;
|
public void | setLBRDurationMod(int LBRDurationMod)
this.LBRDurationMod = LBRDurationMod;
|
public void | setMaxBitRate(long maxBitRate)
this.maxBitRate = maxBitRate;
|
public void | setMultiAssetFlag(int multiAssetFlag)
this.multiAssetFlag = multiAssetFlag;
|
public void | setPcmSampleDepth(int pcmSampleDepth)
this.pcmSampleDepth = pcmSampleDepth;
|
public void | setRepresentationType(int representationType)
this.representationType = representationType;
|
public void | setReserved(int reserved)
this.reserved = reserved;
|
public void | setReservedBoxPresent(int reservedBoxPresent)
this.reservedBoxPresent = reservedBoxPresent;
|
public void | setStereoDownmix(int stereoDownmix)
this.stereoDownmix = stereoDownmix;
|
public void | setStreamConstruction(int streamConstruction)
this.streamConstruction = streamConstruction;
|