unrarsrc  6.1.7
About: unrar extracts, views and tests the contents of archives created with the RAR archiver.
  Fossies Dox: unrarsrc-6.1.7.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

coder.hpp
Go to the documentation of this file.
1/****************************************************************************
2 * Contents: 'Carryless rangecoder' by Dmitry Subbotin *
3 ****************************************************************************/
4
5
7{
8 public:
10 inline int GetCurrentCount();
11 inline uint GetCurrentShiftCount(uint SHIFT);
12 inline void Decode();
13 inline void PutChar(unsigned int c);
14 inline unsigned int GetChar();
15
17 struct SUBRANGE
18 {
21
23};
struct RangeCoder::SUBRANGE SubRange
int GetCurrentCount()
Definition: coder.cpp:32
void PutChar(unsigned int c)
uint low
Definition: coder.hpp:16
void Decode()
Definition: coder.cpp:44
uint code
Definition: coder.hpp:16
uint GetCurrentShiftCount(uint SHIFT)
Definition: coder.cpp:38
Unpack * UnpackRead
Definition: coder.hpp:22
uint range
Definition: coder.hpp:16
void InitDecoder(Unpack *UnpackRead)
Definition: coder.cpp:9
unsigned int GetChar()
Definition: coder.cpp:3
unsigned int uint
Definition: rartypes.hpp:8