#include "bzlib_private.h"
Go to the source code of this file.
Defines | |
#define | bsNEEDW(nz) |
#define | BZ_GREATER_ICOST 15 |
#define | BZ_ITAH(nn) |
#define | BZ_ITER(nn) |
#define | BZ_ITUR(nn) s->rfreq[bt][ mtfv[gs+(nn)] ]++ |
#define | BZ_LESSER_ICOST 0 |
Functions | |
static void | bsFinishWrite (EState *s) |
static void | bsPutUChar (EState *s, UChar c) |
static void | bsPutUInt32 (EState *s, UInt32 u) |
static __inline__ void | bsW (EState *s, Int32 n, UInt32 v) |
void | BZ2_bsInitWrite (EState *s) |
void | BZ2_compressBlock (EState *s, Bool is_last_block) |
static void | generateMTFValues (EState *s) |
static void | makeMaps_e (EState *s) |
static void | sendMTFValues (EState *s) |
#define bsNEEDW | ( | nz | ) |
#define BZ_GREATER_ICOST 15 |
Definition at line 236 of file compress.c.
#define BZ_ITAH | ( | nn | ) |
mtfv_i = mtfv[gs+(nn)]; \ bsW ( s, \ s_len_sel_selCtr[mtfv_i], \ s_code_sel_selCtr[mtfv_i] )
#define BZ_ITER | ( | nn | ) |
#define BZ_LESSER_ICOST 0 |
Definition at line 235 of file compress.c.
static void bsFinishWrite | ( | EState * | s | ) | [static] |
Definition at line 46 of file compress.c.
static void bsPutUChar | ( | EState * | s, |
UChar | c | ||
) | [static] |
Definition at line 94 of file compress.c.
static void bsPutUInt32 | ( | EState * | s, |
UInt32 | u | ||
) | [static] |
Definition at line 83 of file compress.c.
static __inline__ void bsW | ( | EState * | s, |
Int32 | n, | ||
UInt32 | v | ||
) | [static] |
Definition at line 73 of file compress.c.
void BZ2_bsInitWrite | ( | EState * | s | ) |
Definition at line 37 of file compress.c.
void BZ2_compressBlock | ( | EState * | s, |
Bool | is_last_block | ||
) |
Definition at line 602 of file compress.c.
static void generateMTFValues | ( | EState * | s | ) | [static] |
Definition at line 120 of file compress.c.
static void makeMaps_e | ( | EState * | s | ) | [static] |
Definition at line 106 of file compress.c.
static void sendMTFValues | ( | EState * | s | ) | [static] |
Definition at line 239 of file compress.c.