mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 08:25:45 -04:00
Initial community commit
This commit is contained in:
23
Src/external_dependencies/openmpt-trunk/include/unrar/coder.hpp
vendored
Normal file
23
Src/external_dependencies/openmpt-trunk/include/unrar/coder.hpp
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
/****************************************************************************
|
||||
* Contents: 'Carryless rangecoder' by Dmitry Subbotin *
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
class RangeCoder
|
||||
{
|
||||
public:
|
||||
void InitDecoder(Unpack *UnpackRead);
|
||||
inline int GetCurrentCount();
|
||||
inline uint GetCurrentShiftCount(uint SHIFT);
|
||||
inline void Decode();
|
||||
inline void PutChar(unsigned int c);
|
||||
inline unsigned int GetChar();
|
||||
|
||||
uint low, code, range;
|
||||
struct SUBRANGE
|
||||
{
|
||||
uint LowCount, HighCount, scale;
|
||||
} SubRange;
|
||||
|
||||
Unpack *UnpackRead;
|
||||
};
|
Reference in New Issue
Block a user