This commit is contained in:
Igor Pavlov
2016-10-05 00:00:00 +00:00
committed by Kornel Lesiński
parent 232ce79574
commit 603abd5528
10 changed files with 55 additions and 25 deletions

View File

@@ -119,26 +119,29 @@ class CDecoder :
{
CLzOutWindow m_OutWindowStream;
CBitDecoder m_InBitStream;
UInt32 m_RepDistPtr;
UInt32 m_RepDists[kNumRepDists];
UInt32 m_LastLength;
bool m_IsSolid;
bool m_TablesOK;
bool m_AudioMode;
NHuffman::CDecoder<kNumHuffmanBits, kMainTableSize> m_MainDecoder;
NHuffman::CDecoder<kNumHuffmanBits, kDistTableSize> m_DistDecoder;
NHuffman::CDecoder<kNumHuffmanBits, kLenTableSize> m_LenDecoder;
NHuffman::CDecoder<kNumHuffmanBits, kMMTableSize> m_MMDecoders[NMultimedia::kNumChanelsMax];
NHuffman::CDecoder<kNumHuffmanBits, kLevelTableSize> m_LevelDecoder;
bool m_AudioMode;
UInt64 m_PackSize;
NMultimedia::CFilter2 m_MmFilter;
unsigned m_NumChannels;
NMultimedia::CFilter2 m_MmFilter;
UInt32 m_RepDists[kNumRepDists];
UInt32 m_RepDistPtr;
UInt32 m_LastLength;
Byte m_LastLevels[kMaxTableSize];
UInt64 m_PackSize;
bool m_IsSolid;
void InitStructures();
UInt32 ReadBits(unsigned numBits);