|
Context algorithm
Semi-predictive context algorithm implementation
|
Go to the source code of this file.
Functions | |
| static int | get3ByteRepresentation (const Uint num, const Uint alphasize) |
| int | getSeeStateEncoder (fsmTree_t tree, Uint allCount, Uint pos, Uint numMasked, const Uchar *text, Uint alphasize) |
| Returns the contents of the SEE table for the encoder. More... | |
| int | getSeeStateDecoder (decoderTree_t tree, Uint allCount, Uint pos, Uint numMasked, const Uchar *text, Uint alphasize) |
| Returns the contents of the SEE table for the encoder. More... | |
| void | updateSee (Uint state, BOOL escape, Uint alphasize) |
| Updates the SEE table. More... | |
| void | initSee () |
| Initalizes the SEE table. More... | |
| int getSeeStateEncoder | ( | fsmTree_t | tree, |
| Uint | allCount, | ||
| Uint | pos, | ||
| Uint | numMasked, | ||
| const Uchar * | text, | ||
| Uint | alphasize | ||
| ) |
Returns the contents of the SEE table for the encoder.
| [in] | tree | current node of the tree |
| [in] | allCount | total number of symbols observed in this state |
| [in] | pos | position of the current character in the input text |
| [in] | numMasked | number of masked characters in the current state |
| [in] | text | input text |
| [in] | alphasize | text alphabet size |