public class APEDecompress extends IAPEDecompress
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
m_bDecompressorInitialized |
protected boolean |
m_bErrorDecodingCurrentFrame |
protected boolean |
m_bIsRanged |
protected UnBitArrayState |
m_BitArrayStateX |
protected UnBitArrayState |
m_BitArrayStateY |
protected CircleBuffer |
m_cbFrameBuffer |
protected int |
m_nBlockAlign |
protected Crc32 |
m_nCRC |
protected int |
m_nCurrentBlock |
protected int |
m_nCurrentFrame |
protected int |
m_nCurrentFrameBufferBlock |
protected int |
m_nFinishBlock |
protected int |
m_nFrameBufferFinishedBlocks |
protected int |
m_nLastX |
protected int |
m_nRealFrame |
protected int |
m_nSpecialCodes |
protected int |
m_nStartBlock |
protected long |
m_nStoredCRC |
protected Prepare |
m_Prepare |
protected APEInfo |
m_spAPEInfo |
protected IPredictorDecompress |
m_spNewPredictorX |
protected IPredictorDecompress |
m_spNewPredictorY |
protected UnBitArrayBase |
m_spUnBitArray |
protected WaveFormat |
m_wfeInput |
| Constructor and Description |
|---|
APEDecompress(APEInfo pAPEInfo) |
APEDecompress(APEInfo pAPEInfo,
int nStartBlock) |
APEDecompress(APEInfo pAPEInfo,
int nStartBlock,
int nFinishBlock) |
CreateAPEInfo, CreateIAPEDecompress, CreateIAPEDecompressCore, CreateIAPEDecompressExprotected int m_nBlockAlign
protected int m_nCurrentFrame
protected int m_nRealFrame
protected int m_nStartBlock
protected int m_nFinishBlock
protected int m_nCurrentBlock
protected boolean m_bIsRanged
protected boolean m_bDecompressorInitialized
protected Prepare m_Prepare
protected WaveFormat m_wfeInput
protected Crc32 m_nCRC
protected long m_nStoredCRC
protected int m_nSpecialCodes
protected APEInfo m_spAPEInfo
protected UnBitArrayBase m_spUnBitArray
protected UnBitArrayState m_BitArrayStateX
protected UnBitArrayState m_BitArrayStateY
protected IPredictorDecompress m_spNewPredictorX
protected IPredictorDecompress m_spNewPredictorY
protected int m_nLastX
protected boolean m_bErrorDecodingCurrentFrame
protected int m_nCurrentFrameBufferBlock
protected int m_nFrameBufferFinishedBlocks
protected CircleBuffer m_cbFrameBuffer
public APEDecompress(APEInfo pAPEInfo)
public APEDecompress(APEInfo pAPEInfo, int nStartBlock)
public APEDecompress(APEInfo pAPEInfo, int nStartBlock, int nFinishBlock)
public int GetData(byte[] pBuffer,
int nBlocks)
throws IOException
GetData in class IAPEDecompressIOExceptionpublic void Seek(int nBlockOffset)
throws IOException
Seek in class IAPEDecompressIOExceptionpublic int getApeInfoDecompressCurrentBlock()
IAPEDecompressgetApeInfoDecompressCurrentBlock in class IAPEDecompresspublic int getApeInfoDecompressCurrentMS()
getApeInfoDecompressCurrentMS in class IAPEDecompresspublic int getApeInfoDecompressTotalBlocks()
getApeInfoDecompressTotalBlocks in class IAPEDecompresspublic int getApeInfoDecompressLengthMS()
getApeInfoDecompressLengthMS in class IAPEDecompresspublic int getApeInfoDecompressCurrentBitRate()
throws IOException
getApeInfoDecompressCurrentBitRate in class IAPEDecompressIOExceptionpublic int getApeInfoDecompressAverageBitrate()
throws IOException
getApeInfoDecompressAverageBitrate in class IAPEDecompressIOExceptionpublic int getApeInfoWavHeaderBytes()
getApeInfoWavHeaderBytes in class IAPEDecompresspublic byte[] getApeInfoWavHeaderData(int nMaxBytes)
getApeInfoWavHeaderData in class IAPEDecompresspublic int getApeInfoWavTerminatingBytes()
getApeInfoWavTerminatingBytes in class IAPEDecompresspublic byte[] getApeInfoWavTerminatingData(int nMaxBytes)
throws IOException
getApeInfoWavTerminatingData in class IAPEDecompressIOExceptionpublic WaveFormat getApeInfoWaveFormatEx()
getApeInfoWaveFormatEx in class IAPEDecompresspublic File getApeInfoIoSource()
getApeInfoIoSource in class IAPEDecompresspublic int getApeInfoBlocksPerFrame()
getApeInfoBlocksPerFrame in class IAPEDecompresspublic int getApeInfoFileVersion()
getApeInfoFileVersion in class IAPEDecompresspublic int getApeInfoCompressionLevel()
getApeInfoCompressionLevel in class IAPEDecompresspublic int getApeInfoFormatFlags()
getApeInfoFormatFlags in class IAPEDecompresspublic int getApeInfoSampleRate()
getApeInfoSampleRate in class IAPEDecompresspublic int getApeInfoBitsPerSample()
getApeInfoBitsPerSample in class IAPEDecompresspublic int getApeInfoBytesPerSample()
getApeInfoBytesPerSample in class IAPEDecompresspublic int getApeInfoChannels()
getApeInfoChannels in class IAPEDecompresspublic int getApeInfoBlockAlign()
getApeInfoBlockAlign in class IAPEDecompresspublic int getApeInfoFinalFrameBlocks()
getApeInfoFinalFrameBlocks in class IAPEDecompresspublic int getApeInfoTotalFrames()
getApeInfoTotalFrames in class IAPEDecompresspublic int getApeInfoWavDataBytes()
getApeInfoWavDataBytes in class IAPEDecompresspublic int getApeInfoWavTotalBytes()
getApeInfoWavTotalBytes in class IAPEDecompresspublic int getApeInfoApeTotalBytes()
getApeInfoApeTotalBytes in class IAPEDecompresspublic int getApeInfoTotalBlocks()
getApeInfoTotalBlocks in class IAPEDecompresspublic int getApeInfoLengthMs()
getApeInfoLengthMs in class IAPEDecompresspublic int getApeInfoAverageBitrate()
getApeInfoAverageBitrate in class IAPEDecompresspublic int getApeInfoSeekByte(int nFrame)
getApeInfoSeekByte in class IAPEDecompresspublic int getApeInfoFrameBytes(int nFrame)
throws IOException
getApeInfoFrameBytes in class IAPEDecompressIOExceptionpublic int getApeInfoFrameBlocks(int nFrame)
getApeInfoFrameBlocks in class IAPEDecompresspublic int getApeInfoFrameBitrate(int nFrame)
throws IOException
getApeInfoFrameBitrate in class IAPEDecompressIOExceptionpublic int getApeInfoDecompressedBitrate()
getApeInfoDecompressedBitrate in class IAPEDecompresspublic int getApeInfoPeakLevel()
getApeInfoPeakLevel in class IAPEDecompresspublic int getApeInfoSeekBit(int nFrame)
getApeInfoSeekBit in class IAPEDecompresspublic APETag getApeInfoTag()
getApeInfoTag in class IAPEDecompresspublic APEFileInfo getApeInfoInternalInfo()
getApeInfoInternalInfo in class IAPEDecompresspublic void SeekToFrame(int nFrameIndex)
throws IOException
IOExceptionprotected void DecodeBlocksToFrameBuffer(int nBlocks)
throws IOException
IOExceptionprotected void FillFrameBuffer()
throws IOException
IOExceptionprotected void startFrame()
throws IOException
IOExceptionprotected void EndFrame()
protected void InitializeDecompressor()
throws IOException
IOExceptionCopyright © 2014. All rights reserved.