Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

context.h File Reference

Definition of Context class. More...

#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...


Detailed Description

Definition of Context class.

This file contains the definition of Context class.

Definition in file context.h.


Define Documentation

#define MOST_PROB_AT_END   1
 

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.

Definition at line 95 of file context.h.


Generated on Wed Feb 5 10:43:03 2003 for Exalt by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002