#include "CSource.h"Include dependency graph for Coder.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | ARI_ENC_NORMALIZE(stream) |
| #define | ARI_FLUSH_ENCODER(stream) |
| #define | ARI_INIT_DECODER(stream) |
| #define | ARI_DEC_NORMALIZE(stream) |
Enumerations | |
| enum | { TOP = 1 << 24, BOT = 1 << 15 } |
Functions | |
| void | ariInitEncoder () |
| void | ariEncodeSymbol () |
| void | ariShiftEncodeSymbol (UINT SHIFT) |
| UINT | ariGetCurrentCount () |
| UINT | ariGetCurrentShiftCount (UINT SHIFT) |
| void | ariRemoveSubrange () |
Variables | |
| static struct SUBRANGE | SubRange |
| static DWORD | low |
| static DWORD | code |
| static DWORD | range |
|
|
Value: { \
while ((low ^ (low+range)) < TOP || range < BOT && \
((range= -low & (BOT-1)),1)) { \
code=(code << 8) | _PPMD_D_GETC(stream); \
range <<= 8; low <<= 8; \
} \
}
Definition at line 96 of file Coder.h. Referenced by DecodeFile(). |
|
|
Value: { \
while ((low ^ (low+range)) < TOP || range < BOT && \
((range= -low & (BOT-1)),1)) { \
_PPMD_E_PUTC(low >> 24,stream); \
range <<= 8; low <<= 8; \
} \
}
Definition at line 69 of file Coder.h. Referenced by EncodeFile(). |
|
|
Value: Definition at line 86 of file Coder.h. Referenced by EncodeFile(). |
|
|
Value: { \
low=code=0; range=DWORD(-1); \
for (UINT i=0;i < 4;i++) \
code=(code << 8) | _PPMD_D_GETC(stream); \
}
Definition at line 91 of file Coder.h. Referenced by DecodeFile(). |
|
|
|
|
|
Definition at line 76 of file Coder.h. References SUBRANGE::HighCount, low, SUBRANGE::LowCount, range, SUBRANGE::scale, and SubRange. Referenced by EncodeFile(). |
|
|
Definition at line 103 of file Coder.h. References code, low, range, SUBRANGE::scale, and SubRange. Referenced by PPM_CONTEXT::decodeSymbol1(), and PPM_CONTEXT::decodeSymbol2(). |
|
|
Definition at line 106 of file Coder.h. References code, low, and range. Referenced by PPM_CONTEXT::decodeBinSymbol(). |
|
|
Definition at line 65 of file Coder.h. Referenced by EncodeFile(). |
|
|
Definition at line 109 of file Coder.h. References SUBRANGE::HighCount, low, SUBRANGE::LowCount, range, and SubRange. Referenced by DecodeFile(). |
|
|
Definition at line 81 of file Coder.h. References SUBRANGE::HighCount, low, SUBRANGE::LowCount, range, and SubRange. Referenced by EncodeFile(). |
|
|
|
|
|
|
1.4.2