#include <cstdlib>
#include "defs.h"
#include "contextbase.h"
Go to the source code of this file.
Compounds | |
class | Context |
Context structure for arithmetic coding. More... | |
Defines | |
#define | BACK(i) ((i) & ((i) - 1)) |
Add the end '1' bit of a binary number using two's complement arithmetic. | |
#define | FORW(i) ((i) + ((i) & - (i))) |
Remove the end '1' bit of a binary number using two's complement arithmetic. | |
#define | MAX_FREQUENCY ((FreqValue) 1 << F_BITS) |
Maximum frequency value. | |
#define | MIN_INCR 1 |
Minimum increment value. | |
#define | MOST_PROB_AT_END 1 |
Put most probable symbol at end of range (for more accurate approximations). More... |
This file contains the definition of Context class.
Definition in file context.h.
|
Put most probable symbol at end of range (for more accurate approximations).
This option influences the compressed data, but is not recorded in the data stream. It is for experimental purposes and it is recommended that it is left #defined. |